Falcon::Allocator< _Tp > Class Template Reference

Standard falcon allocator. More...

#include <allocator.h>

List of all members.

Classes

struct  rebind

Public Types

typedef const _Tp * const_pointer
typedef const _Tp & const_reference
typedef ptrdiff_t difference_type
typedef _Tp * pointer
typedef _Tp & reference
typedef size_t size_type
typedef _Tp value_type

Public Member Functions

const_pointer address (const_reference __x) const
pointer address (reference __x) const
_Tp * allocate (size_type n, const void *=0)
template<typename _Tp1 >
 Allocator (const Allocator< _Tp1 > &) throw ()
 Allocator () throw ()
void construct (pointer __p, const _Tp &__val)
void deallocate (_Tp *p, size_type n)
void destroy (pointer __p)
size_type max_size () const throw ()
 ~Allocator () throw ()


Detailed Description

template<class _Tp>
class Falcon::Allocator< _Tp >

Standard falcon allocator.

Bridges STL with falcon memory allocation.


Member Typedef Documentation

template<class _Tp>
typedef const _Tp* Falcon::Allocator< _Tp >::const_pointer

template<class _Tp>
typedef const _Tp& Falcon::Allocator< _Tp >::const_reference

template<class _Tp>
typedef ptrdiff_t Falcon::Allocator< _Tp >::difference_type

template<class _Tp>
typedef _Tp* Falcon::Allocator< _Tp >::pointer

template<class _Tp>
typedef _Tp& Falcon::Allocator< _Tp >::reference

template<class _Tp>
typedef size_t Falcon::Allocator< _Tp >::size_type

template<class _Tp>
typedef _Tp Falcon::Allocator< _Tp >::value_type


Constructor & Destructor Documentation

template<class _Tp>
Falcon::Allocator< _Tp >::Allocator (  )  throw () [inline]

template<class _Tp>
template<typename _Tp1 >
Falcon::Allocator< _Tp >::Allocator ( const Allocator< _Tp1 > &   )  throw () [inline]

template<class _Tp>
Falcon::Allocator< _Tp >::~Allocator (  )  throw () [inline]


Member Function Documentation

template<class _Tp>
const_pointer Falcon::Allocator< _Tp >::address ( const_reference  __x  )  const [inline]

template<class _Tp>
pointer Falcon::Allocator< _Tp >::address ( reference  __x  )  const [inline]

template<class _Tp>
_Tp* Falcon::Allocator< _Tp >::allocate ( size_type  n,
const void *  = 0 
) [inline]

References Falcon::memAlloc.

template<class _Tp>
void Falcon::Allocator< _Tp >::construct ( pointer  __p,
const _Tp &  __val 
) [inline]

template<class _Tp>
void Falcon::Allocator< _Tp >::deallocate ( _Tp *  p,
size_type  n 
) [inline]

References Falcon::memFree.

template<class _Tp>
void Falcon::Allocator< _Tp >::destroy ( pointer  __p  )  [inline]

template<class _Tp>
size_type Falcon::Allocator< _Tp >::max_size (  )  const throw () [inline]


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

Generated on Mon Oct 19 10:11:32 2009 for Falcon_Core by  doxygen 1.5.8