Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
cheprep::DefaultHepRepAttValue Class Reference

#include <DefaultHepRepAttValue.h>

Inheritance diagram for cheprep::DefaultHepRepAttValue:
Inheritance graph
[legend]
Collaboration diagram for cheprep::DefaultHepRepAttValue:
Collaboration graph
[legend]

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::HepRepAttValuecopy ()
 
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)
 

Detailed Description

Definition at line 17 of file DefaultHepRepAttValue.h.

Constructor & Destructor Documentation

cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
std::string  value,
int  showLabel 
)

Here is the caller graph for this function:

cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
int64  value,
int  showLabel 
)
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
int  value,
int  showLabel 
)
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
double  value,
int  showLabel 
)
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
bool  value,
int  showLabel 
)
cheprep::DefaultHepRepAttValue::DefaultHepRepAttValue ( std::string  name,
std::vector< double >  value,
int  showLabel 
)
cheprep::DefaultHepRepAttValue::~DefaultHepRepAttValue ( )

Definition at line 63 of file DefaultHepRepAttValue.cc.

Member Function Documentation

HepRepAttValue * cheprep::DefaultHepRepAttValue::copy ( )
virtual

Returns a deep copy of this attvalue.

Returns
copy of this attvalue.

Implements HEPREP::HepRepAttValue.

Definition at line 73 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

string cheprep::DefaultHepRepAttValue::getAsString ( )
virtual

Returns value as string.

Returns
value (of any type) in string format.

Implements HEPREP::HepRepAttValue.

Definition at line 153 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

static std::string cheprep::DefaultHepRepAttValue::getAsString ( std::vector< double >  c)
static
string cheprep::DefaultHepRepAttValue::getAsString ( int  i)
static

Definition at line 175 of file DefaultHepRepAttValue.cc.

string cheprep::DefaultHepRepAttValue::getAsString ( int64  i)
static

Definition at line 181 of file DefaultHepRepAttValue.cc.

string cheprep::DefaultHepRepAttValue::getAsString ( double  d)
static

Definition at line 188 of file DefaultHepRepAttValue.cc.

string cheprep::DefaultHepRepAttValue::getAsString ( bool  b)
static

Definition at line 194 of file DefaultHepRepAttValue.cc.

bool cheprep::DefaultHepRepAttValue::getBoolean ( )
virtual

Returns value as boolean.

Returns
value as boolean.

Implements HEPREP::HepRepAttValue.

Definition at line 142 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

vector< double > cheprep::DefaultHepRepAttValue::getColor ( )
virtual

Returns value as Color.

Returns
value as Color.

Implements HEPREP::HepRepAttValue.

Definition at line 147 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double cheprep::DefaultHepRepAttValue::getDouble ( )
virtual

Returns value as double.

Returns
value as double.

Implements HEPREP::HepRepAttValue.

Definition at line 137 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int cheprep::DefaultHepRepAttValue::getInteger ( )
virtual

Returns value as int.

Returns
value as integer.

Implements HEPREP::HepRepAttValue.

Definition at line 132 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int64 cheprep::DefaultHepRepAttValue::getLong ( )
virtual

Returns value as long.

Returns
value as long.

Implements HEPREP::HepRepAttValue.

Definition at line 127 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

string cheprep::DefaultHepRepAttValue::getLowerCaseName ( )
virtual

Returns lowercased name of the attvalue.

Returns
Lowercased Name.

Implements HEPREP::HepRepAttValue.

Definition at line 89 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

string cheprep::DefaultHepRepAttValue::getLowerCaseString ( )
virtual

Returns value as lowercase string.

Returns
value as string (if type is string).

Implements HEPREP::HepRepAttValue.

Definition at line 120 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

string cheprep::DefaultHepRepAttValue::getName ( )
virtual

Returns name of the attvalue.

Returns
Capitalized Name.

Implements HEPREP::HepRepAttValue.

Definition at line 85 of file DefaultHepRepAttValue.cc.

Here is the caller graph for this function:

string cheprep::DefaultHepRepAttValue::getString ( )
virtual

Returns value as string.

Returns
value as string (if type is string).

Implements HEPREP::HepRepAttValue.

Definition at line 115 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int cheprep::DefaultHepRepAttValue::getType ( )
virtual

Returns type of the attvalue, defined in HepRepConstants with names TYPE_xxx.

Returns
type.

Implements HEPREP::HepRepAttValue.

Definition at line 95 of file DefaultHepRepAttValue.cc.

string cheprep::DefaultHepRepAttValue::getTypeName ( )
virtual

Returns the Java-like name for the type of this attvalue.

Returns
type name.

Implements HEPREP::HepRepAttValue.

Definition at line 99 of file DefaultHepRepAttValue.cc.

int cheprep::DefaultHepRepAttValue::showLabel ( )
virtual

Returns the flag bits for showing this attvalue as a label, defined in HepRepConstants with names SHOW_xxx.

Returns
flag bits if should be shown as label.

Implements HEPREP::HepRepAttValue.

Definition at line 111 of file DefaultHepRepAttValue.cc.

Here is the caller graph for this function:

string cheprep::DefaultHepRepAttValue::toShowLabel ( )

Definition at line 201 of file DefaultHepRepAttValue.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

string cheprep::DefaultHepRepAttValue::toShowLabel ( int  showLabel)
static

Definition at line 206 of file DefaultHepRepAttValue.cc.


The documentation for this class was generated from the following files: