Google
Web alhem.net

RefCount.cpp

Go to the documentation of this file.
00001 //#include <stdio.h>
00002 
00003 #include "RefCount.h"
00004 
00005 
00006 namespace Cgi
00007 {
00008 
00009 
00010 RefCount::RefCount() : m_count(1)
00011 {
00012 }
00013 
00014 
00015 RefCount::~RefCount()
00016 {
00017 }
00018 
00019 
00020 int RefCount::Increase()
00021 {
00022         return ++m_count;
00023 }
00024 
00025 
00026 int RefCount::Decrease()
00027 {
00028         return --m_count;
00029 }
00030 
00031 
00032 } // namespace Cgi
00033 
00034 

Generated for cgi++ by doxygen 1.3.7

Page, code, and content Copyright (C) 2004 by Anders Hedström