Serializable object holding netting set identification data. More...
#include <ored/portfolio/nettingsetdetails.hpp>
Inheritance diagram for NettingSetDetails:Public Member Functions | |
| NettingSetDetails () | |
| Default constructor. | |
| NettingSetDetails (const string &nettingSetId, const string &agreementType="", const string &callType="", const string &initialMarginType="", const string &legalEntityId="") | |
| Constructor with all fields. | |
| NettingSetDetails (const map< string, string > &nettingSetMap) | |
| Constructor to reconstruct NettingSetDetails from map (field name to field value) | |
Serialisation | |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
| const string & | nettingSetId () const |
| const string & | agreementType () const |
| const string & | callType () const |
| const string & | initialMarginType () const |
| const string & | legalEntityId () const |
Public Member Functions inherited from XMLSerializable | |
| 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. | |
Utility | |
| bool | empty () const |
| Check if the netting set details have been populated. | |
| bool | emptyOptionalFields () const |
| const map< string, string > | mapRepresentation () const |
| Returns a map representation of the object. | |
| static const vector< string > | fieldNames (bool includeOptionalFields=true) |
| Returns the XML field names of all the private members. | |
| static const vector< string > | optionalFieldNames () |
Serializable object holding netting set identification data.