Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133
36 XALAN_CPP_NAMESPACE_BEGIN
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;
134 XALAN_CPP_NAMESPACE_END
138 #endif // XALANSOURCETREEELEMENTNAALLOCATOR_INCLUDE_GUARD_12455133
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
~XalanSourceTreeElementNAAllocator()
ArenaAllocatorType::size_type size_type
ObjectType * create(const XalanDOMString &theTagName, XalanSourceTreeDocument *theOwnerDocument, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
Create an instance.
XalanSourceTreeElementNAAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaBlockType::size_type size_type
XalanSourceTreeElementNA ObjectType
ObjectType::IndexType IndexType
ArenaAllocator< ObjectType > ArenaAllocatorType
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
void reset()
Delete all objects from allocator.
#define XALAN_XALANSOURCETREE_EXPORT
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|