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/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. | |
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) |
Private Types | |
enum | { LABELSTRINGS_LEN = 4 } |
Private Member Functions | |
void | init () |
Private Attributes | |
std::string | name |
int | type |
std::string | stringValue |
int64 | longValue |
double | doubleValue |
bool | booleanValue |
std::vector< double > | colorValue |
int | showLabelValue |
Static Private Attributes | |
static std::string | labelStrings [LABELSTRINGS_LEN] |
Definition at line 16 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 16 of file DefaultHepRepAttValue.h
|
private |
Definition at line 19 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 19 of file DefaultHepRepAttValue.h
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
std::string | value, | ||
int | showLabel | ||
) |
Definition at line 26 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 26 of file DefaultHepRepAttValue.cc
References init().
Referenced by copy().
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int64 | value, | ||
int | showLabel | ||
) |
Definition at line 38 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 38 of file DefaultHepRepAttValue.cc
References init().
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
int | value, | ||
int | showLabel | ||
) |
Definition at line 49 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 49 of file DefaultHepRepAttValue.cc
References init().
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
double | value, | ||
int | showLabel | ||
) |
Definition at line 60 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 60 of file DefaultHepRepAttValue.cc
References init().
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
bool | value, | ||
int | showLabel | ||
) |
Definition at line 71 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 71 of file DefaultHepRepAttValue.cc
References init().
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue | ( | std::string | name, |
std::vector< double > | value, | ||
int | showLabel | ||
) |
Definition at line 82 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 82 of file DefaultHepRepAttValue.cc
References init().
cheprep::DefaultHepRepAttValue::~DefaultHepRepAttValue | ( | ) |
Definition at line 94 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 94 of file DefaultHepRepAttValue.cc
|
virtual |
Returns a deep copy of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 104 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 104 of file DefaultHepRepAttValue.cc
References booleanValue, colorValue, DefaultHepRepAttValue(), doubleValue, longValue, showLabelValue, stringValue, and type.
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 192 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 192 of file DefaultHepRepAttValue.cc
References getBoolean(), getColor(), getDouble(), getInteger(), getLong(), getString(), and type.
Referenced by cheprep::XMLWriter::setAttribute().
|
static |
Definition at line 204 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 204 of file DefaultHepRepAttValue.cc
References buffer.
|
static |
Definition at line 214 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 214 of file DefaultHepRepAttValue.cc
References buffer.
|
static |
Definition at line 220 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 220 of file DefaultHepRepAttValue.cc
References buffer, and CHEPREP_INT64_FORMAT.
|
static |
Definition at line 227 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 227 of file DefaultHepRepAttValue.cc
References buffer.
|
static |
Definition at line 233 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 233 of file DefaultHepRepAttValue.cc
|
virtual |
Returns value as boolean.
Implements HEPREP::HepRepAttValue.
Definition at line 181 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 181 of file DefaultHepRepAttValue.cc
References booleanValue, getName(), and type.
Referenced by getAsString().
|
virtual |
Returns value as Color.
Implements HEPREP::HepRepAttValue.
Definition at line 186 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 186 of file DefaultHepRepAttValue.cc
References colorValue, getName(), and type.
Referenced by getAsString().
|
virtual |
Returns value as double.
Implements HEPREP::HepRepAttValue.
Definition at line 176 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 176 of file DefaultHepRepAttValue.cc
References doubleValue, getName(), and type.
Referenced by getAsString().
|
virtual |
Returns value as int.
Implements HEPREP::HepRepAttValue.
Definition at line 171 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 171 of file DefaultHepRepAttValue.cc
References getName(), longValue, and type.
Referenced by getAsString().
|
virtual |
Returns value as long.
Implements HEPREP::HepRepAttValue.
Definition at line 166 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 166 of file DefaultHepRepAttValue.cc
References getName(), longValue, and type.
Referenced by getAsString().
|
virtual |
Returns lowercased name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 128 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 128 of file DefaultHepRepAttValue.cc
References int(), name, and Acts::Test::transform.
|
virtual |
Returns value as lowercase string.
Implements HEPREP::HepRepAttValue.
Definition at line 159 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 159 of file DefaultHepRepAttValue.cc
References getName(), int(), stringValue, Acts::Test::transform, and type.
|
virtual |
Returns name of the attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 124 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 124 of file DefaultHepRepAttValue.cc
References name.
Referenced by getBoolean(), getColor(), getDouble(), getInteger(), getLong(), getLowerCaseString(), and getString().
|
virtual |
Returns value as string.
Implements HEPREP::HepRepAttValue.
Definition at line 154 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 154 of file DefaultHepRepAttValue.cc
References getName(), stringValue, and type.
Referenced by getAsString().
|
virtual |
Returns type of the attvalue, defined in HepRepConstants with names TYPE_xxx.
Implements HEPREP::HepRepAttValue.
Definition at line 134 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 134 of file DefaultHepRepAttValue.cc
References type.
|
virtual |
Returns the Java-like name for the type of this attvalue.
Implements HEPREP::HepRepAttValue.
Definition at line 138 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 138 of file DefaultHepRepAttValue.cc
References type.
Definition at line 97 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 97 of file DefaultHepRepAttValue.cc
References labelStrings.
Referenced by DefaultHepRepAttValue().
|
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 150 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 150 of file DefaultHepRepAttValue.cc
References showLabelValue.
Referenced by toShowLabel().
string cheprep::DefaultHepRepAttValue::toShowLabel | ( | ) |
Definition at line 240 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 240 of file DefaultHepRepAttValue.cc
References showLabel().
Referenced by cheprep::XMLWriter::setAttribute().
|
static |
Definition at line 245 of file DefaultHepRepAttValue.cc.
View newest version in sPHENIX GitHub at line 245 of file DefaultHepRepAttValue.cc
References labelStrings, and LABELSTRINGS_LEN.
|
private |
Definition at line 28 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 28 of file DefaultHepRepAttValue.h
Referenced by copy(), and getBoolean().
|
private |
Definition at line 29 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 29 of file DefaultHepRepAttValue.h
Referenced by copy(), and getColor().
|
private |
Definition at line 27 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 27 of file DefaultHepRepAttValue.h
Referenced by copy(), and getDouble().
|
staticprivate |
Definition at line 32 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 32 of file DefaultHepRepAttValue.h
Referenced by init(), and toShowLabel().
|
private |
Definition at line 26 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 26 of file DefaultHepRepAttValue.h
Referenced by copy(), getInteger(), and getLong().
|
private |
Definition at line 20 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 20 of file DefaultHepRepAttValue.h
Referenced by getLowerCaseName(), and getName().
|
private |
Definition at line 31 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 31 of file DefaultHepRepAttValue.h
Referenced by copy(), and showLabel().
|
private |
Definition at line 25 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 25 of file DefaultHepRepAttValue.h
Referenced by copy(), getLowerCaseString(), and getString().
|
private |
Definition at line 21 of file DefaultHepRepAttValue.h.
View newest version in sPHENIX GitHub at line 21 of file DefaultHepRepAttValue.h
Referenced by copy(), getAsString(), getBoolean(), getColor(), getDouble(), getInteger(), getLong(), getLowerCaseString(), getString(), getType(), and getTypeName().