Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes
G4ProcessVector Class Reference

#include <G4ProcessVector.hh>

Public Member Functions

 G4ProcessVector ()
 
 G4ProcessVector (size_t)
 
 G4ProcessVector (const G4ProcessVector &)
 
virtual ~G4ProcessVector ()
 
G4ProcessVectoroperator= (const G4ProcessVector &right)
 
G4bool operator== (const G4ProcessVector &right) const
 
G4int entries () const
 
G4int length () const
 
G4int size () const
 
G4int index (G4VProcess *aProcess) const
 
G4bool contains (G4VProcess *aProcess) const
 
G4bool insert (G4VProcess *aProcess)
 
G4bool insertAt (G4int i, G4VProcess *aProcess)
 
G4VProcessremoveAt (G4int i)
 
G4VProcessremoveLast ()
 
void clear ()
 
G4VProcess *const & operator[] (G4int i) const
 
G4VProcess *const & operator() (G4int i) const
 
G4VProcess *& operator[] (G4int i)
 
G4VProcess *& operator() (G4int i)
 

Protected Types

typedef std::vector< G4VProcess * > G4ProcVector
 

Protected Attributes

G4ProcVectorpProcVector
 

Detailed Description

Definition at line 46 of file G4ProcessVector.hh.

Member Typedef Documentation

typedef std::vector<G4VProcess*> G4ProcessVector::G4ProcVector
protected

Definition at line 100 of file G4ProcessVector.hh.

Constructor & Destructor Documentation

G4ProcessVector::G4ProcessVector ( )

Definition at line 41 of file G4ProcessVector.cc.

References pProcVector.

42 {
43  pProcVector = new G4ProcVector();
44 }
G4ProcVector * pProcVector
std::vector< G4VProcess * > G4ProcVector
G4ProcessVector::G4ProcessVector ( size_t  siz)
explicit

Definition at line 46 of file G4ProcessVector.cc.

References pProcVector.

47 {
48  pProcVector = new G4ProcVector(siz);
49 }
G4ProcVector * pProcVector
std::vector< G4VProcess * > G4ProcVector
G4ProcessVector::G4ProcessVector ( const G4ProcessVector right)

Definition at line 51 of file G4ProcessVector.cc.

References pProcVector.

52  :pProcVector(0)
53 {
54  pProcVector = new G4ProcVector();
55 
56  // copy all contents in pProcVector
57  //
58  G4ProcVector::iterator i;
59  for (i = right.pProcVector->begin(); i!= right.pProcVector->end(); ++i){
60  pProcVector->push_back(*i);
61  }
62 }
G4ProcVector * pProcVector
std::vector< G4VProcess * > G4ProcVector
G4ProcessVector::~G4ProcessVector ( )
virtual

Definition at line 66 of file G4ProcessVector.cc.

References pProcVector.

67 {
68  // delete pProcVector
69  //
70  if (pProcVector != 0 ){
71  pProcVector->clear();
72  delete pProcVector;
73  }
74 }
G4ProcVector * pProcVector

Member Function Documentation

void G4ProcessVector::clear ( )
G4bool G4ProcessVector::contains ( G4VProcess aProcess) const
G4int G4ProcessVector::entries ( ) const
G4int G4ProcessVector::index ( G4VProcess aProcess) const
G4bool G4ProcessVector::insert ( G4VProcess aProcess)
G4bool G4ProcessVector::insertAt ( G4int  i,
G4VProcess aProcess 
)
G4int G4ProcessVector::length ( ) const
G4VProcess* const& G4ProcessVector::operator() ( G4int  i) const
G4VProcess* & G4ProcessVector::operator() ( G4int  i)
G4ProcessVector & G4ProcessVector::operator= ( const G4ProcessVector right)

Definition at line 78 of file G4ProcessVector.cc.

References pProcVector.

79 {
80  if (this != &right){
81  // delete pProcVector
82  if (pProcVector != 0 ){
83  pProcVector->clear();
84  delete pProcVector;
85  }
86 
87  pProcVector = new G4ProcVector();
88 
89  // copy all contents in pProcVector
90  //
91  G4ProcVector::iterator i;
92  for (i = right.pProcVector->begin(); i!= right.pProcVector->end(); ++i){
93  pProcVector->push_back(*i);
94  }
95  }
96  return *this;
97 }
G4ProcVector * pProcVector
std::vector< G4VProcess * > G4ProcVector
G4bool G4ProcessVector::operator== ( const G4ProcessVector right) const
G4VProcess* const& G4ProcessVector::operator[] ( G4int  i) const
G4VProcess* & G4ProcessVector::operator[] ( G4int  i)
G4VProcess* G4ProcessVector::removeAt ( G4int  i)
G4VProcess* G4ProcessVector::removeLast ( )
G4int G4ProcessVector::size ( ) const

Referenced by G4BiasingHelper::ActivatePhysicsBiasing(), G4ITStepProcessor::ActiveOnlyITProcess(), G4HadronElasticPhysicsXS::AddXSection(), G4hImpactIonisation::AlongStepDoIt(), RunAction::BeginOfRunAction(), G4VUserPhysicsList::BuildPhysicsTable(), G4PhysicsListHelper::CheckParticleList(), G4NeutronCrossSectionXS::ConstructProcess(), G4EmUserPhysics::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), G4TheRayTracer::CreateBitMap(), G4HadronicProcess::FillResult(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4PhysListUtil::FindInelasticProcess(), G4VHadronPhysics::FindInelasticProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4BiasingProcessInterface::IsFirstPostStepDoItInterface(), G4BiasingProcessInterface::IsFirstPostStepGPILInterface(), G4BiasingProcessInterface::IsLastPostStepDoItInterface(), G4BiasingProcessInterface::IsLastPostStepGPILInterface(), G4HadronElasticProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), G4VMultipleScattering::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VUserPhysicsList::PreparePhysicsTable(), G4StackManager::PushOneTrack(), G4PhysicsListHelper::RegisterProcess(), G4VUserPhysicsList::RetrievePhysicsTable(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4RunManagerKernel::SetupShadowProcess(), and G4VUserPhysicsList::StorePhysicsTable().

Field Documentation

G4ProcVector* G4ProcessVector::pProcVector
protected

Definition at line 102 of file G4ProcessVector.hh.

Referenced by G4ProcessVector(), operator=(), and ~G4ProcessVector().


The documentation for this class was generated from the following files: