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

#include <ored/scripting/utilities.hpp>

Public Member Functions

 IndexInfo (const std::string &name, const boost::shared_ptr< Market > &market=nullptr)
 
std::string name () const
 
bool isFx () const
 
bool isEq () const
 
bool isComm () const
 
bool isIr () const
 
bool isIrIbor () const
 
bool isIrSwap () const
 
bool isInf () const
 
bool isGeneric () const
 
boost::shared_ptr< FxIndexfx () const
 
boost::shared_ptr< EquityIndex2eq () const
 
boost::shared_ptr< QuantExt::CommodityIndexcomm (const Date &obsDate=Date()) const
 
boost::shared_ptr< InterestRateIndexir () const
 
boost::shared_ptr< IborIndexirIbor () const
 
boost::shared_ptr< FallbackIborIndexirIborFallback (const IborFallbackConfig &iborFallbackConfig, const Date &asof=QuantLib::Date::maxDate()) const
 
boost::shared_ptr< FallbackOvernightIndexirOvernightFallback (const IborFallbackConfig &iborFallbackConfig, const Date &asof=QuantLib::Date::maxDate()) const
 
boost::shared_ptr< SwapIndex > irSwap () const
 
boost::shared_ptr< ZeroInflationIndex > inf () const
 
boost::shared_ptr< Indexgeneric () const
 
boost::shared_ptr< Indexindex (const Date &obsDate=Date()) const
 
std::string commName () const
 
std::string infName () const
 
bool operator== (const IndexInfo &j) const
 
bool operator!= (const IndexInfo &j) const
 
bool operator< (const IndexInfo &j) const
 
bool operator> (const IndexInfo &j) const
 
bool operator<= (const IndexInfo &j) const
 
bool operator>= (const IndexInfo &j) const
 

Detailed Description