Geant4
10.03.p01
|
#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. More... | |
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 | ||
) |
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int64 | value, | ||
int | showLabel | ||
) |
Definition at line 39 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int | value, | ||
int | showLabel | ||
) |
Definition at line 50 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
double | value, | ||
int | showLabel | ||
) |
Definition at line 61 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
bool | value, | ||
int | showLabel | ||
) |
Definition at line 72 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
std::vector< double > | value, | ||
int | showLabel | ||
) |
Definition at line 83 of file DefaultHepRepAttValue.cc.
cheprep::DefaultHepRepAttValue::~DefaultHepRepAttValue | ( | ) |
Definition at line 95 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns a deep copy of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 105 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 193 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 205 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 215 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 221 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 228 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 234 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as boolean.
Implements HEPREP::HepRepAttValue.
Definition at line 182 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as Color.
Implements HEPREP::HepRepAttValue.
Definition at line 187 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as double.
Implements HEPREP::HepRepAttValue.
Definition at line 177 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as int.
Implements HEPREP::HepRepAttValue.
Definition at line 172 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as long.
Implements HEPREP::HepRepAttValue.
Definition at line 167 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns lowercased name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 129 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as lowercase string.
Implements HEPREP::HepRepAttValue.
Definition at line 160 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 125 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 155 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns type of the attvalue, defined in HepRepConstants with names TYPE_xxx.
Implements HEPREP::HepRepAttValue.
Definition at line 135 of file DefaultHepRepAttValue.cc.
|
virtual |
Returns the Java-like name for the type of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 139 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 151 of file DefaultHepRepAttValue.cc.
string cheprep::DefaultHepRepAttValue::toShowLabel | ( | ) |
Definition at line 241 of file DefaultHepRepAttValue.cc.
|
static |
Definition at line 246 of file DefaultHepRepAttValue.cc.