Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <DefaultHepRepDefinition.h>
Public Member Functions | |
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) |
HEPREP::HepRepAttDef * | getAttDef (std::string name)=0 |
HEPREP::HepRepAttValue * | getAttValue (std::string name)=0 |
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) |
HEPREP::HepRepAttValue * | getAttValue (std::string name)=0 |
Public Member Functions inherited from HEPREP::HepRepAttribute | |
virtual | ~HepRepAttribute () |
Destructor. | |
virtual void | addAttValue (HepRepAttValue *attValue)=0 |
virtual void | addAttValue (std::string key, char *value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, std::string value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, int64 value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, int value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, double value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, bool value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, std::vector< double > value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, double red, double green, double blue, double alpha=1.0, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual HepRepAttValue * | removeAttValue (std::string key)=0 |
virtual HepRepAttValue * | getAttValue (std::string name)=0 |
virtual std::set< HepRepAttValue * > | getAttValuesFromNode ()=0 |
virtual HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName)=0 |
Public Member Functions inherited from HEPREP::HepRepDefinition | |
virtual | ~HepRepDefinition () |
Destructor. | |
virtual void | addAttDef (std::string name, std::string desc, std::string category, std::string extra)=0 |
virtual void | addAttDef (HepRepAttDef *attDef)=0 |
virtual HepRepAttDef * | getAttDef (std::string name)=0 |
virtual std::set< HepRepAttDef * > | getAttDefsFromNode ()=0 |
virtual HepRepAttDef * | getAttDefFromNode (std::string lowerCaseName)=0 |
Definition at line 22 of file DefaultHepRepDefinition.h.
cheprep::DefaultHepRepDefinition::DefaultHepRepDefinition | ( | ) |
Definition at line 18 of file DefaultHepRepDefinition.cc.
cheprep::DefaultHepRepDefinition::~DefaultHepRepDefinition | ( | ) |
Definition at line 22 of file DefaultHepRepDefinition.cc.
|
virtual |
Adds an attdef.
attDef | to be added. |
Implements HEPREP::HepRepDefinition.
Definition at line 37 of file DefaultHepRepDefinition.cc.
Referenced by addAttDef().
|
virtual |
Adds an attdef.
name | name of the definition. |
desc | description of the definition. |
category | category of the definition. |
extra | extra info of the definition. |
Implements HEPREP::HepRepDefinition.
Definition at line 43 of file DefaultHepRepDefinition.cc.
|
pure virtual |
Return a named attribute definition searched on this node and any parent nodes.
name | of attribute definition. |
Implements HEPREP::HepRepDefinition.
Implemented in cheprep::DefaultHepRepType.
|
virtual |
Returns a named attribute definition defined on this node.
lowerCaseName | name of the attribute in lower case. |
Implements HEPREP::HepRepDefinition.
Definition at line 47 of file DefaultHepRepDefinition.cc.
|
virtual |
Returns a collection of all attribute definitions defined on this node.
Implements HEPREP::HepRepDefinition.
Definition at line 29 of file DefaultHepRepDefinition.cc.
Referenced by ~DefaultHepRepDefinition().
|
pure virtual |
Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.
name | of attribute value. |
Implements cheprep::DefaultHepRepAttribute.
Implemented in cheprep::DefaultHepRepType.