ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/cheprep/DefaultHepRepType.h>
Public Member Functions | |
DefaultHepRepType (HEPREP::HepRepType *parent, std::string name) | |
DefaultHepRepType (HEPREP::HepRepTypeTree *parent, std::string name) | |
~DefaultHepRepType () | |
HEPREP::HepRepType * | getSuperType () |
HEPREP::HepRepAttDef * | getAttDef (std::string name) |
HEPREP::HepRepAttValue * | getAttValue (std::string name) |
HEPREP::HepRepType * | copy (HEPREP::HepRepType *parent) |
std::string | getName () |
std::string | getFullName () |
std::string | getDescription () |
void | setDescription (std::string description) |
std::string | getInfoURL () |
void | setInfoURL (std::string infoURL) |
void | addType (HEPREP::HepRepType *type) |
std::vector< HEPREP::HepRepType * > | getTypeList () |
Public Member Functions inherited from cheprep::DefaultHepRepDefinition | |
DefaultHepRepDefinition () | |
~DefaultHepRepDefinition () | |
void | addAttDef (HEPREP::HepRepAttDef *hepRepAttDef) |
void | addAttDef (std::string name, std::string desc, std::string type, std::string extra) |
std::set< HEPREP::HepRepAttDef * > | getAttDefsFromNode () |
HEPREP::HepRepAttDef * | getAttDefFromNode (std::string lowerCaseName) |
Public Member Functions inherited from cheprep::DefaultHepRepAttribute | |
DefaultHepRepAttribute () | |
~DefaultHepRepAttribute () | |
std::set < HEPREP::HepRepAttValue * > | getAttValuesFromNode () |
void | addAttValue (HEPREP::HepRepAttValue *hepRepAttValue) |
void | addAttValue (std::string key, char *value, int showLabel) |
void | addAttValue (std::string key, std::string value, int showLabel) |
void | addAttValue (std::string key, int value, int showLabel) |
void | addAttValue (std::string key, int64 value, int showLabel) |
void | addAttValue (std::string key, double value, int showLabel) |
void | addAttValue (std::string key, bool value, int showLabel) |
void | addAttValue (std::string key, std::vector< double > value, int showLabel) |
void | addAttValue (std::string key, double red, double green, double blue, double alpha, int showLabel) |
HEPREP::HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName) |
HEPREP::HepRepAttValue * | removeAttValue (std::string key) |
Public Member Functions inherited from HEPREP::HepRepAttribute | |
virtual | ~HepRepAttribute () |
Destructor. | |
Public Member Functions inherited from HEPREP::HepRepDefinition | |
virtual | ~HepRepDefinition () |
Destructor. | |
Public Member Functions inherited from HEPREP::HepRepType | |
virtual | ~HepRepType () |
Destructor. | |
Private Attributes | |
HEPREP::HepRepType * | parent |
std::vector< HEPREP::HepRepType * > | types |
std::string | name |
std::string | description |
std::string | infoURL |
Definition at line 24 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 24 of file DefaultHepRepType.h
cheprep::DefaultHepRepType::DefaultHepRepType | ( | HEPREP::HepRepType * | parent, |
std::string | name | ||
) |
Definition at line 13 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 13 of file DefaultHepRepType.cc
References HEPREP::HepRepType::addType(), description, infoURL, and parent.
cheprep::DefaultHepRepType::DefaultHepRepType | ( | HEPREP::HepRepTypeTree * | parent, |
std::string | name | ||
) |
Definition at line 24 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 24 of file DefaultHepRepType.cc
References HEPREP::HepRepTypeTree::addType(), description, and infoURL.
cheprep::DefaultHepRepType::~DefaultHepRepType | ( | ) |
Definition at line 32 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 32 of file DefaultHepRepType.cc
References types.
|
virtual |
Adds a sub-type to this type.
type | sub-type to be added. |
Implements HEPREP::HepRepType.
Definition at line 102 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 102 of file DefaultHepRepType.cc
References types.
|
virtual |
Returns a deep copy of this type.
parent | to which this copy is added. |
Implements HEPREP::HepRepType.
Definition at line 73 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 73 of file DefaultHepRepType.cc
|
virtual |
Return a named attribute definition searched on this node and any parent nodes.
name | of attribute definition. |
Implements cheprep::DefaultHepRepDefinition.
Definition at line 42 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 42 of file DefaultHepRepType.cc
References HEPREP::HepRepDefinition::getAttDefFromNode(), and HEPREP::HepRepType::getSuperType().
|
virtual |
searched for a value with given name. Search up the type tree if needed.
Implements cheprep::DefaultHepRepDefinition.
Definition at line 59 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 59 of file DefaultHepRepType.cc
References HEPREP::HepRepAttribute::getAttValueFromNode(), and HEPREP::HepRepType::getSuperType().
|
virtual |
Returns the description of this type.
Implements HEPREP::HepRepType.
Definition at line 86 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 86 of file DefaultHepRepType.cc
References description.
|
virtual |
Returns the full name of this type. The full name is constructed from the root of the typeTree (without the typeTreeName) by concatenating all the node names separated by slashes "/". For example: Geometry/InnerDetector/Sector24/Wire20
Implements HEPREP::HepRepType.
Definition at line 82 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 82 of file DefaultHepRepType.cc
References HEPREP::HepRepType::getFullName(), getName(), and getSuperType().
|
virtual |
Returns the information URL of this type.
Implements HEPREP::HepRepType.
Definition at line 94 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 94 of file DefaultHepRepType.cc
References infoURL.
|
virtual |
Returns the name of this type. This is the full name if one uses flat-types, and the node name if one uses hierarchical typenames. It is the name supplied at construction of the type.
Implements HEPREP::HepRepType.
Definition at line 78 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 78 of file DefaultHepRepType.cc
References name.
Referenced by getFullName().
|
virtual |
Returns the parent of this type.
Implements HEPREP::HepRepType.
Definition at line 38 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 38 of file DefaultHepRepType.cc
References parent.
Referenced by getFullName().
|
virtual |
Returns a collection of all the sub-types of this type.
Implements HEPREP::HepRepType.
Definition at line 107 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 107 of file DefaultHepRepType.cc
References types.
|
virtual |
Sets the description of this type.
infoURL |
Implements HEPREP::HepRepType.
Definition at line 90 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 90 of file DefaultHepRepType.cc
References incremental_prev_tag::desc, and description.
|
virtual |
Sets the information URL of this type.
infoURL |
Implements HEPREP::HepRepType.
Definition at line 98 of file DefaultHepRepType.cc.
View newest version in sPHENIX GitHub at line 98 of file DefaultHepRepType.cc
References infoURL.
|
private |
Definition at line 30 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 30 of file DefaultHepRepType.h
Referenced by DefaultHepRepType(), getDescription(), and setDescription().
|
private |
Definition at line 31 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 31 of file DefaultHepRepType.h
Referenced by DefaultHepRepType(), getInfoURL(), and setInfoURL().
|
private |
Definition at line 29 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 29 of file DefaultHepRepType.h
Referenced by getName().
|
private |
Definition at line 27 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 27 of file DefaultHepRepType.h
Referenced by DefaultHepRepType(), and getSuperType().
|
private |
Definition at line 28 of file DefaultHepRepType.h.
View newest version in sPHENIX GitHub at line 28 of file DefaultHepRepType.h
Referenced by addType(), getTypeList(), and ~DefaultHepRepType().