 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133
91 return m_allocator.ownsObject(theObject);
108 return m_allocator.getBlockCount();
120 return m_allocator.getBlockSize();
132 ArenaAllocatorType m_allocator;
141 #endif // XALANSOURCETREEDOCUMENTFRAGMENTALLOCATOR_INCLUDE_GUARD_12455133
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
bool destroy(data_type *theObject)
Delete an XalanSourceTreeDocumentFragment object from allocator.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
XalanSourceTreeDocumentFragment data_type
ReusableArenaBlockType::size_type size_type
#define XALAN_XSLT_EXPORT
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
data_type * create(XalanSourceTreeDocument &theValue)
Create a XalanSourceTreeDocumentFragment object.
ArenaAllocatorType::size_type size_type
ReusableArenaAllocator< data_type > ArenaAllocatorType
void reset()
Delete all XalanSourceTreeDocumentFragment objects from allocator.
~XalanSourceTreeDocumentFragmentAllocator()
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
XalanSourceTreeDocumentFragmentAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
data_type * create(const data_type &theSource)
Create an XalanSourceTreeDocumentFragment object.