|
Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <DefaultHepRepInstanceTree.h>
Inheritance diagram for cheprep::DefaultHepRepInstanceTree:Public Member Functions | |
| DefaultHepRepInstanceTree (std::string name, std::string version, HEPREP::HepRepTreeID *typeTree) | |
| ~DefaultHepRepInstanceTree () | |
| void | overlay (HEPREP::HepRepInstanceTree *instanceTree) |
| HEPREP::HepRepInstanceTree * | copy (HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter) |
| void | addInstance (HEPREP::HepRepInstance *instance) |
| void | removeInstance (HEPREP::HepRepInstance *instance) |
| std::vector< HEPREP::HepRepInstance * > | getInstances () |
| void | addInstanceTree (HEPREP::HepRepTreeID *treeID) |
| HEPREP::HepRepTreeID * | getTypeTree () |
| std::vector< HEPREP::HepRepTreeID * > | getInstanceTreeList () |
Public Member Functions inherited from cheprep::DefaultHepRepTreeID | |
| DefaultHepRepTreeID (std::string name, std::string version, std::string qualifier="top_level") | |
| ~DefaultHepRepTreeID () | |
| std::string | getQualifier () |
| void | setQualifier (std::string qualifier) |
| std::string | getName () |
| std::string | getVersion () |
Public Member Functions inherited from HEPREP::HepRepTreeID | |
| virtual | ~HepRepTreeID () |
| Destructor. | |
| virtual std::string | getName ()=0 |
| virtual std::string | getVersion ()=0 |
| virtual std::string | getQualifier ()=0 |
| virtual void | setQualifier (std::string qualifier)=0 |
Public Member Functions inherited from HEPREP::HepRepInstanceTree | |
| virtual | ~HepRepInstanceTree () |
| Destructor. | |
| virtual void | overlay (HepRepInstanceTree *instanceTree)=0 |
| virtual void | addInstance (HepRepInstance *instance)=0 |
| virtual void | removeInstance (HepRepInstance *instance)=0 |
| virtual std::vector< HepRepInstance * > | getInstances ()=0 |
| virtual void | addInstanceTree (HepRepTreeID *instanceTree)=0 |
| virtual std::vector< HepRepTreeID * > | getInstanceTreeList ()=0 |
| virtual HepRepTreeID * | getTypeTree ()=0 |
| virtual HepRepInstanceTree * | copy (HepRepTypeTree *typeTree, HepRepSelectFilter *filter=NULL)=0 |
Definition at line 25 of file DefaultHepRepInstanceTree.h.
| cheprep::DefaultHepRepInstanceTree::DefaultHepRepInstanceTree | ( | std::string | name, |
| std::string | version, | ||
| HEPREP::HepRepTreeID * | typeTree | ||
| ) |
Definition at line 13 of file DefaultHepRepInstanceTree.cc.
| cheprep::DefaultHepRepInstanceTree::~DefaultHepRepInstanceTree | ( | ) |
Definition at line 17 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Adds an instance to this instancetree.
| instance | to be added. |
Implements HEPREP::HepRepInstanceTree.
Definition at line 33 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Adds a related instance tree to this instancetree.
| instanceTree | related instancetree. |
Implements HEPREP::HepRepInstanceTree.
Definition at line 45 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Returns a deep copy of this instancetree.
| filter | to filter the instances. |
Implements HEPREP::HepRepInstanceTree.
Definition at line 28 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Returns a collection of instances.
Implements HEPREP::HepRepInstanceTree.
Definition at line 41 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Returns a collection of associated instance trees.
Implements HEPREP::HepRepInstanceTree.
Definition at line 53 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Returns the associated typetree.
Implements HEPREP::HepRepInstanceTree.
Definition at line 49 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Overlays the instance tree on the current tree.
The list of instances of the instanceTree has to be the same as the current tree.
Implements HEPREP::HepRepInstanceTree.
Definition at line 24 of file DefaultHepRepInstanceTree.cc.
|
virtual |
Removes an instance from this instancetree.
| instance | to be removed. |
Implements HEPREP::HepRepInstanceTree.
Definition at line 37 of file DefaultHepRepInstanceTree.cc.