Logo
Reference manual - version ored_version
LegAdditionalData Class Reference

Serializable Additional Leg Data. More...

#include <ored/portfolio/legdata.hpp>

Inheritance diagram for LegAdditionalData:

Public Member Functions

 LegAdditionalData (const LegType &legType, const string &legNodeName, bool isSimmPlainVanillaIrLeg)
 LegAdditionalData (const LegType &legType, bool isSimmPlainVanillaIrLeg)
 LegAdditionalData (const string &, const char *)=delete
const LegType & legType () const
const stringlegNodeName () const
const std::set< std::string > & indices () const
const bool isSimmPlainVanillaIrLeg () const
 check if a x-ccy swap with the leg qualifies for the isda simm exemption treatment
Public Member Functions inherited from XMLSerializable
virtual void fromXML (XMLNode *node)=0
virtual XMLNode * toXML (XMLDocument &doc) const =0
void fromFile (const std::string &filename)
void toFile (const std::string &filename) const
void fromXMLString (const std::string &xml)
 Parse from XML string.
std::string toXMLString () const
 Parse from XML string.
std::string toXMLStringUnformatted () const

Protected Attributes

std::set< std::string > indices_

Detailed Description

Serializable Additional Leg Data.

Member Data Documentation

◆ indices_

std::set<std::string> indices_
protected

Store the set of ORE index names that appear on this leg. Should be populated by derived classes.