Logo
Reference manual - version orea_version
Public Types | Public Member Functions | List of all members
ShiftScenarioGenerator::ScenarioDescription Class Reference

Public Types

enum class  Type { Base , Up , Down , Cross }
 

Public Member Functions

 ScenarioDescription (Type type)
 Constructor.
 
 ScenarioDescription (Type type, RiskFactorKey key1, string indexDesc1)
 
 ScenarioDescription (ScenarioDescription d1, ScenarioDescription d2)
 
 ScenarioDescription (const std::string &description)
 Construct from string.
 
const Type & type () const
 Inspectors.
 
const RiskFactorKeykey1 () const
 
const RiskFactorKeykey2 () const
 
const string & indexDesc1 () const
 
const string & indexDesc2 () const
 
string keyName1 () const
 
string keyName2 () const
 
string typeString () const
 Return type as string.
 
string factor1 () const
 Return key1 as string with text1 appended as key index description.
 
string factor2 () const
 Return key2 as string with text2 appended as key index description.
 
string factors () const
 Return "factor1" and append ":factor2" if factor2 is not empty.