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 | ~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. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Protected Attributes | |
std::set< std::string > | indices_ |
Private Attributes | |
string | legType_ |
string | legNodeName_ |
Serializable Additional Leg Data.
Definition at line 63 of file legdata.hpp.
LegAdditionalData | ( | const string & | legType, |
const string & | legNodeName | ||
) |
Definition at line 65 of file legdata.hpp.
LegAdditionalData | ( | const string & | legType | ) |
Definition at line 67 of file legdata.hpp.
const string & legType | ( | ) | const |
Definition at line 69 of file legdata.hpp.
const string & legNodeName | ( | ) | const |
const std::set< std::string > & indices | ( | ) | const |
Definition at line 71 of file legdata.hpp.
|
protected |
Store the set of ORE index names that appear on this leg. Should be populated by derived classes.
Definition at line 77 of file legdata.hpp.
|
private |
Definition at line 80 of file legdata.hpp.
|
private |
Definition at line 81 of file legdata.hpp.