#include <XPath2MemoryManager.hpp>
Classes | |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef _Tp * | pointer |
typedef const _Tp * | const_pointer |
typedef _Tp & | reference |
typedef const _Tp & | const_reference |
typedef _Tp | value_type |
Public Member Functions | |
XQillaAllocator () | |
XQillaAllocator (xercesc::MemoryManager *memMgr) | |
XQillaAllocator (const XQillaAllocator< _Tp > &o) | |
pointer | allocate (size_t _n, const void *=0) |
void | deallocate (void *_p, size_t _n) |
void | construct (pointer _p, const_reference _v) |
void | destroy (pointer _p) |
size_type | max_size () const |
size_type | max_size (size_type) const |
Public Attributes | |
char | _singleton [sizeof(_Tp)] |
xercesc::MemoryManager * | _memMgr |
typedef const _Tp* XQillaAllocator::const_pointer |
typedef const _Tp& XQillaAllocator::const_reference |
typedef ptrdiff_t XQillaAllocator::difference_type |
typedef _Tp* XQillaAllocator::pointer |
typedef _Tp& XQillaAllocator::reference |
typedef size_t XQillaAllocator::size_type |
typedef _Tp XQillaAllocator::value_type |
XQillaAllocator::XQillaAllocator | ( | ) | [inline] |
XQillaAllocator::XQillaAllocator | ( | xercesc::MemoryManager * | memMgr | ) | [inline] |
References _memMgr.
XQillaAllocator::XQillaAllocator | ( | const XQillaAllocator< _Tp > & | o | ) | [inline] |
References _memMgr.
pointer XQillaAllocator::allocate | ( | size_t | _n, |
const void * | = 0 |
||
) | [inline] |
References _singleton, _memMgr, and xercesc::MemoryManager::allocate().
void XQillaAllocator::construct | ( | pointer | _p, |
const_reference | _v | ||
) | [inline] |
void XQillaAllocator::deallocate | ( | void * | _p, |
size_t | _n | ||
) | [inline] |
References _singleton, _memMgr, and xercesc::MemoryManager::deallocate().
void XQillaAllocator::destroy | ( | pointer | _p | ) | [inline] |
size_type XQillaAllocator::max_size | ( | ) | const [inline] |
xercesc:: MemoryManager* XQillaAllocator::_memMgr |
Referenced by XQillaAllocator(), allocate(), and deallocate().
char XQillaAllocator::_singleton[sizeof(_Tp)] |
Referenced by allocate(), and deallocate().