#include <MemoryManager.hpp>
Inheritance diagram for xercesc::MemoryManager:
Public Member Functions | |
The pure virtual methods in this interface. | |
virtual void * | allocate (size_t size)=0 |
This method allocates requested memory. | |
virtual void | deallocate (void *p)=0 |
This method deallocates memory. |
This interface allows outside applications to plug in their own memory manager to be used by Xerces for memory allocation/deallocation.
virtual xercesc::MemoryManager::~MemoryManager | ( | ) | [inline, virtual] |
Default destructor.
xercesc::MemoryManager::MemoryManager | ( | ) | [inline, protected] |
Protected default constructor.
virtual xercesc::MemoryManager::~MemoryManager | ( | ) | [inline, virtual] |
Default destructor.
xercesc::MemoryManager::MemoryManager | ( | ) | [inline, protected] |
Protected default constructor.
virtual void* xercesc::MemoryManager::allocate | ( | size_t | size | ) | [pure virtual] |
This method allocates requested memory.
size | The requested memory size |
Implemented in XPath2MemoryManager.
virtual void xercesc::MemoryManager::deallocate | ( | void * | p | ) | [pure virtual] |
This method deallocates memory.
p | The pointer to the allocated memory to be deleted |
Implemented in XPath2MemoryManager.