19 #if !defined(XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133) 20 #define XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133 57 MemoryManager& theManager,
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;
166 #endif // XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133 size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
This class represents the base stylesheet or an "import" stylesheet.
ArenaAllocatorType::size_type size_type
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaAllocator< data_type > ArenaAllocatorType
#define XALAN_XSLT_EXPORT
ReusableArenaBlockType::size_type size_type
void reset()
Delete all objects from the allocator.
bool destroy(data_type *theObject)
Destroy an instance previously created.