19 #if !defined(XALANALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define XALANALLOCATOR_INCLUDE_GUARD_1357924680 28 XALAN_CPP_NAMESPACE_BEGIN
46 m_memoryManager(theManager)
58 return m_memoryManager;
78 return (pointer)m_memoryManager.allocate(size *
sizeof(Type));
91 m_memoryManager.deallocate(p);
120 MemoryManager& m_memoryManager;
125 XALAN_CPP_NAMESPACE_END
129 #endif // XALANALLOCATOR_INCLUDE_GUARD_1357924680
const Type * const_pointer
const Type & const_reference
pointer allocate(size_type size, const void *=0)
void construct(pointer p, const Type &val)
void deallocate(pointer p, size_type)
ptrdiff_t difference_type
pointer address(reference x) const
size_type max_size() const
MemoryManager & getMemoryManager()
XalanAllocator(MemoryManager &theManager)
const_pointer address(const_reference x) const