Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <HepRepInstanceTree.h>
Public Member Functions | |
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 |
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 |
HepRepInstanceTree interface.
Definition at line 28 of file HepRepInstanceTree.h.
|
inlinevirtual |
|
pure virtual |
Adds an instance to this instancetree.
instance | to be added. |
Implemented in cheprep::DefaultHepRepInstanceTree.
Referenced by cheprep::DefaultHepRepInstance::DefaultHepRepInstance().
|
pure virtual |
Adds a related instance tree to this instancetree.
instanceTree | related instancetree. |
Implemented in cheprep::DefaultHepRepInstanceTree.
Referenced by G4HepRepSceneHandler::closeHepRep().
|
pure virtual |
Returns a deep copy of this instancetree.
filter | to filter the instances. |
Implemented in cheprep::DefaultHepRepInstanceTree.
|
pure virtual |
Returns a collection of instances.
Implemented in cheprep::DefaultHepRepInstanceTree.
Referenced by cheprep::XMLHepRepWriter::write().
|
pure virtual |
Returns a collection of associated instance trees.
Implemented in cheprep::DefaultHepRepInstanceTree.
Referenced by cheprep::XMLHepRepWriter::write().
|
pure virtual |
Returns the associated typetree.
Implemented in cheprep::DefaultHepRepInstanceTree.
Referenced by cheprep::XMLHepRepWriter::write().
|
pure 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.
Implemented in cheprep::DefaultHepRepInstanceTree.
|
pure virtual |
Removes an instance from this instancetree.
instance | to be removed. |
Implemented in cheprep::DefaultHepRepInstanceTree.