Rheolef
7.2
an efficient C++ finite element environment
|
Definition at line 51 of file stack_allocator.h.
Classes | |
struct | handler_type |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef T | value_type |
Public Member Functions | |
stack_allocator () throw () | |
stack_allocator (unsigned char *stack, size_t stack_size) throw () | |
stack_allocator (const stack_allocator &sa) throw () | |
template<typename U > | |
stack_allocator (const stack_allocator< U > &sa) throw () | |
~stack_allocator () throw () | |
stack_allocator & | operator= (const stack_allocator &sa) |
pointer | address (reference r) const |
const_pointer | address (const_reference c) const |
size_type | max_size () const |
void | construct (pointer p, const_reference c) |
void | construct (pointer p) |
void | destroy (pointer p) |
pointer | allocate (size_type n, const void *=NULL) |
void | deallocate (pointer p, size_type n) |
const handler_type * | get_handler () const |
Protected Attributes | |
handler_type * | handler |
Definition at line 58 of file stack_allocator.h.
typedef std::ptrdiff_t difference_type |
Definition at line 59 of file stack_allocator.h.
Definition at line 60 of file stack_allocator.h.
typedef const T* const_pointer |
Definition at line 61 of file stack_allocator.h.
Definition at line 62 of file stack_allocator.h.
typedef const T& const_reference |
Definition at line 63 of file stack_allocator.h.
typedef T value_type |
Definition at line 64 of file stack_allocator.h.
stack_allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 68 of file stack_allocator.h.
stack_allocator | ( | unsigned char * | stack, |
size_t | stack_size | ||
) | |||
throw | ( | ||
) |
Definition at line 72 of file stack_allocator.h.
stack_allocator | ( | const stack_allocator< T > & | sa | ) | |
throw | ( | ||||
) |
Definition at line 77 of file stack_allocator.h.
stack_allocator | ( | const stack_allocator< U > & | sa | ) | |
throw | ( | ||||
) |
Definition at line 83 of file stack_allocator.h.
~stack_allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 88 of file stack_allocator.h.
stack_allocator & operator= | ( | const stack_allocator< T > & | sa | ) |
Definition at line 102 of file stack_allocator.h.
Definition at line 111 of file stack_allocator.h.
const_pointer address | ( | const_reference | c | ) | const |
Definition at line 112 of file stack_allocator.h.
Definition at line 113 of file stack_allocator.h.
void construct | ( | pointer | p, |
const_reference | c | ||
) |
Definition at line 117 of file stack_allocator.h.
Definition at line 123 of file stack_allocator.h.
Definition at line 125 of file stack_allocator.h.
Definition at line 133 of file stack_allocator.h.
Definition at line 146 of file stack_allocator.h.
const handler_type * get_handler | ( | ) | const |
Definition at line 151 of file stack_allocator.h.
|
protected |
Definition at line 188 of file stack_allocator.h.