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::EventAttributeType Class Reference

Definition of event attribute types. More...

#include <EventAttributeType.h>

Inheritance diagram for EPIC::EventAttributeType:

Public Types

enum  Type { UNDEFINED = 0 , ID = 1 , WEIGHT = 2 }
 

Public Member Functions

 EventAttributeType ()
 
 EventAttributeType (Type type)
 
 EventAttributeType (const EventAttributeType &other)
 
 operator Type () const
 
virtual std::string toString () const
 
EventAttributeType::Type getType () const
 
void setType (Type type)
 

Static Public Member Functions

static EventAttributeType::Type fromString (const std::string &str)
 

Detailed Description

Definition of event attribute types.

This class defines a set of enumeration values that are used to distinguish between event attributes types. In addition, a declared object of this class is always associated to one type (see EventAttributeType::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.

ID 

Id.

WEIGHT 

Weight.

Constructor & Destructor Documentation

◆ EventAttributeType() [1/3]

EPIC::EventAttributeType::EventAttributeType ( )

Default constructor.

◆ EventAttributeType() [2/3]

EPIC::EventAttributeType::EventAttributeType ( Type  type)

Assignment constructor.

◆ EventAttributeType() [3/3]

EPIC::EventAttributeType::EventAttributeType ( const EventAttributeType other)

Copy constructor.

Member Function Documentation

◆ fromString()

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

Get type from string.

◆ getType()

EventAttributeType::Type EPIC::EventAttributeType::getType ( ) const

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

◆ operator Type()

EPIC::EventAttributeType::operator Type ( ) const

Automatic cast to enum.

◆ setType()

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

Assign type to a declared object of this class.


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