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

Security description. More...

#include <ored/marketdata/curvespec.hpp>

+ Inheritance diagram for SecuritySpec:
+ Collaboration diagram for SecuritySpec:

Public Member Functions

 SecuritySpec (const string &securityID)
 
 SecuritySpec ()
 Default constructor. More...
 
CurveType baseType () const override
 
string subName () const override
 
const string & securityID () const
 
- 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
 

Protected Attributes

string securityID_
 

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

Security description.

Definition at line 396 of file curvespec.hpp.

Constructor & Destructor Documentation

◆ SecuritySpec() [1/2]

SecuritySpec ( const string &  securityID)

Definition at line 398 of file curvespec.hpp.

CurveSpec()
Default constructor.
Definition: curvespec.hpp:64
const string & securityID() const
Definition: curvespec.hpp:403

◆ SecuritySpec() [2/2]

Default constructor.

Definition at line 400 of file curvespec.hpp.

400{}

Member Function Documentation

◆ baseType()

CurveType baseType ( ) const
overridevirtual

Implements CurveSpec.

Definition at line 401 of file curvespec.hpp.

◆ subName()

string subName ( ) const
overridevirtual

Implements CurveSpec.

Definition at line 402 of file curvespec.hpp.

402{ return securityID_; }

◆ securityID()

const string & securityID ( ) const

Definition at line 403 of file curvespec.hpp.

403{ return securityID_; }
+ Here is the caller graph for this function:

Member Data Documentation

◆ securityID_

string securityID_
protected

Definition at line 407 of file curvespec.hpp.