19#if !defined(XERCESATTRWRAPPERALLOCATOR_INCLUDE_GUARD_12455133)
20#define XERCESATTRWRAPPERALLOCATOR_INCLUDE_GUARD_12455133
46#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
94 return m_allocator.getBlockCount();
105 return m_allocator.getBlockSize();
117 ArenaAllocatorType m_allocator;
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
#define XALAN_XERCESPARSERLIAISON_EXPORT
XercesAttrWrapper ObjectType
void reset()
Delete all objects from allocator.
ArenaAllocator< ObjectType > ArenaAllocatorType
ArenaAllocatorType::size_type size_type
~XercesAttrWrapperAllocator()
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ObjectType * create(const DOMAttrType *theXercesAttr, const XercesWrapperNavigator &theNavigator)
Create a XercesAttrWrapper instance.
XercesAttrWrapperAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
xercesc::DOMAttr DOMAttrType