ScummVM API documentation
Grim::PoolObject< T > Class Template Reference
Inheritance diagram for Grim::PoolObject< T >:
Grim::PoolObjectBase

Classes

class  Pool
 
class  Ptr
 Smart pointer class This class wraps a C pointer to T, subclass of PoolObject, which gets reset to NULL as soon as the object is deleted, e.g by Pool::restoreObjects(). Its operator overloads allows the Ptr class to be used as if it was a raw C pointer. More...
 

Public Member Functions

void setId (int id)
 
int getId () const override
 
int32 getTag () const override
 

Static Public Member Functions

static PoolgetPool ()
 

Static Protected Member Functions

static void saveStaticState (SaveGame *state)
 
static void restoreStaticState (SaveGame *state)
 

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