19#if !defined(XERCESELEMENTWRAPPERALLOCATOR_INCLUDE_GUARD_12455133)
20#define XERCESELEMENTWRAPPERALLOCATOR_INCLUDE_GUARD_12455133
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
95 return m_allocator.getBlockCount();
106 return m_allocator.getBlockSize();
119 ArenaAllocatorType m_allocator;
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
#define XALAN_XERCESPARSERLIAISON_EXPORT
XercesElementWrapper ObjectType
~XercesElementWrapperAllocator()
ArenaAllocatorType::size_type size_type
void reset()
Delete all objects from allocator.
ObjectType * create(const DOMElementType *theXercesElement, const XercesWrapperNavigator &theNavigator)
Create a XercesElementWrapper instance.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ArenaAllocator< ObjectType > ArenaAllocatorType
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XercesElementWrapperAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
xercesc::DOMElement DOMElementType