Serializable object holding netting set identification data. More...
#include <ored/portfolio/nettingsetdetails.hpp>
Inheritance diagram for NettingSetDetails:
Collaboration diagram for NettingSetDetails:Public Member Functions | |
| NettingSetDetails () | |
| Default constructor. More... | |
| NettingSetDetails (const string &nettingSetId, const string &agreementType="", const string &callType="", const string &initialMarginType="", const string &legalEntityId="") | |
| Constructor with all fields. More... | |
| NettingSetDetails (const map< string, string > &nettingSetMap) | |
| Constructor to reconstruct NettingSetDetails from map (field name to field value) More... | |
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 | |
| 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... | |
Utility | |
| string | nettingSetId_ |
| string | agreementType_ |
| string | callType_ |
| string | initialMarginType_ |
| string | legalEntityId_ |
| bool | empty () const |
| Check if the netting set details have been populated. More... | |
| bool | emptyOptionalFields () const |
| const map< string, string > | mapRepresentation () const |
| Returns a map representation of the object. More... | |
| static const vector< string > | fieldNames (bool includeOptionalFields=true) |
| Returns the XML field names of all the private members. More... | |
| static const vector< string > | optionalFieldNames () |
Serializable object holding netting set identification data.
Definition at line 40 of file nettingsetdetails.hpp.
Default constructor.
Definition at line 43 of file nettingsetdetails.hpp.
| NettingSetDetails | ( | const string & | nettingSetId, |
| const string & | agreementType = "", |
||
| const string & | callType = "", |
||
| const string & | initialMarginType = "", |
||
| const string & | legalEntityId = "" |
||
| ) |
Constructor with all fields.
Definition at line 48 of file nettingsetdetails.hpp.
| NettingSetDetails | ( | const map< string, string > & | nettingSetMap | ) |
Constructor to reconstruct NettingSetDetails from map (field name to field value)
Definition at line 27 of file nettingsetdetails.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 45 of file nettingsetdetails.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 53 of file nettingsetdetails.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| const string & nettingSetId | ( | ) | const |
| const string & agreementType | ( | ) | const |
| const string & callType | ( | ) | const |
| const string & initialMarginType | ( | ) | const |
| const string & legalEntityId | ( | ) | const |
| bool empty | ( | ) | const |
Check if the netting set details have been populated.
Definition at line 74 of file nettingsetdetails.hpp.
Here is the caller graph for this function:| bool emptyOptionalFields | ( | ) | const |
Definition at line 75 of file nettingsetdetails.hpp.
Here is the caller graph for this function:| const map< string, string > mapRepresentation | ( | ) | const |
Returns a map representation of the object.
Definition at line 82 of file nettingsetdetails.cpp.
Here is the call graph for this function:
|
static |
Returns the XML field names of all the private members.
Definition at line 68 of file nettingsetdetails.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 78 of file nettingsetdetails.cpp.
|
private |
Definition at line 88 of file nettingsetdetails.hpp.
|
private |
Definition at line 89 of file nettingsetdetails.hpp.
|
private |
Definition at line 90 of file nettingsetdetails.hpp.
|
private |
Definition at line 91 of file nettingsetdetails.hpp.
|
private |
Definition at line 92 of file nettingsetdetails.hpp.