17 #if !defined(XNUMBERALLOCATOR_INCLUDE_GUARD_135792455)
18 #define XNUMBERALLOCATOR_INCLUDE_GUARD_135792455
35 XALAN_CPP_NAMESPACE_BEGIN
65 createNumber(
double theNumber);
80 return m_allocator.ownsObject(theObject);
98 return m_allocator.getBlockCount();
109 return m_allocator.getBlockSize();
121 ArenaAllocatorType m_allocator;
126 XALAN_CPP_NAMESPACE_END
130 #endif // XNUMBERALLOCATOR_INCLUDE_GUARD_135792455
ArenaAllocatorType::size_type size_type
Definition: XNumberAllocator.hpp:46
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
bool ownsObject(const number_type *theObject)
Determine if an object is owned by the allocator...
Definition: XNumberAllocator.hpp:78
size_type getBlockCount() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XNumberAllocator.hpp:96
Definition: XNumberAllocator.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
ReusableArenaAllocator< number_type > ArenaAllocatorType
Definition: XNumberAllocator.hpp:45
XNumber number_type
Definition: XNumberAllocator.hpp:43
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
size_type getBlockSize() const
Get the number of ArenaBlocks currently allocated.
Definition: XNumberAllocator.hpp:107
Definition: XNumber.hpp:39