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