Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <DefaultHepRepAttValue.h>
Public Member Functions | |
DefaultHepRepAttValue (std::string name, std::string value, int showLabel) | |
DefaultHepRepAttValue (std::string name, int64 value, int showLabel) | |
DefaultHepRepAttValue (std::string name, int value, int showLabel) | |
DefaultHepRepAttValue (std::string name, double value, int showLabel) | |
DefaultHepRepAttValue (std::string name, bool value, int showLabel) | |
DefaultHepRepAttValue (std::string name, std::vector< double > value, int showLabel) | |
~DefaultHepRepAttValue () | |
HEPREP::HepRepAttValue * | copy () |
std::string | getName () |
std::string | getLowerCaseName () |
int | getType () |
std::string | getTypeName () |
int | showLabel () |
std::string | getString () |
std::string | getLowerCaseString () |
int64 | getLong () |
int | getInteger () |
double | getDouble () |
bool | getBoolean () |
std::vector< double > | getColor () |
std::string | getAsString () |
std::string | toShowLabel () |
Public Member Functions inherited from HEPREP::HepRepAttValue | |
virtual | ~HepRepAttValue () |
Destructor. | |
virtual std::string | getName ()=0 |
virtual std::string | getLowerCaseName ()=0 |
virtual int | getType ()=0 |
virtual std::string | getTypeName ()=0 |
virtual int | showLabel ()=0 |
virtual std::string | getString ()=0 |
virtual std::string | getLowerCaseString ()=0 |
virtual std::string | getAsString ()=0 |
virtual std::vector< double > | getColor ()=0 |
virtual int64 | getLong ()=0 |
virtual int | getInteger ()=0 |
virtual double | getDouble ()=0 |
virtual bool | getBoolean ()=0 |
virtual HepRepAttValue * | copy ()=0 |
Static Public Member Functions | |
static std::string | getAsString (std::vector< double > c) |
static std::string | getAsString (int i) |
static std::string | getAsString (int64 i) |
static std::string | getAsString (double d) |
static std::string | getAsString (bool b) |
static std::string | toShowLabel (int showLabel) |
Definition at line 17 of file DefaultHepRepAttValue.h.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
std::string | value, | ||
int | showLabel | ||
) |
Definition at line 27 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int64 | value, | ||
int | showLabel | ||
) |
Definition at line 33 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int | value, | ||
int | showLabel | ||
) |
Definition at line 39 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
double | value, | ||
int | showLabel | ||
) |
Definition at line 45 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
bool | value, | ||
int | showLabel | ||
) |
Definition at line 51 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
std::vector< double > | value, | ||
int | showLabel | ||
) |
Definition at line 57 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::~DefaultHepRepAttValue | ( | ) |
Definition at line 63 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns a deep copy of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 73 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 153 of file DefaultHepRepAttValue.cc.
Referenced by getAsString(), and cheprep::XMLWriter::setAttribute().
|
static |
Definition at line 194 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 188 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 175 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 181 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 165 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as boolean.
Implements HEPREP::HepRepAttValue.
Definition at line 142 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns value as Color.
Implements HEPREP::HepRepAttValue.
Definition at line 147 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns value as double.
Implements HEPREP::HepRepAttValue.
Definition at line 137 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns value as int.
Implements HEPREP::HepRepAttValue.
Definition at line 132 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns value as long.
Implements HEPREP::HepRepAttValue.
Definition at line 127 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns lowercased name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 89 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as lowercase string.
Implements HEPREP::HepRepAttValue.
Definition at line 120 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 85 of file DefaultHepRepAttValue.cc.
Referenced by getBoolean(), getColor(), getDouble(), getInteger(), getLong(), getLowerCaseString(), and getString().
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 115 of file DefaultHepRepAttValue.cc.
Referenced by getAsString().
|
virtual |
Returns type of the attvalue, defined in HepRepConstants with names TYPE_xxx.
Implements HEPREP::HepRepAttValue.
Definition at line 95 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns the Java-like name for the type of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 99 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns the flag bits for showing this attvalue as a label, defined in HepRepConstants with names SHOW_xxx.
Implements HEPREP::HepRepAttValue.
Definition at line 111 of file DefaultHepRepAttValue.cc.
Referenced by toShowLabel().
string cheprep::DefaultHepRepAttValue::toShowLabel | ( | ) |
Definition at line 201 of file DefaultHepRepAttValue.cc.
Referenced by cheprep::XMLWriter::setAttribute(), and toShowLabel().
|
static |
Definition at line 206 of file DefaultHepRepAttValue.cc.