Logo
Reference manual - version ored_version
Public Member Functions | List of all members
OvernightIndexConvention Class Reference

Container for storing Overnight Index conventions. More...

#include <ored/configuration/conventions.hpp>

+ Inheritance diagram for OvernightIndexConvention:

Public Member Functions

 OvernightIndexConvention (const string &id, const string &fixingCalendar, const string &dayCounter, const Size settlementDays)
 
const string & fixingCalendar () const
 
const string & dayCounter () const
 
const Size settlementDays () const
 
virtual void fromXML (XMLNode *node) override
 
virtual XMLNodetoXML (XMLDocument &doc) override
 
virtual void build () override
 
- Public Member Functions inherited from Convention
virtual ~Convention ()
 Default destructor.
 
const string & id () const
 
Type type () const
 
- Public Member Functions inherited from XMLSerializable
void fromFile (const std::string &filename)
 
void toFile (const std::string &filename)
 
void fromXMLString (const std::string &xml)
 Parse from XML string.
 
std::string toXMLString ()
 Parse from XML string.
 

Additional Inherited Members

- Public Types inherited from Convention
enum class  Type {
  Zero , Deposit , Future , FRA ,
  OIS , Swap , AverageOIS , TenorBasisSwap ,
  TenorBasisTwoSwap , BMABasisSwap , FX , CrossCcyBasis ,
  CrossCcyFixFloat , CDS , IborIndex , OvernightIndex ,
  SwapIndex , ZeroInflationIndex , InflationSwap , SecuritySpread ,
  CMSSpreadOption , CommodityForward , CommodityFuture , FxOption ,
  BondYield
}
 Supported convention types.
 
- Protected Member Functions inherited from Convention
 Convention ()
 
 Convention (const string &id, Type type)
 
- Protected Attributes inherited from Convention
Type type_
 
string id_
 

Detailed Description

Container for storing Overnight Index conventions.