Data types stored in the scenario class. More...
#include <orea/scenario/scenario.hpp>
Public Types | |
enum class | KeyType { None , DiscountCurve , YieldCurve , IndexCurve , SwaptionVolatility , YieldVolatility , OptionletVolatility , FXSpot , FXVolatility , EquitySpot , DividendYield , EquityVolatility , SurvivalProbability , SurvivalWeight , RecoveryRate , CreditState , CDSVolatility , BaseCorrelation , CPIIndex , ZeroInflationCurve , ZeroInflationCapFloorVolatility , YoYInflationCurve , YoYInflationCapFloorVolatility , CommodityCurve , CommodityVolatility , SecuritySpread , Correlation , CPR } |
Risk Factor types. More... | |
Public Member Functions | |
RiskFactorKey () | |
Constructor. More... | |
RiskFactorKey (const KeyType &iKeytype, const string &iName, const Size &iIndex=0) | |
Constructor. More... | |
Public Attributes | |
KeyType | keytype |
Key type. More... | |
std::string | name |
Key name. More... | |
Size | index |
Index. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Friends | |
class | boost::serialization::access |
Data types stored in the scenario class.
Definition at line 48 of file scenario.hpp.
|
strong |
Risk Factor types.
Definition at line 51 of file scenario.hpp.
RiskFactorKey | ( | ) |
RiskFactorKey | ( | const KeyType & | iKeytype, |
const string & | iName, | ||
const Size & | iIndex = 0 |
||
) |
Constructor.
Definition at line 85 of file scenario.hpp.
|
private |
Definition at line 100 of file scenario.hpp.
|
friend |
Definition at line 99 of file scenario.hpp.
KeyType keytype |
Key type.
Definition at line 89 of file scenario.hpp.
std::string name |
Key name.
For FX this is a pair ("EURUSD") for Discount or swaption it's just a currency ("EUR") and for an index it's the index name
Definition at line 94 of file scenario.hpp.
Size index |
Index.
Definition at line 96 of file scenario.hpp.