Commodity curve description. More...
#include <ored/marketdata/curvespec.hpp>
Public Member Functions | |
Constructors | |
CommodityCurveSpec () | |
Default constructor. More... | |
CommodityCurveSpec (const std::string ¤cy, const std::string &curveConfigID) | |
Detailed constructor. More... | |
Public Member Functions inherited from CurveSpec | |
CurveSpec () | |
Default constructor. More... | |
CurveSpec (const std::string &curveConfigID) | |
Constructor that takes an underlying CurveConfig id. More... | |
virtual | ~CurveSpec () |
Default destructor. More... | |
string | name () const |
returns the unique curve name More... | |
const std::string & | curveConfigID () const |
string | baseName () const |
Inspectors | |
std::string | currency_ |
CurveType | baseType () const override |
const std::string & | currency () const |
std::string | subName () const override |
Additional Inherited Members | |
Public Types inherited from CurveSpec | |
enum class | CurveType { FX , Yield , CapFloorVolatility , SwaptionVolatility , YieldVolatility , FXVolatility , Default , CDSVolatility , Inflation , InflationCapFloorVolatility , Equity , EquityVolatility , Security , BaseCorrelation , Commodity , CommodityVolatility , Correlation } |
Supported curve types. More... | |
Commodity curve description.
Definition at line 413 of file curvespec.hpp.
CommodityCurveSpec | ( | const std::string & | currency, |
const std::string & | curveConfigID | ||
) |
Detailed constructor.
Definition at line 422 of file curvespec.hpp.
|
overridevirtual |
const std::string & currency | ( | ) | const |
Definition at line 429 of file curvespec.hpp.
|
overridevirtual |
Implements CurveSpec.
Definition at line 430 of file curvespec.hpp.
|
private |
Definition at line 434 of file curvespec.hpp.