19#if !defined(XNODESETALLOCATOR_INCLUDE_GUARD_12455133)
20#define XNODESETALLOCATOR_INCLUDE_GUARD_12455133
102 return m_allocator.getBlockCount();
113 return m_allocator.getBlockSize();
126 ArenaAllocatorType m_allocator;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
ReusableArenaBlockType::size_type size_type
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
XNodeSetAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
void reset()
Delete all XNodeSet objects from allocator.
bool ownsObject(const nodeset_type *theObject)
Determine if an object is owned by the allocator...
nodeset_type * createNodeSet(BorrowReturnMutableNodeRefList &value)
Create an XNodeSet object using allocator from a string.
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XPathExecutionContext::BorrowReturnMutableNodeRefList BorrowReturnMutableNodeRefList
bool destroy(nodeset_type *theNodeSet)
Delete an XNodeSet object from allocator.
ArenaAllocatorType::size_type size_type
ReusableArenaAllocator< nodeset_type > ArenaAllocatorType
Class to hold XPath return types.