EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
EPIC::AxisType Class Reference

Definition of enumeration values for axis types. More...

#include <AxisType.h>

Inheritance diagram for EPIC::AxisType:

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)
 

Detailed Description

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.

Member Enumeration Documentation

◆ Type

Definition of enumerate values corresponding to axis types.

Enumerator
UNDEFINED 

Undefined type.

x

y

z

Constructor & Destructor Documentation

◆ AxisType() [1/3]

EPIC::AxisType::AxisType ( )

Default constructor.

◆ AxisType() [2/3]

EPIC::AxisType::AxisType ( Type  type)

Assignment constructor.

◆ AxisType() [3/3]

EPIC::AxisType::AxisType ( const AxisType other)

Copy constructor.

Member Function Documentation

◆ fromString()

static AxisType::Type EPIC::AxisType::fromString ( const std::string &  str)
static

Get type from string.

◆ getType()

AxisType::Type EPIC::AxisType::getType ( ) const

Get type being assigned to a declared object of this class.

◆ operator Type()

EPIC::AxisType::operator Type ( ) const

Automatic cast to enum.

◆ setType()

void EPIC::AxisType::setType ( Type  type)

Assign type to a declared object of this class.


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