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