RetroArch
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
glslang::pool_allocator< T > Class Template Reference

#include <PoolAlloc.h>

Collaboration diagram for glslang::pool_allocator< T >:
[legend]

Classes

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef Tpointer
 
typedef const Tconst_pointer
 
typedef Treference
 
typedef const Tconst_reference
 
typedef T value_type
 

Public Member Functions

pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
 pool_allocator ()
 
 pool_allocator (TPoolAllocator &a)
 
 pool_allocator (const pool_allocator< T > &p)
 
template<class Other >
 pool_allocator (const pool_allocator< Other > &p)
 
pointer allocate (size_type n)
 
pointer allocate (size_type n, const void *)
 
void deallocate (void *, size_type)
 
void deallocate (pointer, size_type)
 
pointer _Charalloc (size_t n)
 
void construct (pointer p, const T &val)
 
void destroy (pointer p)
 
bool operator== (const pool_allocator &rhs) const
 
bool operator!= (const pool_allocator &rhs) const
 
size_type max_size () const
 
size_type max_size (int size) const
 
void setAllocator (TPoolAllocator *a)
 
TPoolAllocatorgetAllocator () const
 

Protected Member Functions

pool_allocatoroperator= (const pool_allocator &)
 

Protected Attributes

TPoolAllocatorallocator
 

Member Typedef Documentation

◆ const_pointer

template<class T>
typedef const T* glslang::pool_allocator< T >::const_pointer

◆ const_reference

template<class T>
typedef const T& glslang::pool_allocator< T >::const_reference

◆ difference_type

template<class T>
typedef ptrdiff_t glslang::pool_allocator< T >::difference_type

◆ pointer

template<class T>
typedef T* glslang::pool_allocator< T >::pointer

◆ reference

template<class T>
typedef T& glslang::pool_allocator< T >::reference

◆ size_type

template<class T>
typedef size_t glslang::pool_allocator< T >::size_type

◆ value_type

template<class T>
typedef T glslang::pool_allocator< T >::value_type

Constructor & Destructor Documentation

◆ pool_allocator() [1/4]

template<class T>
glslang::pool_allocator< T >::pool_allocator ( )
inline

◆ pool_allocator() [2/4]

template<class T>
glslang::pool_allocator< T >::pool_allocator ( TPoolAllocator a)
inline

◆ pool_allocator() [3/4]

template<class T>
glslang::pool_allocator< T >::pool_allocator ( const pool_allocator< T > &  p)
inline

◆ pool_allocator() [4/4]

template<class T>
template<class Other >
glslang::pool_allocator< T >::pool_allocator ( const pool_allocator< Other > &  p)
inline

Member Function Documentation

◆ _Charalloc()

template<class T>
pointer glslang::pool_allocator< T >::_Charalloc ( size_t  n)
inline

◆ address() [1/2]

template<class T>
pointer glslang::pool_allocator< T >::address ( reference  x) const
inline

◆ address() [2/2]

template<class T>
const_pointer glslang::pool_allocator< T >::address ( const_reference  x) const
inline

◆ allocate() [1/2]

template<class T>
pointer glslang::pool_allocator< T >::allocate ( size_type  n)
inline

◆ allocate() [2/2]

template<class T>
pointer glslang::pool_allocator< T >::allocate ( size_type  n,
const void  
)
inline

◆ construct()

template<class T>
void glslang::pool_allocator< T >::construct ( pointer  p,
const T val 
)
inline

◆ deallocate() [1/2]

template<class T>
void glslang::pool_allocator< T >::deallocate ( void ,
size_type   
)
inline

◆ deallocate() [2/2]

template<class T>
void glslang::pool_allocator< T >::deallocate ( pointer  ,
size_type   
)
inline

◆ destroy()

template<class T>
void glslang::pool_allocator< T >::destroy ( pointer  p)
inline

◆ getAllocator()

template<class T>
TPoolAllocator& glslang::pool_allocator< T >::getAllocator ( ) const
inline
Here is the caller graph for this function:

◆ max_size() [1/2]

template<class T>
size_type glslang::pool_allocator< T >::max_size ( ) const
inline

◆ max_size() [2/2]

template<class T>
size_type glslang::pool_allocator< T >::max_size ( int  size) const
inline

◆ operator!=()

template<class T>
bool glslang::pool_allocator< T >::operator!= ( const pool_allocator< T > &  rhs) const
inline
Here is the call graph for this function:

◆ operator=()

template<class T>
pool_allocator& glslang::pool_allocator< T >::operator= ( const pool_allocator< T > &  )
inlineprotected

◆ operator==()

template<class T>
bool glslang::pool_allocator< T >::operator== ( const pool_allocator< T > &  rhs) const
inline
Here is the call graph for this function:

◆ setAllocator()

template<class T>
void glslang::pool_allocator< T >::setAllocator ( TPoolAllocator a)
inline

Member Data Documentation

◆ allocator

template<class T>
TPoolAllocator& glslang::pool_allocator< T >::allocator
protected

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