17 #if !defined(XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133
35 XALAN_CPP_NAMESPACE_BEGIN
100 return m_allocator.destroyObject(theObject);
109 return m_allocator.ownsObject(theObject);
129 return m_allocator.getBlockCount();
141 return m_allocator.getBlockSize();
153 ArenaAllocatorType m_allocator;
158 XALAN_CPP_NAMESPACE_END
162 #endif // XALANELEMEMPTYALLOCATOR_INCLUDE_GUARD_12455133
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
ReusableArenaBlockType::size_type size_type
Definition: ReusableArenaAllocator.hpp:43
ReusableArenaAllocator< data_type > ArenaAllocatorType
Definition: XalanElemEmptyAllocator.hpp:45
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
Definition: XalanElemEmptyAllocator.hpp:127
void reset()
Delete all objects from the allocator.
Definition: XalanElemEmptyAllocator.hpp:116
ElemEmpty data_type
Definition: XalanElemEmptyAllocator.hpp:43
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XalanElemEmptyAllocator.hpp:139
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
Definition: XalanElemEmptyAllocator.hpp:107
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
ArenaAllocatorType::size_type size_type
Definition: XalanElemEmptyAllocator.hpp:47
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
Simple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly...
Definition: ElemEmpty.hpp:38
Definition: XalanElemEmptyAllocator.hpp:39
Definition: XalanDOMString.hpp:42
bool destroy(data_type *theObject)
Destroy an instance previously created.
Definition: XalanElemEmptyAllocator.hpp:98
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84