19#if !defined(XALANMATCHPATTERNDATAALLOCATOR_INCLUDE_GUARD_12455133)
20#define XALANMATCHPATTERNDATAALLOCATOR_INCLUDE_GUARD_12455133
47#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
119 return m_allocator.getBlockCount();
131 return m_allocator.getBlockSize();
143 ArenaAllocatorType m_allocator;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ArenaBlockType::size_type size_type
ArenaAllocator< data_type > ArenaAllocatorType
XalanMatchPatternDataAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
~XalanMatchPatternDataAllocator()
ArenaAllocatorType::size_type size_type
void reset()
Delete all objects from the allocator.
data_type * create(const ElemTemplate &theTemplate, data_type::size_type thePosition, const XalanDOMString &theTargetString, const XPath &theMatchPattern, const XalanDOMString &thePatternString, data_type::eMatchScore thePriority)
Construct an instance.
XalanMatchPatternData data_type
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
This class contains information concerning a match pattern in a stylesheet.
void reset(MemoryManager *theManager=0, Type *thePointer=0)