SourceForge.net Logo
Public Member Functions | List of all members
XPath2MemoryManager Class Referenceabstract

#include <XPath2MemoryManager.hpp>

Inheritance diagram for XPath2MemoryManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~XPath2MemoryManager ()
 
virtual void reset ()=0
 Use with extreme caution! More...
 
virtual const XMLCh * getPooledString (const XMLCh *src)=0
 Returns a copy of the given string. More...
 
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
 
virtual void deallocate (void *p)=0
 This method deallocates memory. More...
 
virtual CollationcreateCollation (CollationHelper *helper)=0
 create a collation More...
 
virtual XQillaNSResolver * createNSResolver (xercesc::DOMNode *resolverNode)=0
 create a resolver More...
 
virtual VariableTypeStorecreateVariableTypeStore ()=0
 create a store for variables More...
 
virtual ATDecimalOrDerivedcreateInteger (int value)=0
 create a ATDecimalOrDerived for the given integer More...
 
virtual void dumpStatistics () const =0
 
virtual size_t getAllocatedObjectCount () const =0
 
virtual size_t getTotalAllocatedMemory () const =0
 
virtual const StringPoolgetStringPool () const =0
 
- Public Member Functions inherited from xercesc::MemoryManager
virtual MemoryManagergetExceptionMemoryManager ()=0
 This method is called to obtain the memory manager that should be used to allocate memory used in exceptions. More...
 
virtual ~MemoryManager ()
 Default destructor. More...
 
virtual void * allocate (XMLSize_t size)=0
 This method allocates requested memory. More...
 

Additional Inherited Members

- Protected Member Functions inherited from xercesc::MemoryManager
 MemoryManager ()
 Protected default constructor. More...
 

Constructor & Destructor Documentation

virtual XPath2MemoryManager::~XPath2MemoryManager ( )
inlinevirtual

Member Function Documentation

virtual void* XPath2MemoryManager::allocate ( size_t  numElements)
pure virtual
virtual Collation* XPath2MemoryManager::createCollation ( CollationHelper *  helper)
pure virtual

create a collation

virtual ATDecimalOrDerived* XPath2MemoryManager::createInteger ( int  value)
pure virtual

create a ATDecimalOrDerived for the given integer

virtual XQillaNSResolver* XPath2MemoryManager::createNSResolver ( xercesc::DOMNode resolverNode)
pure virtual

create a resolver

virtual VariableTypeStore* XPath2MemoryManager::createVariableTypeStore ( )
pure virtual

create a store for variables

virtual void XPath2MemoryManager::deallocate ( void *  p)
pure virtual

This method deallocates memory.

Parameters
pThe pointer to the allocated memory to be deleted

Implements xercesc::MemoryManager.

virtual void XPath2MemoryManager::dumpStatistics ( ) const
pure virtual
virtual size_t XPath2MemoryManager::getAllocatedObjectCount ( ) const
pure virtual
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 const StringPool* XPath2MemoryManager::getStringPool ( ) const
pure virtual
virtual size_t XPath2MemoryManager::getTotalAllocatedMemory ( ) const
pure virtual
virtual void XPath2MemoryManager::reset ( )
pure virtual

Use with extreme caution!


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