19#if !defined(XALANELEMATTRIBUTEALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANELEMATTRIBUTEALLOCATOR_INCLUDE_GUARD_12455133
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
63 MemoryManager& theManager,
84 XalanFileLoc lineNumber,
85 XalanFileLoc columnNumber);
93 return m_allocator.ownsObject(theObject);
113 return m_allocator.getBlockCount();
125 return m_allocator.getBlockSize();
137 ArenaAllocatorType m_allocator;
#define XALAN_CPP_NAMESPACE
#define XALAN_XSLT_EXPORT
ArenaBlock< data_type >::size_type size_type
This class represents the base stylesheet or an "import" stylesheet.
ArenaAllocatorType::size_type size_type
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
data_type * create(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)
Construct an instance.
XalanElemAttributeAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaAllocator< 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...
~XalanElemAttributeAllocator()
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
xercesc::AttributeList AttributeListType