Geant4
10.03.p02
|
#include <G4Allocator.hh>
Classes | |
struct | rebind |
Public Types | |
typedef Type | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef Type * | pointer |
typedef const Type * | const_pointer |
typedef Type & | reference |
typedef const Type & | const_reference |
Public Member Functions | |
G4Allocator () throw () | |
~G4Allocator () throw () | |
Type * | MallocSingle () |
void | FreeSingle (Type *anElement) |
void | ResetStorage () |
size_t | GetAllocatedSize () const |
int | GetNoPages () const |
size_t | GetPageSize () const |
void | IncreasePageSize (unsigned int sz) |
const char * | GetPoolType () const |
template<class U > | |
G4Allocator (const G4Allocator< U > &right) throw () | |
pointer | address (reference r) const |
const_pointer | address (const_reference r) const |
pointer | allocate (size_type n, void *=0) |
void | deallocate (pointer p, size_type n) |
void | construct (pointer p, const Type &val) |
void | destroy (pointer p) |
size_type | max_size () const throw () |
Public Member Functions inherited from G4AllocatorBase | |
G4AllocatorBase () | |
virtual | ~G4AllocatorBase () |
Public Attributes | |
G4AllocatorPool | mem |
Definition at line 67 of file G4Allocator.hh.
typedef const Type* G4Allocator< Type >::const_pointer |
Definition at line 110 of file G4Allocator.hh.
typedef const Type& G4Allocator< Type >::const_reference |
Definition at line 112 of file G4Allocator.hh.
typedef ptrdiff_t G4Allocator< Type >::difference_type |
Definition at line 108 of file G4Allocator.hh.
typedef Type* G4Allocator< Type >::pointer |
Definition at line 109 of file G4Allocator.hh.
typedef Type& G4Allocator< Type >::reference |
Definition at line 111 of file G4Allocator.hh.
typedef size_t G4Allocator< Type >::size_type |
Definition at line 107 of file G4Allocator.hh.
typedef Type G4Allocator< Type >::value_type |
Definition at line 106 of file G4Allocator.hh.
G4Allocator< Type >::G4Allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 182 of file G4Allocator.hh.
G4Allocator< Type >::~G4Allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 193 of file G4Allocator.hh.
|
inline |
Definition at line 114 of file G4Allocator.hh.
|
inline |
Definition at line 118 of file G4Allocator.hh.
|
inline |
Definition at line 119 of file G4Allocator.hh.
|
inline |
Definition at line 122 of file G4Allocator.hh.
|
inline |
Definition at line 144 of file G4Allocator.hh.
|
inline |
Definition at line 133 of file G4Allocator.hh.
|
inline |
Definition at line 146 of file G4Allocator.hh.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 277 of file G4Allocator.hh.
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 266 of file G4Allocator.hh.
|
inline |
|
inline |
Definition at line 149 of file G4Allocator.hh.
|
inlinevirtual |
G4AllocatorPool G4Allocator< Type >::mem |
Definition at line 160 of file G4Allocator.hh.