ScummVM API documentation
Grim::PoolObject< T >::Pool Class Reference

Classes

class  Iterator
 

Public Types

typedef Iterator< typename Common::HashMap< int32, T * >::iterator, T * > iterator
 
typedef Iterator< typename Common::HashMap< int32, T * >::const_iterator, T *const > const_iterator
 

Public Member Functions

void addObject (T *obj)
 
void removeObject (int32 id)
 
T * getObject (int32 id)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
int getSize () const
 
void deleteObjects ()
 
void saveObjects (SaveGame *save)
 
void restoreObjects (SaveGame *save)
 

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