17 #if !defined(XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133
35 XALAN_CPP_NAMESPACE_BEGIN
45 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
76 const XalanDOMChar* val,
85 return m_allocator.ownsObject(theObject);
105 return m_allocator.getBlockCount();
117 return m_allocator.getBlockSize();
129 ArenaAllocatorType m_allocator;
134 XALAN_CPP_NAMESPACE_END
138 #endif // XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133
ArenaAllocator< data_type > ArenaAllocatorType
Definition: XalanAVTPartSimpleAllocator.hpp:50
void reset()
Delete all objects from the allocator.
Definition: XalanAVTPartSimpleAllocator.hpp:92
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
AVTPartSimple data_type
Definition: XalanAVTPartSimpleAllocator.hpp:43
Definition: ArenaBlock.hpp:36
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XalanAVTPartSimpleAllocator.hpp:115
Definition: ArenaAllocator.hpp:45
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
ArenaAllocatorType::size_type size_type
Definition: XalanAVTPartSimpleAllocator.hpp:53
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
Definition: XalanAVTPartSimpleAllocator.hpp:39
Definition: StylesheetConstructionContext.hpp:73
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
Definition: XalanAVTPartSimpleAllocator.hpp:103
unsigned int size_type
Definition: XalanDOMString.hpp:53
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
Definition: XalanAVTPartSimpleAllocator.hpp:83
ArenaBlockType::size_type size_type
Definition: ArenaAllocator.hpp:53
Simple string part of a complex AVT.
Definition: AVTPartSimple.hpp:50