Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
secure_allocator< T > Struct Template Reference

#include <allocators.h>

+ Inheritance diagram for secure_allocator< T >:
+ Collaboration diagram for secure_allocator< T >:

Classes

struct  rebind
 

Public Types

typedef std::allocator< T > base
 
typedef base::size_type size_type
 
typedef base::difference_type difference_type
 
typedef base::pointer pointer
 
typedef base::const_pointer const_pointer
 
typedef base::reference reference
 
typedef base::const_reference const_reference
 
typedef base::value_type value_type
 

Public Member Functions

 secure_allocator () throw ()
 
 secure_allocator (const secure_allocator &a) throw ()
 
template<typename U >
 secure_allocator (const secure_allocator< U > &a) throw ()
 
 ~secure_allocator () throw ()
 
T * allocate (std::size_t n, const void *hint=0)
 
void deallocate (T *p, std::size_t n)
 

Detailed Description

template<typename T>
struct secure_allocator< T >

Definition at line 181 of file allocators.h.

Member Typedef Documentation

template<typename T>
typedef std::allocator<T> secure_allocator< T >::base

Definition at line 184 of file allocators.h.

template<typename T>
typedef base::const_pointer secure_allocator< T >::const_pointer

Definition at line 188 of file allocators.h.

template<typename T>
typedef base::const_reference secure_allocator< T >::const_reference

Definition at line 190 of file allocators.h.

template<typename T>
typedef base::difference_type secure_allocator< T >::difference_type

Definition at line 186 of file allocators.h.

template<typename T>
typedef base::pointer secure_allocator< T >::pointer

Definition at line 187 of file allocators.h.

template<typename T>
typedef base::reference secure_allocator< T >::reference

Definition at line 189 of file allocators.h.

template<typename T>
typedef base::size_type secure_allocator< T >::size_type

Definition at line 185 of file allocators.h.

template<typename T>
typedef base::value_type secure_allocator< T >::value_type

Definition at line 191 of file allocators.h.

Constructor & Destructor Documentation

template<typename T>
secure_allocator< T >::secure_allocator ( )
throw (
)
inline

Definition at line 192 of file allocators.h.

template<typename T>
secure_allocator< T >::secure_allocator ( const secure_allocator< T > &  a)
throw (
)
inline

Definition at line 193 of file allocators.h.

template<typename T>
template<typename U >
secure_allocator< T >::secure_allocator ( const secure_allocator< U > &  a)
throw (
)
inline

Definition at line 195 of file allocators.h.

template<typename T>
secure_allocator< T >::~secure_allocator ( )
throw (
)
inline

Definition at line 196 of file allocators.h.

Member Function Documentation

template<typename T>
T* secure_allocator< T >::allocate ( std::size_t  n,
const void *  hint = 0 
)
inline

Definition at line 200 of file allocators.h.

References LockedPageManager::Instance(), and LockedPageManagerBase< Locker >::LockRange().

+ Here is the call graph for this function:

template<typename T>
void secure_allocator< T >::deallocate ( T *  p,
std::size_t  n 
)
inline

Definition at line 209 of file allocators.h.

References LockedPageManager::Instance(), and LockedPageManagerBase< Locker >::UnlockRange().

+ Here is the call graph for this function:


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