19#if !defined(XALANAVTALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANAVTALLOCATOR_INCLUDE_GUARD_12455133
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
111 return m_allocator.getBlockCount();
123 return m_allocator.getBlockSize();
135 ArenaAllocatorType m_allocator;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Class to hold an Attribute Value Template.
ArenaBlockType::size_type size_type
This class defines an interface for classes that resolve namespace prefixes to their URIs.
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
data_type * create(StylesheetConstructionContext &constructionContext, const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver)
Create an instance.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ArenaAllocatorType::size_type size_type
void reset()
Delete all objects from the allocator.
XalanAVTAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaAllocator< data_type > ArenaAllocatorType
void reset(MemoryManager *theManager=0, Type *thePointer=0)