Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133
36 XALAN_CPP_NAMESPACE_BEGIN
48 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
65 MemoryManager& theManager,
89 XalanSize_t theAttributeCount,
110 return m_allocator.getBlockCount();
121 return m_allocator.getBlockSize();
133 ArenaAllocatorType m_allocator;
138 XALAN_CPP_NAMESPACE_END
142 #endif // XALANSOURCETREEELEMENTAALLOCATOR_INCLUDE_GUARD_12455133
ArenaAllocatorType::size_type size_type
ArenaBlockType::size_type size_type
XalanSourceTreeElementAAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
XalanSourceTreeElementA ObjectType
ObjectType * create(const XalanDOMString &theTagName, XalanSourceTreeDocument *theOwnerDocument, XalanSourceTreeAttr **theAttributes, XalanSize_t theAttributeCount, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
Create an instance.
void reset()
Delete all objects from allocator.
ObjectType::IndexType IndexType
ArenaAllocator< ObjectType > ArenaAllocatorType
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
#define XALAN_XALANSOURCETREE_EXPORT
~XalanSourceTreeElementAAllocator()
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
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.
|
|