#include <DefaultHepRepAttValue.h>
|
| 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 () |
|
virtual | ~HepRepAttValue () |
| Destructor. More...
|
|
Definition at line 17 of file DefaultHepRepAttValue.h.
◆ anonymous enum
◆ DefaultHepRepAttValue() [1/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
std::string |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ DefaultHepRepAttValue() [2/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
int64 |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ DefaultHepRepAttValue() [3/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
int |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ DefaultHepRepAttValue() [4/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
double |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ DefaultHepRepAttValue() [5/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
bool |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ DefaultHepRepAttValue() [6/6]
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue |
( |
std::string |
name, |
|
|
std::vector< double > |
value, |
|
|
int |
showLabel |
|
) |
| |
◆ ~DefaultHepRepAttValue()
cheprep::DefaultHepRepAttValue::~DefaultHepRepAttValue |
( |
| ) |
|
◆ copy()
◆ getAsString() [1/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
| ) |
|
|
virtual |
◆ getAsString() [2/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
std::vector< double > |
c | ) |
|
|
static |
◆ getAsString() [3/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
int |
i | ) |
|
|
static |
◆ getAsString() [4/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
int64 |
i | ) |
|
|
static |
◆ getAsString() [5/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
double |
d | ) |
|
|
static |
◆ getAsString() [6/6]
string cheprep::DefaultHepRepAttValue::getAsString |
( |
bool |
b | ) |
|
|
static |
◆ getBoolean()
bool cheprep::DefaultHepRepAttValue::getBoolean |
( |
| ) |
|
|
virtual |
◆ getColor()
vector< double > cheprep::DefaultHepRepAttValue::getColor |
( |
| ) |
|
|
virtual |
◆ getDouble()
double cheprep::DefaultHepRepAttValue::getDouble |
( |
| ) |
|
|
virtual |
◆ getInteger()
int cheprep::DefaultHepRepAttValue::getInteger |
( |
| ) |
|
|
virtual |
◆ getLong()
int64 cheprep::DefaultHepRepAttValue::getLong |
( |
| ) |
|
|
virtual |
◆ getLowerCaseName()
string cheprep::DefaultHepRepAttValue::getLowerCaseName |
( |
| ) |
|
|
virtual |
◆ getLowerCaseString()
string cheprep::DefaultHepRepAttValue::getLowerCaseString |
( |
| ) |
|
|
virtual |
◆ getName()
string cheprep::DefaultHepRepAttValue::getName |
( |
void |
| ) |
|
|
virtual |
◆ getString()
string cheprep::DefaultHepRepAttValue::getString |
( |
| ) |
|
|
virtual |
◆ getType()
int cheprep::DefaultHepRepAttValue::getType |
( |
| ) |
|
|
virtual |
◆ getTypeName()
string cheprep::DefaultHepRepAttValue::getTypeName |
( |
| ) |
|
|
virtual |
Implements HEPREP::HepRepAttValue.
Definition at line 139 of file DefaultHepRepAttValue.cc.
141 case HepRepConstants::TYPE_COLOR:
return(
"Color");
142 case HepRepConstants::TYPE_STRING:
return(
"String");
143 case HepRepConstants::TYPE_LONG:
return(
"long");
144 case HepRepConstants::TYPE_INT:
return(
"int");
145 case HepRepConstants::TYPE_DOUBLE:
return(
"double");
146 case HepRepConstants::TYPE_BOOLEAN:
return(
"boolean");
147 default:
return "Unknown type stored in HepRepAttDef";
◆ init()
void cheprep::DefaultHepRepAttValue::init |
( |
| ) |
|
|
private |
◆ showLabel()
int cheprep::DefaultHepRepAttValue::showLabel |
( |
| ) |
|
|
virtual |
◆ toShowLabel() [1/2]
string cheprep::DefaultHepRepAttValue::toShowLabel |
( |
| ) |
|
◆ toShowLabel() [2/2]
string cheprep::DefaultHepRepAttValue::toShowLabel |
( |
int |
showLabel | ) |
|
|
static |
Definition at line 246 of file DefaultHepRepAttValue.cc.
249 if (
showLabel == HepRepConstants::SHOW_NONE) {
252 for (
int i=0; i<16; i++) {
253 if (((
showLabel >> i) & 0x0001) == 0x0001) {
263 sprintf(hex,
"%0x", 1 << i);
static std::string labelStrings[LABELSTRINGS_LEN]
◆ booleanValue
bool cheprep::DefaultHepRepAttValue::booleanValue |
|
private |
◆ colorValue
std::vector<double> cheprep::DefaultHepRepAttValue::colorValue |
|
private |
◆ doubleValue
double cheprep::DefaultHepRepAttValue::doubleValue |
|
private |
◆ labelStrings
std::string cheprep::DefaultHepRepAttValue::labelStrings |
|
staticprivate |
◆ longValue
int64 cheprep::DefaultHepRepAttValue::longValue |
|
private |
◆ name
std::string cheprep::DefaultHepRepAttValue::name |
|
private |
◆ showLabelValue
int cheprep::DefaultHepRepAttValue::showLabelValue |
|
private |
◆ stringValue
std::string cheprep::DefaultHepRepAttValue::stringValue |
|
private |
◆ type
int cheprep::DefaultHepRepAttValue::type |
|
private |
The documentation for this class was generated from the following files: