Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680)
20 #define XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
37 XALAN_CPP_NAMESPACE_BEGIN
56 MemoryManager& theMemoryManager,
83 return m_allocator.ownsObject(theObject);
101 return m_allocator.getBlockCount();
112 return m_allocator.getBlockSize();
120 return m_allocator.getMemoryManager();
130 ArenaAllocatorType m_allocator;
135 XALAN_CPP_NAMESPACE_END
139 #endif // XTOKENNUMBERADAPTERALLOCATOR_INCLUDE_GUARD_1357924680
XTokenNumberAdapterAllocator(MemoryManager &theMemoryManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaAllocatorType::size_type size_type
void reset()
Delete all XStringAdapter objects from allocator.
#define XALAN_XPATH_EXPORT
object_type * create(const XToken &theXToken)
Create an instance from an XToken.
XTokenNumberAdapter object_type
~XTokenNumberAdapterAllocator()
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
bool destroy(object_type *theObject)
Delete an XStringAdapter object from allocator.
bool ownsObject(const object_type *theObject)
Determine if an object is owned by the allocator...
ReusableArenaBlockType::size_type size_type
ReusableArenaAllocator< object_type > ArenaAllocatorType
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.
|
|