MoSync 3.3
MemoryMgr.h File Reference

Utility for heap resource tracking and debugging. More...

#include <ma.h>
#include <maheap.h>

Classes

class  MAPUtil::MemoryMgr
 Simple resource tracking class. More...

Namespaces

namespace  MAPUtil
 

MoSync slippy map utility classes.


Defines

#define newobject(type, obj)   ( obj )
#define deleteobject(obj)
#define deleteconstobject(obj)

Detailed Description

Utility for heap resource tracking and debugging.

Author:
Lars-Åke Vinberg

Define Documentation

#define newobject (   type,
  obj 
)    ( obj )
#define deleteobject (   obj)
Value:
{\
                if ( (obj) != NULL )\
                {\
                        delete (obj);\
                        (obj) = NULL;\
                }\
        }

Referenced by MAPUtil::Queue< T >::clear(), and MAPUtil::Queue< T >::~Queue().

#define deleteconstobject (   obj)
Value:
{\
                if ( (obj) != NULL )\
                {\
                        delete (obj);\
                }\
        }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines