#include <BDSLine.hh>
Inheritance diagram for BDSLine:
Public Types | |
typedef std::vector< BDSAcceleratorComponent * >::iterator | BDSLineIterator |
define iterator for ease of reading | |
Public Member Functions | |
BDSLine (G4String name) | |
~BDSLine () | |
void | addComponent (BDSAcceleratorComponent *component) |
BDSLineIterator | begin () |
BDSLineIterator | end () |
virtual void | Initialise () |
Private Member Functions | |
virtual void | BuildContainerLogicalVolume () |
define pure virtual method | |
Private Attributes | |
std::vector< BDSAcceleratorComponent * > | line |
vector |
Not physically used in Geant4, only as placeholder. Therefore virtual methods are not specified, but could be in the future.
Memory of components is not owned
Definition at line 16 of file BDSLine.hh.
void BDSLine::Initialise | ( | ) | [virtual] |
Override the BDSAccelerator::Initialise() function to loop over the line and call that function belonging to each member
Reimplemented from BDSAcceleratorComponent.
Definition at line 16 of file BDSLine.cc.
References begin(), and end().
Here is the call graph for this function: