19#if !defined(XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
107 return m_allocator.getBlockCount();
119 return m_allocator.getBlockSize();
131 ArenaAllocatorType m_allocator;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Simple string part of a complex AVT.
ArenaBlockType::size_type size_type
data_type * create(StylesheetConstructionContext &constructionContext, const XalanDOMChar *val, XalanDOMString::size_type len)
Create an instance.
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
XalanAVTPartSimpleAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
void reset()
Delete all objects from the allocator.
ArenaAllocator< data_type > ArenaAllocatorType
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
~XalanAVTPartSimpleAllocator()
ArenaAllocatorType::size_type size_type
void reset(MemoryManager *theManager=0, Type *thePointer=0)