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