SourceForge.net Logo
XQillaAllocator< _Tp > Class Template Reference

#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
 
bool operator== (const XQillaAllocator< _Tp > &o) const
 
bool operator!= (const XQillaAllocator< _Tp > &o) const
 
bool operator!= (XQillaAllocator< _Tp > &o)
 

Public Attributes

char _singleton [sizeof(_Tp)]
 
xercesc::MemoryManager_memMgr
 

Member Typedef Documentation

◆ const_pointer

template<class _Tp >
const _Tp* XQillaAllocator< _Tp >::const_pointer

◆ const_reference

template<class _Tp >
const _Tp& XQillaAllocator< _Tp >::const_reference

◆ difference_type

template<class _Tp >
ptrdiff_t XQillaAllocator< _Tp >::difference_type

◆ pointer

template<class _Tp >
_Tp* XQillaAllocator< _Tp >::pointer

◆ reference

template<class _Tp >
_Tp& XQillaAllocator< _Tp >::reference

◆ size_type

template<class _Tp >
size_t XQillaAllocator< _Tp >::size_type

◆ value_type

template<class _Tp >
_Tp XQillaAllocator< _Tp >::value_type

Constructor & Destructor Documentation

◆ XQillaAllocator() [1/3]

template<class _Tp >
XQillaAllocator< _Tp >::XQillaAllocator ( )
inline

◆ XQillaAllocator() [2/3]

template<class _Tp >
XQillaAllocator< _Tp >::XQillaAllocator ( xercesc::MemoryManager * memMgr)
inline

◆ XQillaAllocator() [3/3]

template<class _Tp >
XQillaAllocator< _Tp >::XQillaAllocator ( const XQillaAllocator< _Tp > & o)
inline

Member Function Documentation

◆ allocate()

template<class _Tp >
pointer XQillaAllocator< _Tp >::allocate ( size_t _n,
const void * = 0 )
inline

◆ construct()

template<class _Tp >
void XQillaAllocator< _Tp >::construct ( pointer _p,
const_reference _v )
inline

◆ deallocate()

template<class _Tp >
void XQillaAllocator< _Tp >::deallocate ( void * _p,
size_t _n )
inline

◆ destroy()

template<class _Tp >
void XQillaAllocator< _Tp >::destroy ( pointer _p)
inline

◆ max_size() [1/2]

template<class _Tp >
size_type XQillaAllocator< _Tp >::max_size ( ) const
inline

◆ max_size() [2/2]

template<class _Tp >
size_type XQillaAllocator< _Tp >::max_size ( size_type ) const
inline

◆ operator!=() [1/2]

template<class _Tp >
bool XQillaAllocator< _Tp >::operator!= ( const XQillaAllocator< _Tp > & o) const
inline

◆ operator!=() [2/2]

template<class _Tp >
bool XQillaAllocator< _Tp >::operator!= ( XQillaAllocator< _Tp > & o)
inline

◆ operator==()

template<class _Tp >
bool XQillaAllocator< _Tp >::operator== ( const XQillaAllocator< _Tp > & o) const
inline

Member Data Documentation

◆ _memMgr

◆ _singleton

template<class _Tp >
char XQillaAllocator< _Tp >::_singleton[sizeof(_Tp)]

The documentation for this class was generated from the following file: