19 #if !defined(XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133
47 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
63 MemoryManager& theManager,
64 size_type theBlockCount);
84 const XalanDOMChar* name,
86 XalanFileLoc lineNumber,
87 XalanFileLoc columnNumber);
95 return m_allocator.ownsObject(theObject);
115 return m_allocator.getBlockCount();
127 return m_allocator.getBlockSize();
139 ArenaAllocatorType m_allocator;
148 #endif // XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
ArenaAllocatorType::size_type size_type
xercesc::AttributeList AttributeListType
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
This class represents the base stylesheet or an "import" stylesheet.
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ElemLiteralResult data_type
#define XALAN_XSLT_EXPORT
ArenaAllocator< data_type > ArenaAllocatorType
void reset()
Delete all objects from the allocator.
ArenaBlock< data_type >::size_type size_type