Google
Web alhem.net

RefCount.h

Go to the documentation of this file.
00001 #ifndef _CGI_REFCOUNT_H
00002 #define _CGI_REFCOUNT_H
00003 
00004 
00005 namespace Cgi
00006 {
00007 
00008 
00009 class RefCount
00010 {
00011 public:
00012         RefCount();
00013         ~RefCount();
00014 
00015         int Increase();
00016         int Decrease();
00017 
00018 private:
00019         RefCount(const RefCount& ) {} // copy constructor
00020         RefCount& operator=(const RefCount& ) { return *this; } // assignment operator
00021         //
00022         int m_count;
00023 };
00024 
00025 
00026 } // namespace Cgi
00027 
00028 
00029 #endif // _CGI_REFCOUNT_H

Generated for cgi++ by doxygen 1.3.7

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