EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Definition of enumeration values for axis types. More...
#include <AxisType.h>
Public Types | |
enum | Type { UNDEFINED = 0 , X = 1 , Y = 2 , Z = 3 } |
Public Member Functions | |
AxisType () | |
AxisType (Type type) | |
AxisType (const AxisType &other) | |
operator Type () const | |
virtual std::string | toString () const |
AxisType::Type | getType () const |
void | setType (Type type) |
Static Public Member Functions | |
static AxisType::Type | fromString (const std::string &str) |
Definition of enumeration values for axis types.
This class defines a set of enumeration values that are used to distinguish between axis types. In addition, a declared object of this class is always associated to one type (see AxisType::m_type), so member functions can act on it.
enum EPIC::AxisType::Type |
EPIC::AxisType::AxisType | ( | ) |
Default constructor.
EPIC::AxisType::AxisType | ( | Type | type | ) |
Assignment constructor.
EPIC::AxisType::AxisType | ( | const AxisType & | other | ) |
Copy constructor.
|
static |
Get type from string.
AxisType::Type EPIC::AxisType::getType | ( | ) | const |
Get type being assigned to a declared object of this class.
EPIC::AxisType::operator Type | ( | ) | const |
Automatic cast to enum.
void EPIC::AxisType::setType | ( | Type | type | ) |
Assign type to a declared object of this class.