Geant4
10.00.p01
|
#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 Member Functions inherited from G4AllocatorBase | |
G4AllocatorBase () | |
virtual | ~G4AllocatorBase () |
Public Attributes | |
G4AllocatorPool | mem |
Definition at line 65 of file G4Allocator.hh.
typedef const Type* G4Allocator< Type >::const_pointer |
Definition at line 105 of file G4Allocator.hh.
typedef const Type& G4Allocator< Type >::const_reference |
Definition at line 107 of file G4Allocator.hh.
typedef ptrdiff_t G4Allocator< Type >::difference_type |
Definition at line 103 of file G4Allocator.hh.
typedef Type* G4Allocator< Type >::pointer |
Definition at line 104 of file G4Allocator.hh.
typedef Type& G4Allocator< Type >::reference |
Definition at line 106 of file G4Allocator.hh.
typedef size_t G4Allocator< Type >::size_type |
Definition at line 102 of file G4Allocator.hh.
typedef Type G4Allocator< Type >::value_type |
Definition at line 101 of file G4Allocator.hh.
G4Allocator< Type >::G4Allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 172 of file G4Allocator.hh.
G4Allocator< Type >::~G4Allocator | ( | ) | ||
throw | ( | |||
) |
Definition at line 182 of file G4Allocator.hh.
|
inline |
Definition at line 109 of file G4Allocator.hh.
|
inline |
Definition at line 113 of file G4Allocator.hh.
|
inline |
Definition at line 114 of file G4Allocator.hh.
|
inline |
Definition at line 117 of file G4Allocator.hh.
References G4Allocator< Type >::MallocSingle().
|
inline |
Definition at line 139 of file G4Allocator.hh.
|
inline |
Definition at line 128 of file G4Allocator.hh.
References G4Allocator< Type >::FreeSingle().
|
inline |
Definition at line 141 of file G4Allocator.hh.
|
inline |
Definition at line 201 of file G4Allocator.hh.
Referenced by G4Allocator< Type >::deallocate(), ExN04MuonHit::operator delete(), ExN04TrackerHit::operator delete(), H02MuonHit::operator delete(), FCALCalorHit::operator delete(), XAluminumElectrodeHit::operator delete(), ExN04CalorimeterHit::operator delete(), eRositaTrackerHit::operator delete(), Em10CalorHit::operator delete(), HadrontherapyDetectorHit::operator delete(), G4DCofThisEvent::operator delete(), ExP01TrackerHit::operator delete(), XrayFluoSensorHit::operator delete(), GammaRayTelTrackerHit::operator delete(), ExN02TrackerHit::operator delete(), IORTDetectorHit::operator delete(), GammaRayTelAnticoincidenceHit::operator delete(), GammaRayTelCalorimeterHit::operator delete(), GammaRayTelDigi::operator delete(), DMXScintHit::operator delete(), DMXPmtHit::operator delete(), RMC01DoubleWithWeightHit::operator delete(), G4TDigiCollection< T >::operator delete(), CexmcTrackPointsStore::operator delete(), CexmcEnergyDepositStore::operator delete(), and CexmcTrackPointInfo::operator delete().
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 225 of file G4Allocator.hh.
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 235 of file G4Allocator.hh.
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 245 of file G4Allocator.hh.
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 255 of file G4Allocator.hh.
|
inline |
Definition at line 191 of file G4Allocator.hh.
Referenced by G4Allocator< Type >::allocate(), ExN04MuonHit::operator new(), ExN04TrackerHit::operator new(), H02MuonHit::operator new(), FCALCalorHit::operator new(), XAluminumElectrodeHit::operator new(), ExN04CalorimeterHit::operator new(), eRositaTrackerHit::operator new(), Em10CalorHit::operator new(), HadrontherapyDetectorHit::operator new(), G4DCofThisEvent::operator new(), ExP01TrackerHit::operator new(), XrayFluoSensorHit::operator new(), GammaRayTelTrackerHit::operator new(), ExN02TrackerHit::operator new(), IORTDetectorHit::operator new(), GammaRayTelAnticoincidenceHit::operator new(), GammaRayTelCalorimeterHit::operator new(), GammaRayTelDigi::operator new(), DMXScintHit::operator new(), DMXPmtHit::operator new(), RMC01DoubleWithWeightHit::operator new(), CexmcTrackPointsStore::operator new(), G4TDigiCollection< T >::operator new(), CexmcEnergyDepositStore::operator new(), and CexmcTrackPointInfo::operator new().
|
inline |
Definition at line 144 of file G4Allocator.hh.
|
inlinevirtual |
Implements G4AllocatorBase.
Definition at line 212 of file G4Allocator.hh.
G4AllocatorPool G4Allocator< Type >::mem |
Definition at line 155 of file G4Allocator.hh.