base/zz_base.h

Go to the documentation of this file.
00001 /* libzz
00002  *
00003  * This program is distributed under the GNU General Public License, version 2.
00004  * A copy of this license is included with this source.
00005  *
00006  * Copyright 2000-2006, Toni Thomsson <toni@tonjac.org> 
00007 */
00008 
00009 #ifndef zz_base_h
00010 #define zz_base_h
00011 
00012 #include <zz_export.h>
00013 
00014 #ifdef _DEBUG
00015         
00016         #include <stddef.h>
00017         #include <malloc.h>
00018         #include <memory.h>
00019         #include "zz_allocmap.h"
00020         
00026         extern CzzAllocMap theAllocMap;
00027 
00028 #endif
00029 
00038 class ZZ_API CzzBase
00039 {
00040 public:
00041 
00045         CzzBase();
00046 
00047         virtual ~CzzBase();
00048 
00049 #ifdef _DEBUG
00050 
00051         
00058         void* operator new( size_t n );
00059         
00066         void* operator new[]( size_t n );
00067         
00075         void operator delete( void* p, size_t n );
00076 
00084         void operator delete[]( void* p, size_t n );
00085 
00086 #endif // _DEBUG
00087 
00088 };
00089 
00090 #endif
00091 

Generated on Thu Sep 21 21:45:41 2006 for tonjac.org MINI/C++ library by  doxygen 1.4.6-NO