#include <LDOM_MemManager.hxx>
Public Member Functions | |
Standard_EXPORT | LDOM_MemManager (const Standard_Integer aBlockSize) |
Standard_EXPORT | ~LDOM_MemManager () |
Standard_EXPORT void * | Allocate (const Standard_Integer aSize) |
const char * | HashedAllocate (const char *aString, const Standard_Integer theLen, Standard_Integer &theHash) |
void | HashedAllocate (const char *aString, const Standard_Integer theLen, LDOMBasicString &theResult) |
LDOM_Document | Doc () const |
const LDOM_MemManager & | Self () const |
const LDOM_BasicElement * | RootElement () const |
Static Public Member Functions | |
static Standard_Integer | Hash (const char *theString, const Standard_Integer theLen) |
static Standard_Boolean | CompareStrings (const char *theString, const Standard_Integer theHashValue, const char *theHashedStr) |
Private Member Functions | |
LDOM_MemManager (const LDOM_MemManager &theOther) | |
LDOM_MemManager & | operator= (const LDOM_MemManager &theOther) |
Private Attributes | |
const LDOM_BasicElement * | myRootElement |
MemBlock * | myFirstBlock |
MemBlock * | myFirstWithoutRoom |
Standard_Integer | myBlockSize |
HashTable * | myHashTable |
Data Structures | |
class | HashTable |
class | MemBlock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|