|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Definition of enumeration values for VCS subprocess types. More...
Public Types | |
| enum | Type { UNDEFINED = 0 , ALL = 1 , DVCS = 2 , BH = 3 , INT = 4 , TCS = 5 , DDVCS = 6 } |
Public Member Functions | |
| VCSSubProcessType () | |
| Default constructor. More... | |
| VCSSubProcessType (Type type) | |
| Assignment constructor. More... | |
| VCSSubProcessType (const std::string &dvcsSubProcessTypeString) | |
| Assignment constructor trying to match subprocess type from given string. More... | |
| std::string | toString () const |
| Get string representation of type being assigned to a declared object of this class. More... | |
| VCSSubProcessType::Type | getType () const |
| Get type being assigned to a declared object of this class. More... | |
| void | setType (Type type) |
| Assign type to a declared object of this class. More... | |
Public Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const std::string &className) | |
| Constructor. More... | |
| virtual | ~BaseObject () |
| Default destructor. More... | |
| virtual BaseObject * | clone () const |
| Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More... | |
| virtual void | resolveObjectDependencies () |
| Because of the initialization step order of the program, objects are registered in a total random order and some objects depend on others. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Used to split a complex C++ object into a concatenation of simple types. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Used to rebuild a complex C++ object from a concatenation of simple type. More... | |
| bool | operator< (const BaseObject &other) const |
| Overload of < operator to sort BaseObject object by its indexId value. More... | |
| const std::string & | getClassName () const |
| unsigned int | getObjectId () const |
| int | getIndexId () const |
| void | setIndexId (int indexId) |
Private Attributes | |
| VCSSubProcessType::Type | m_type |
| Type associated to a declared object of this class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const BaseObject &other) | |
| Copy constructor. More... | |
| void | info (const std::string &functionName, const std::string &message) const |
| Print info message into logger. More... | |
| void | debug (const std::string &functionName, const std::string &message) const |
| Print debug message into logger. More... | |
| void | warn (const std::string &functionName, const std::string &message) const |
| Print warning message into logger. More... | |
| void | errorMissingParameter (const std::string ¶meterName) const |
| Use in automation process to throw exception when a parameter is missing from the XML scenario file. More... | |
Definition of enumeration values for VCS subprocess types.
This class defines a set of enumeration values that are used to distinguish between VCS subprocess types. In addition, a declared object of this class is always associated to one VCS subrpocess type (see VCSSubProcessType::m_type), so member functions can act on it. E.g.
which gives via Logger:
| PARTONS::VCSSubProcessType::VCSSubProcessType | ( | ) |
Default constructor.
| PARTONS::VCSSubProcessType::VCSSubProcessType | ( | Type | type | ) |
Assignment constructor.
| type | Type to be assigned. |
| PARTONS::VCSSubProcessType::VCSSubProcessType | ( | const std::string & | dvcsSubProcessTypeString | ) |
Assignment constructor trying to match subprocess type from given string.
If unable to match set VCSSubProcessType::UNDEFINED.
| dvcsSubProcessTypeString | String to be matched. |
| VCSSubProcessType::Type PARTONS::VCSSubProcessType::getType | ( | ) | const |
Get type being assigned to a declared object of this class.
| void PARTONS::VCSSubProcessType::setType | ( | Type | type | ) |
Assign type to a declared object of this class.
|
virtual |
Get string representation of type being assigned to a declared object of this class.
Reimplemented from PARTONS::BaseObject.
|
private |
Type associated to a declared object of this class.