 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133
48 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
65 MemoryManager& theManager,
106 return m_allocator.getBlockCount();
117 return m_allocator.getBlockSize();
129 ArenaAllocatorType m_allocator;
138 #endif // XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133
ArenaBlockType::size_type size_type
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XalanSourceTreeElementNAAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
XalanSourceTreeElementNA ObjectType
~XalanSourceTreeElementNAAllocator()
void reset()
Delete all objects from allocator.
ObjectType * create(const XalanDOMString &theTagName, XalanSourceTreeDocument *theOwnerDocument, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
Create an instance.
ObjectType::IndexType IndexType
#define XALAN_XALANSOURCETREE_EXPORT
ArenaAllocatorType::size_type size_type
ArenaAllocator< ObjectType > ArenaAllocatorType