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