Logo
Reference manual - version ored_version
Public Member Functions | Protected Attributes | List of all members
LegAdditionalData Class Reference

Serializable Additional Leg Data. More...

#include <ored/portfolio/legdata.hpp>

+ Inheritance diagram for LegAdditionalData:

Public Member Functions

 LegAdditionalData (const string &legType, const string &legNodeName)
 
 LegAdditionalData (const string &legType)
 
const string & legType () const
 
const string & legNodeName () const
 
const std::set< std::string > & indices () const
 
- Public Member Functions inherited from XMLSerializable
virtual void fromXML (XMLNode *node)=0
 
virtual XMLNodetoXML (XMLDocument &doc)=0
 
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.
 

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.