17 #if !defined(XALANELEMCALLTEMPLATEALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANELEMCALLTEMPLATEALLOCATOR_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 // XALANELEMCALLTEMPLATEALLOCATOR_INCLUDE_GUARD_12455133
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: XalanElemCallTemplateAllocator.hpp:39
ArenaAllocator< data_type > ArenaAllocatorType
Definition: XalanElemCallTemplateAllocator.hpp:50
Definition: ElemCallTemplate.hpp:39
Definition: ArenaAllocator.hpp:45
ElemCallTemplate data_type
Definition: XalanElemCallTemplateAllocator.hpp:43
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
void reset()
Delete all objects from the allocator.
Definition: XalanElemCallTemplateAllocator.hpp:96
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
Definition: XalanElemCallTemplateAllocator.hpp:87
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
Definition: XalanElemCallTemplateAllocator.hpp:107
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
ArenaAllocatorType::size_type size_type
Definition: XalanElemCallTemplateAllocator.hpp:53
ArenaBlockType::size_type size_type
Definition: ArenaAllocator.hpp:53
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XalanElemCallTemplateAllocator.hpp:119