17 #if !defined(XALANELEMATTRIBUTEALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANELEMATTRIBUTEALLOCATOR_INCLUDE_GUARD_12455133
35 XALAN_CPP_NAMESPACE_BEGIN
45 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
89 return m_allocator.ownsObject(theObject);
109 return m_allocator.getBlockCount();
121 return m_allocator.getBlockSize();
133 ArenaAllocatorType m_allocator;
138 XALAN_CPP_NAMESPACE_END
142 #endif // XALANELEMATTRIBUTEALLOCATOR_INCLUDE_GUARD_12455133
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XalanElemAttributeAllocator.hpp:119
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: ArenaBlock.hpp:36
Definition: XalanElemAttributeAllocator.hpp:39
Definition: ArenaAllocator.hpp:45
ArenaAllocator< data_type > ArenaAllocatorType
Definition: XalanElemAttributeAllocator.hpp:50
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
void reset()
Delete all objects from the allocator.
Definition: XalanElemAttributeAllocator.hpp:96
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
Definition: XalanElemAttributeAllocator.hpp:107
ElemAttribute data_type
Definition: XalanElemAttributeAllocator.hpp:43
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
ArenaAllocatorType::size_type size_type
Definition: XalanElemAttributeAllocator.hpp:53
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
Definition: XalanElemAttributeAllocator.hpp:87
ArenaBlockType::size_type size_type
Definition: ArenaAllocator.hpp:53
Definition: ElemAttribute.hpp:38