 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XNUMBERALLOCATOR_INCLUDE_GUARD_135792455)
20 #define XNUMBERALLOCATOR_INCLUDE_GUARD_135792455
82 return m_allocator.ownsObject(theObject);
100 return m_allocator.getBlockCount();
111 return m_allocator.getBlockSize();
123 ArenaAllocatorType m_allocator;
132 #endif // XNUMBERALLOCATOR_INCLUDE_GUARD_135792455
bool destroy(number_type *theNumber)
Delete an XNumber object from allocator.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
ReusableArenaBlockType::size_type size_type
bool ownsObject(const number_type *theObject)
Determine if an object is owned by the allocator...
#define XALAN_XPATH_EXPORT
void reset()
Delete all XNumber objects from allocator.
ReusableArenaAllocator< number_type > ArenaAllocatorType
XNumberAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaAllocatorType::size_type size_type
number_type * createNumber(double theNumber)
Create an XNumber object using allocator from a string.