Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
InflationCurveSpec Class Reference

Inflation curve description. More...

#include <ored/marketdata/curvespec.hpp>

+ Inheritance diagram for InflationCurveSpec:
+ Collaboration diagram for InflationCurveSpec:

Public Member Functions

 InflationCurveSpec ()
 
 InflationCurveSpec (const string &index, const string &curveConfigID)
 
CurveType baseType () const override
 
const string & index () const
 
string subName () const override
 
- 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
 

Private Attributes

string index_
 

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...
 

Detailed Description

Inflation curve description.

Definition at line 314 of file curvespec.hpp.

Constructor & Destructor Documentation

◆ InflationCurveSpec() [1/2]

Definition at line 316 of file curvespec.hpp.

316{}

◆ InflationCurveSpec() [2/2]

InflationCurveSpec ( const string &  index,
const string &  curveConfigID 
)

Definition at line 317 of file curvespec.hpp.

const std::string & curveConfigID() const
Definition: curvespec.hpp:83
CurveSpec()
Default constructor.
Definition: curvespec.hpp:64
const string & index() const
Definition: curvespec.hpp:320

Member Function Documentation

◆ baseType()

CurveType baseType ( ) const
overridevirtual

Implements CurveSpec.

Definition at line 319 of file curvespec.hpp.

◆ index()

const string & index ( ) const

Definition at line 320 of file curvespec.hpp.

320{ return index_; }
+ Here is the caller graph for this function:

◆ subName()

string subName ( ) const
overridevirtual

Implements CurveSpec.

Definition at line 322 of file curvespec.hpp.

322{ return index() + "/" + curveConfigID(); }
+ Here is the call graph for this function:

Member Data Documentation

◆ index_

string index_
private

Definition at line 325 of file curvespec.hpp.