ScummVM API documentation
asCSymbolTable< T > Class Template Reference

Public Types

typedef asCSymbolTableIterator< T, T > iterator
 
typedef asCSymbolTableIterator< T, const T > const_iterator
 

Public Member Functions

 asCSymbolTable (asUINT initialCapacity=0)
 
int GetFirstIndex (const asSNameSpace *ns, const asCString &name, const asIFilter &comparator) const
 
int GetFirstIndex (const asSNameSpace *ns, const asCString &name) const
 
int GetLastIndex () const
 
int GetIndex (const T *) const
 
T * GetFirst (const asSNameSpace *ns, const asCString &name, const asIFilter &comparator) const
 
T * GetFirst (const asSNameSpace *ns, const asCString &name)
 
const T * GetFirst (const asSNameSpace *ns, const asCString &name) const
 
T * Get (asUINT index)
 
const T * Get (asUINT index) const
 
T * GetLast ()
 
const T * GetLast () const
 
const asCArray< asUINT > & GetIndexes (const asSNameSpace *ns, const asCString &name) const
 
asUINT Put (T *entry)
 
asUINT GetSize () const
 
void SwapWith (asCSymbolTable< T > &other)
 
void Clear ()
 
bool Erase (asUINT idx)
 
void Allocate (asUINT elem_cnt, bool keep_data)
 
iterator List ()
 
const_iterator List () const
 

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