Geant4
10.03.p02
|
#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) |
Public Member Functions inherited from HEPREP::HepRepAttribute | |
virtual | ~HepRepAttribute () |
Destructor. More... | |
Public Member Functions inherited from HEPREP::HepRepDefinition | |
virtual | ~HepRepDefinition () |
Destructor. More... | |
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.
|
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.
|
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.