#include <XPath2MemoryManager.hpp>
Inheritance diagram for XPath2MemoryManager:
Public Member Functions | |
virtual | ~XPath2MemoryManager () |
virtual void | reset ()=0 |
Use with extreme caution! | |
virtual const XMLCh * | getPooledString (const XMLCh *src)=0 |
Returns a copy of the given string. | |
virtual const XMLCh * | getPooledString (const XMLCh *src, unsigned int length)=0 |
virtual const XMLCh * | getPooledString (const char *src)=0 |
virtual void * | allocate (size_t numElements)=0 |
This method allocates requested memory. | |
virtual void | deallocate (void *p)=0 |
This method deallocates memory. | |
virtual Collation * | createCollation (CollationHelper *helper)=0 |
create a collation | |
virtual XQillaNSResolver * | createNSResolver (xercesc::DOMNode *resolverNode)=0 |
create a resolver | |
virtual VariableTypeStore * | createVariableTypeStore ()=0 |
create a store for variables | |
virtual ATDecimalOrDerived * | createInteger (int value)=0 |
create a ATDecimalOrDerived for the given integer | |
virtual void | dumpStatistics () const=0 |
virtual size_t | getAllocatedObjectCount () const=0 |
virtual size_t | getTotalAllocatedMemory () const=0 |
virtual const StringPool * | getStringPool () const=0 |
virtual XPath2MemoryManager::~XPath2MemoryManager | ( | ) | [inline, virtual] |
virtual void XPath2MemoryManager::reset | ( | ) | [pure virtual] |
Use with extreme caution!
virtual const XMLCh* XPath2MemoryManager::getPooledString | ( | const XMLCh * | src | ) | [pure virtual] |
Returns a copy of the given string.
virtual const XMLCh* XPath2MemoryManager::getPooledString | ( | const XMLCh * | src, | |
unsigned int | length | |||
) | [pure virtual] |
virtual const XMLCh* XPath2MemoryManager::getPooledString | ( | const char * | src | ) | [pure virtual] |
virtual void* XPath2MemoryManager::allocate | ( | size_t | numElements | ) | [pure virtual] |
This method allocates requested memory.
size | The requested memory size |
Implements xercesc::MemoryManager.
virtual void XPath2MemoryManager::deallocate | ( | void * | p | ) | [pure virtual] |
This method deallocates memory.
p | The pointer to the allocated memory to be deleted |
Implements xercesc::MemoryManager.
virtual Collation* XPath2MemoryManager::createCollation | ( | CollationHelper * | helper | ) | [pure virtual] |
create a collation
virtual XQillaNSResolver* XPath2MemoryManager::createNSResolver | ( | xercesc::DOMNode * | resolverNode | ) | [pure virtual] |
create a resolver
virtual VariableTypeStore* XPath2MemoryManager::createVariableTypeStore | ( | ) | [pure virtual] |
create a store for variables
virtual ATDecimalOrDerived* XPath2MemoryManager::createInteger | ( | int | value | ) | [pure virtual] |
create a ATDecimalOrDerived for the given integer
virtual void XPath2MemoryManager::dumpStatistics | ( | ) | const [pure virtual] |
virtual size_t XPath2MemoryManager::getAllocatedObjectCount | ( | ) | const [pure virtual] |
virtual size_t XPath2MemoryManager::getTotalAllocatedMemory | ( | ) | const [pure virtual] |
virtual const StringPool* XPath2MemoryManager::getStringPool | ( | ) | const [pure virtual] |