Newton Dynamics  4.00
dUpHeap< OBJECT, KEY > Class Template Reference
Inheritance diagram for dUpHeap< OBJECT, KEY >:
dHeapBase< OBJECT, KEY >

Public Member Functions

 dUpHeap (dInt32 maxElements)
 
 dUpHeap (const void *const buffer, dInt32 sizeInBytes)
 
void Pop ()
 
void Push (OBJECT &obj, KEY key)
 
void Sort ()
 
void Remove (dInt32 Index)
 
bool SanityCheck ()
 
- Public Member Functions inherited from dHeapBase< OBJECT, KEY >
void Flush ()
 
KEY MaxValue () const
 
KEY Value (dInt32 i=0) const
 
dInt32 GetCount () const
 
dInt32 GetMaxCount () const
 
const OBJECT & operator[] (dInt32 i) const
 
dInt32 Find (OBJECT &obj)
 
dInt32 Find (KEY key)
 

Additional Inherited Members

- Public Attributes inherited from dHeapBase< OBJECT, KEY >
RECORDm_pool
 
dInt32 m_curCount
 
dInt32 m_maxCount
 
bool m_bufferIsOwnned
 
- Protected Member Functions inherited from dHeapBase< OBJECT, KEY >
 dHeapBase (dInt32 maxElements)
 
 dHeapBase (const void *const buffer, dInt32 sizeInBytes)