Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#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) |
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 Attributes | |
G4AllocatorPool | mem |
Definition at line 53 of file G4Allocator.hh.
typedef const Type* G4Allocator< Type >::const_pointer |
Definition at line 93 of file G4Allocator.hh.
typedef const Type& G4Allocator< Type >::const_reference |
Definition at line 95 of file G4Allocator.hh.
typedef ptrdiff_t G4Allocator< Type >::difference_type |
Definition at line 91 of file G4Allocator.hh.
typedef Type* G4Allocator< Type >::pointer |
Definition at line 92 of file G4Allocator.hh.
typedef Type& G4Allocator< Type >::reference |
Definition at line 94 of file G4Allocator.hh.
typedef size_t G4Allocator< Type >::size_type |
Definition at line 90 of file G4Allocator.hh.
typedef Type G4Allocator< Type >::value_type |
Definition at line 89 of file G4Allocator.hh.
G4Allocator< Type >::G4Allocator | |||
throw | ( | ||
) |
Definition at line 160 of file G4Allocator.hh.
G4Allocator< Type >::~G4Allocator | |||
throw | ( | ||
) |
Definition at line 170 of file G4Allocator.hh.
|
inline |
Definition at line 97 of file G4Allocator.hh.
|
inline |
Definition at line 102 of file G4Allocator.hh.
|
inline |
Definition at line 101 of file G4Allocator.hh.
|
inline |
Definition at line 105 of file G4Allocator.hh.
|
inline |
Definition at line 127 of file G4Allocator.hh.
|
inline |
Definition at line 116 of file G4Allocator.hh.
|
inline |
Definition at line 129 of file G4Allocator.hh.
|
inline |
Definition at line 189 of file G4Allocator.hh.
Referenced by G4Allocator< Type >::deallocate().
|
inline |
Definition at line 213 of file G4Allocator.hh.
|
inline |
Definition at line 223 of file G4Allocator.hh.
|
inline |
Definition at line 233 of file G4Allocator.hh.
|
inline |
Definition at line 243 of file G4Allocator.hh.
|
inline |
Definition at line 179 of file G4Allocator.hh.
Referenced by G4Allocator< Type >::allocate().
|
inline |
Definition at line 132 of file G4Allocator.hh.
|
inline |
Definition at line 200 of file G4Allocator.hh.
G4AllocatorPool G4Allocator< Type >::mem |
Definition at line 143 of file G4Allocator.hh.