#include <allocator.h>
Collaboration diagram for atlas::allocator::Allocator< T, P >:

Public Types | |
| typedef T | value_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef ptrdiff_t | difference_type |
| typedef size_t | size_type |
Public Member Functions | |
| Allocator () throw () | |
| Allocator (const Allocator &) throw () | |
| template<typename U> | |
| Allocator (const Allocator< U, P > &) throw () | |
| ~Allocator () | |
| size_type | max_size () const throw () |
| pointer | allocate (size_type, const void *hint=0) |
| Allocates raw memory for n instances of T. | |
| void | deallocate (pointer, size_type) |
| void | construct (pointer, const_reference) |
| void | destroy (pointer) |
Static Private Attributes | |
| size_t | d_instances = 0 |
| size_t | d_constructions = 0 |
| P * | d_pool = 0 |
|
|||||
|
Definition at line 76 of file allocator.h. |
|
|||||
|
Definition at line 79 of file allocator.h. |
|
|||||
|
Definition at line 81 of file allocator.h. |
|
|||||
|
Definition at line 75 of file allocator.h. |
|
|||||
|
Definition at line 78 of file allocator.h. |
|
|||||
|
Definition at line 82 of file allocator.h. |
|
|||||
|
Definition at line 73 of file allocator.h. |
|
|||||||||
|
Definition at line 89 of file allocator.h. References atlas::allocator::AllocDigits. |
|
||||||||||
|
Definition at line 95 of file allocator.h. |
|
||||||||||||||
|
Definition at line 99 of file allocator.h. References atlas::allocator::AllocDigits. |
|
|||||||||
|
Definition at line 105 of file allocator.h. |
|
||||||||||||||||
|
Allocates raw memory for n instances of T. NOTE: very preliminary. Definition at line 25 of file allocator_def.h. References atlas::allocator::Allocator< T, P >::d_pool. |
|
||||||||||||||||
|
Definition at line 76 of file allocator_def.h. |
|
||||||||||||||||
|
Definition at line 54 of file allocator_def.h. References atlas::allocator::Allocator< T, P >::d_pool. |
|
||||||||||
|
Definition at line 88 of file allocator_def.h. |
|
|||||||||
|
Definition at line 113 of file allocator.h. |
|
|||||
|
Definition at line 135 of file allocator.h. |
|
|||||
|
Definition at line 132 of file allocator.h. |
|
|||||
|
Definition at line 129 of file allocator.h. Referenced by atlas::allocator::Allocator< T, P >::allocate(), and atlas::allocator::Allocator< T, P >::deallocate(). |
1.3.9.1