Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <DefaultHepRepTypeTree.h>
Public Member Functions | |
DefaultHepRepTypeTree (HEPREP::HepRepTreeID *typeTree) | |
~DefaultHepRepTypeTree () | |
HEPREP::HepRepTypeTree * | copy () |
void | addType (HEPREP::HepRepType *type) |
std::vector< HEPREP::HepRepType * > | getTypeList () |
HEPREP::HepRepType * | getType (std::string name) |
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::HepRepTypeTree | |
virtual | ~HepRepTypeTree () |
Destructor. | |
virtual void | addType (HepRepType *type)=0 |
virtual std::vector< HepRepType * > | getTypeList ()=0 |
virtual HepRepType * | getType (std::string fullName)=0 |
virtual HepRepTypeTree * | copy ()=0 |
Definition at line 24 of file DefaultHepRepTypeTree.h.
cheprep::DefaultHepRepTypeTree::DefaultHepRepTypeTree | ( | HEPREP::HepRepTreeID * | typeTree | ) |
Definition at line 15 of file DefaultHepRepTypeTree.cc.
cheprep::DefaultHepRepTypeTree::~DefaultHepRepTypeTree | ( | ) |
Definition at line 20 of file DefaultHepRepTypeTree.cc.
|
virtual |
Adds a type to this typetree.
type | to be added. |
Implements HEPREP::HepRepTypeTree.
Definition at line 31 of file DefaultHepRepTypeTree.cc.
|
virtual |
Returns a deep copy of this typetree.
Implements HEPREP::HepRepTypeTree.
Definition at line 26 of file DefaultHepRepTypeTree.cc.
|
virtual |
Returns type
Implements HEPREP::HepRepTypeTree.
Definition at line 40 of file DefaultHepRepTypeTree.cc.
|
virtual |
Returns a collection of all types in this tree.
Implements HEPREP::HepRepTypeTree.
Definition at line 36 of file DefaultHepRepTypeTree.cc.