Serializable Additional Leg Data. More...
#include <ored/portfolio/legdata.hpp>
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 XMLNode * | toXML (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_ |
Serializable Additional Leg Data.
|
protected |
Store the set of ORE index names that appear on this leg. Should be populated by derived classes.