 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XALANMATCHPATTERNDATAALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANMATCHPATTERNDATAALLOCATOR_INCLUDE_GUARD_12455133
47 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
89 const XPath& theMatchPattern,
99 return m_allocator.ownsObject(theObject);
119 return m_allocator.getBlockCount();
131 return m_allocator.getBlockSize();
143 ArenaAllocatorType m_allocator;
152 #endif // XALANMATCHPATTERNDATAALLOCATOR_INCLUDE_GUARD_12455133
ArenaAllocatorType::size_type size_type
ArenaBlockType::size_type size_type
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ArenaAllocator< data_type > ArenaAllocatorType
#define XALAN_XSLT_EXPORT
This class contains information concerning a match pattern in a stylesheet.
~XalanMatchPatternDataAllocator()
XalanMatchPatternData data_type
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
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.
XalanMatchPatternDataAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
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.