Nugget
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
InstanceAllocator Class Reference

Public Types

enum  { kMultiplier = 16 }
 

Public Member Functions

 InstanceAllocator (const char *=NULL, uint8_t instanceId=0)
 
 InstanceAllocator (uint8_t instanceId)
 
 InstanceAllocator (const InstanceAllocator &x)
 
 InstanceAllocator (const InstanceAllocator &x, const char *)
 
InstanceAllocatoroperator= (const InstanceAllocator &x)
 
void * allocate (size_t n, int=0)
 
void * allocate (size_t n, size_t, size_t, int=0)
 
void deallocate (void *p, size_t)
 
const char * get_name ()
 
void set_name (const char *)
 

Static Public Member Functions

static void reset_all ()
 

Public Attributes

uint8_t mInstanceId
 
char mName [32]
 

Static Public Attributes

static int mMismatchCount = 0
 

The documentation for this class was generated from the following files: