19 #if !defined(XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133) 20 #define XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133 37 XALAN_CPP_NAMESPACE_BEGIN
57 MemoryManager& theManager,
58 size_type theBlockCount);
77 XalanFileLoc lineNumber,
78 XalanFileLoc columnNumber,
104 return m_allocator.destroyObject(theObject);
113 return m_allocator.ownsObject(theObject);
133 return m_allocator.getBlockCount();
145 return m_allocator.getBlockSize();
157 ArenaAllocatorType m_allocator;
162 XALAN_CPP_NAMESPACE_END
166 #endif // XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133 size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ReusableArenaBlockType::size_type size_type
ReusableArenaAllocator< data_type > ArenaAllocatorType
void reset()
Delete all objects from the allocator.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
ArenaAllocatorType::size_type size_type
#define XALAN_XSLT_EXPORT
Simple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly...
bool destroy(data_type *theObject)
Destroy an instance previously created.
This class represents the base stylesheet or an "import" stylesheet.