InstantaneousCorrelations. More...
#include <ored/model/crossassetmodeldata.hpp>
Inheritance diagram for InstantaneousCorrelations:
Collaboration diagram for InstantaneousCorrelations:Public Member Functions | |
Constructors | |
| InstantaneousCorrelations () | |
| Default constructor. More... | |
| InstantaneousCorrelations (const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > &correlations) | |
| Detailed constructor. More... | |
Serialisation | |
| virtual void | fromXML (XMLNode *node) override |
| Populate members from XML. More... | |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
| Write class members to XML. More... | |
Getters | |
| const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > & | correlations () const |
| void | clear () |
| Clear all vectors and maps. More... | |
Setters | |
| void | correlations (const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > &corrs) |
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... | |
Operators | |
| std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > | correlations_ |
| bool | operator== (const InstantaneousCorrelations &rhs) |
| bool | operator!= (const InstantaneousCorrelations &rhs) |
InstantaneousCorrelations is a class to store the correlations required by the CrossAssetModelData class
Definition at line 59 of file crossassetmodeldata.hpp.
| InstantaneousCorrelations | ( | const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > & | correlations | ) |
Detailed constructor.
Definition at line 67 of file crossassetmodeldata.hpp.
|
overridevirtual |
Populate members from XML.
Implements XMLSerializable.
Definition at line 72 of file crossassetmodeldata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Write class members to XML.
Implements XMLSerializable.
Definition at line 92 of file crossassetmodeldata.cpp.
Here is the call graph for this function:| const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > & correlations | ( | ) | const |
Definition at line 82 of file crossassetmodeldata.hpp.
| void clear | ( | ) |
Clear all vectors and maps.
Definition at line 86 of file crossassetmodeldata.hpp.
| void correlations | ( | const std::map< CorrelationKey, QuantLib::Handle< QuantLib::Quote > > & | corrs | ) |
Definition at line 91 of file crossassetmodeldata.hpp.
| bool operator== | ( | const InstantaneousCorrelations & | rhs | ) |
Definition at line 115 of file crossassetmodeldata.cpp.
Here is the call graph for this function:| bool operator!= | ( | const InstantaneousCorrelations & | rhs | ) |
Definition at line 129 of file crossassetmodeldata.cpp.
|
private |
Definition at line 103 of file crossassetmodeldata.hpp.