void reset()
Delete all objects from allocator.
ArenaAllocatorType::size_type size_type
ObjectType * create(const XalanDOMString &theData, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
Create an instance.
XalanSourceTreeTextIWSAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ObjectType::IndexType IndexType
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
~XalanSourceTreeTextIWSAllocator()
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ArenaAllocator< ObjectType > ArenaAllocatorType
XalanSourceTreeTextIWS ObjectType