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