ScummVM API documentation
dgTree< OBJECT, KEY > Class Template Reference

Classes

class  dgTreeNode
 
class  Iterator
 

Public Member Functions

void operator delete (void *const ptr, dgMemoryAllocator *const allocator)
 
void operator delete[] (void *const ptr, dgMemoryAllocator *const allocator)
 
void * operator new (size_t size, dgMemoryAllocator *const allocator)
 
void * operator new[] (size_t size, dgMemoryAllocator *const allocator)
 
void * operator new (size_t size)
 
void * operator new[] (size_t size)
 
void operator delete (void *const ptr)
 
void operator delete[] (void *const ptr)
 
 dgTree (dgMemoryAllocator *const allocator)
 
dgMemoryAllocatorGetAllocator () const
 
void SetAllocator (dgMemoryAllocator *const allocator)
 
 operator dgInt32 () const
 
dgInt32 GetCount () const
 
dgTreeNodeGetRoot () const
 
dgTreeNodeMinimum () const
 
dgTreeNodeMaximum () const
 
dgTreeNodeFind (KEY key) const
 
dgTreeNodeFindGreater (KEY key) const
 
dgTreeNodeFindGreaterEqual (KEY key) const
 
dgTreeNodeFindLessEqual (KEY key) const
 
dgTreeNodeGetNodeFromInfo (OBJECT &info) const
 
dgTreeNodeInsert (const OBJECT &element, KEY key, bool &elementWasInTree)
 
dgTreeNodeInsert (const OBJECT &element, KEY key)
 
dgTreeNodeInsert (dgTreeNode *const node, KEY key)
 
dgTreeNodeReplace (OBJECT &element, KEY key)
 
dgTreeNodeReplaceKey (KEY oldKey, KEY newKey)
 
dgTreeNodeReplaceKey (dgTreeNode *const node, KEY key)
 
void Remove (KEY key)
 
void Remove (dgTreeNode *const node)
 
void RemoveAll ()
 
void Unlink (dgTreeNode *const node)
 
void SwapInfo (dgTree &tree)
 
bool SanityCheck () const
 

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