PKIFAlloc< T > Class Template Reference

#include <PKIFdll.h>

List of all members.


Detailed Description

template<class T>
class PKIFAlloc< T >

Definition at line 131 of file PKIFdll.h.


Public Types

typedef T value_type
typedef T * pointer
typedef const T * const_pointer
typedef T & reference
typedef const T & const_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type

Public Member Functions

pointer address (reference value) const
const_pointer address (const_reference value) const
 PKIFAlloc () throw ()
 PKIFAlloc (const PKIFAlloc &) throw ()
 ~PKIFAlloc () throw ()
size_type max_size () const throw ()
pointer allocate (size_type num, const void *=0)
void construct (pointer p, const T &value)
void destroy (pointer p)
void deallocate (pointer p, size_type num)

Classes

struct  rebind

Member Typedef Documentation

template<class T>
typedef T PKIFAlloc< T >::value_type

Definition at line 134 of file PKIFdll.h.

template<class T>
typedef T* PKIFAlloc< T >::pointer

Definition at line 135 of file PKIFdll.h.

template<class T>
typedef const T* PKIFAlloc< T >::const_pointer

Definition at line 136 of file PKIFdll.h.

template<class T>
typedef T& PKIFAlloc< T >::reference

Definition at line 137 of file PKIFdll.h.

template<class T>
typedef const T& PKIFAlloc< T >::const_reference

Definition at line 138 of file PKIFdll.h.

template<class T>
typedef std::size_t PKIFAlloc< T >::size_type

Definition at line 139 of file PKIFdll.h.

template<class T>
typedef std::ptrdiff_t PKIFAlloc< T >::difference_type

Definition at line 140 of file PKIFdll.h.


Constructor & Destructor Documentation

template<class T>
PKIFAlloc< T >::PKIFAlloc (  )  throw () [inline]

Interface: Subsystem

Constructor

Returns:
None

Definition at line 180 of file PKIFdll.h.

template<class T>
PKIFAlloc< T >::PKIFAlloc ( const PKIFAlloc< T > &   )  throw () [inline]

Interface: Subsystem

Copy Constructor

Returns:
None

Definition at line 189 of file PKIFdll.h.

template<class T>
PKIFAlloc< T >::~PKIFAlloc (  )  throw () [inline]

Interface: Subsystem

Destructor

Returns:
None

Definition at line 203 of file PKIFdll.h.


Member Function Documentation

template<class T>
pointer PKIFAlloc< T >::address ( reference  value  )  const [inline]

Interface: Subsystem

Return address of values

Returns:
return address of values

Definition at line 156 of file PKIFdll.h.

template<class T>
const_pointer PKIFAlloc< T >::address ( const_reference  value  )  const [inline]

Interface: Subsystem

Return address of values

Returns:
return address of values

Definition at line 166 of file PKIFdll.h.

template<class T>
size_type PKIFAlloc< T >::max_size (  )  const throw () [inline]

Interface: Subsystem

Return maximum number of elements that can be allocated

Returns:
Return maximum number of elements that can be allocated

Definition at line 214 of file PKIFdll.h.

template<class T>
pointer PKIFAlloc< T >::allocate ( size_type  num,
const void *  = 0 
) [inline]

Interface: Subsystem

Allocate but don't initialize num elements of type T

Returns:
None

Definition at line 225 of file PKIFdll.h.

References PKIFNew().

template<class T>
void PKIFAlloc< T >::construct ( pointer  p,
const T &  value 
) [inline]

Interface: Subsystem

Initialize elements of allocated storage p with value value

Returns:
None
Parameters:
p  [in/out] Pointer to an object
value  [in] Value to which the new object will be set

Definition at line 239 of file PKIFdll.h.

template<class T>
void PKIFAlloc< T >::destroy ( pointer  p  )  [inline]

Interface: Subsystem

Destroy elements of initialized storage p

Returns:
None
Parameters:
p  [in] Pointer to an object which will be deallocated

Definition at line 255 of file PKIFdll.h.

template<class T>
void PKIFAlloc< T >::deallocate ( pointer  p,
size_type  num 
) [inline]

Interface: Subsystem

Deallocate storage p of deleted elements

Returns:
None
Parameters:
p  [in] Pointer to an object which will be deallocated
num  [in] size type

Definition at line 270 of file PKIFdll.h.

References PKIFDelete().


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

Generated on Mon Nov 15 11:21:04 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6