Today's Market Parameters. More...
#include <ored/marketdata/todaysmarketparameters.hpp>
Inheritance diagram for TodaysMarketParameters:
Collaboration diagram for TodaysMarketParameters:Public Member Functions | |
| TodaysMarketParameters () | |
| Default constructor. More... | |
Inspectors | |
| const vector< pair< string, MarketConfiguration > > & | configurations () const |
| bool | hasConfiguration (const string &configuration) const |
| bool | hasMarketObject (const MarketObject &o) const |
| const map< string, string > & | mapping (const MarketObject o, const string &configuration) const |
| EUR => Yield/EUR/EUR6M, USD => Yield/USD/USD3M etc. More... | |
| map< string, string > & | mappingReference (const MarketObject o, const string &configuration) |
| return a mapping reference for modification More... | |
| vector< string > | curveSpecs (const string &configuration) const |
| Build a vector of all the curve specs (may contain duplicates) More... | |
| string | marketObjectId (const MarketObject o, const string &configuration) const |
| Intermediate id for a given market object and configuration, see the description of configurations_ below. More... | |
| void | clear () |
| Clear the contents. More... | |
| bool | empty () |
| Check if any parameters. More... | |
Setters | |
| void | addConfiguration (const string &name, const MarketConfiguration &configuration) |
| void | addMarketObject (const MarketObject o, const string &id, const map< string, string > &assignments) |
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... | |
Serialisation | |
| vector< pair< string, MarketConfiguration > > | configurations_ |
| map< MarketObject, map< string, map< string, string > > > | marketObjects_ |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
| void | curveSpecs (const map< string, map< string, string > > &, const string &, vector< string > &) const |
Today's Market Parameters.
This class is a container of instructions (all text) for how to build a market object.
An instance of this object is needed in order to call a TodaysMarket constructor.
Definition at line 78 of file todaysmarketparameters.hpp.
| const vector< pair< string, MarketConfiguration > > & configurations | ( | ) | const |
Definition at line 155 of file todaysmarketparameters.hpp.
Here is the caller graph for this function:| bool hasConfiguration | ( | const string & | configuration | ) | const |
Definition at line 159 of file todaysmarketparameters.hpp.
Here is the caller graph for this function:| bool hasMarketObject | ( | const MarketObject & | o | ) | const |
Definition at line 165 of file todaysmarketparameters.hpp.
Here is the caller graph for this function:| const map< string, string > & mapping | ( | const MarketObject | o, |
| const string & | configuration | ||
| ) | const |
EUR => Yield/EUR/EUR6M, USD => Yield/USD/USD3M etc.
Definition at line 325 of file todaysmarketparameters.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| map< string, string > & mappingReference | ( | const MarketObject | o, |
| const string & | configuration | ||
| ) |
return a mapping reference for modification
Definition at line 338 of file todaysmarketparameters.cpp.
Here is the call graph for this function:| vector< string > curveSpecs | ( | const string & | configuration | ) | const |
Build a vector of all the curve specs (may contain duplicates)
Definition at line 267 of file todaysmarketparameters.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| string marketObjectId | ( | const MarketObject | o, |
| const string & | configuration | ||
| ) | const |
Intermediate id for a given market object and configuration, see the description of configurations_ below.
Definition at line 170 of file todaysmarketparameters.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void clear | ( | ) |
Clear the contents.
Definition at line 130 of file todaysmarketparameters.cpp.
| bool empty | ( | ) |
Check if any parameters.
Definition at line 136 of file todaysmarketparameters.cpp.
Here is the caller graph for this function:| void addConfiguration | ( | const string & | name, |
| const MarketConfiguration & | configuration | ||
| ) |
Definition at line 120 of file todaysmarketparameters.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void addMarketObject | ( | const MarketObject | o, |
| const string & | id, | ||
| const map< string, string > & | assignments | ||
| ) |
Definition at line 279 of file todaysmarketparameters.cpp.
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 140 of file todaysmarketparameters.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 208 of file todaysmarketparameters.cpp.
Here is the call graph for this function:
|
private |
Definition at line 255 of file todaysmarketparameters.cpp.
|
private |
Definition at line 136 of file todaysmarketparameters.hpp.
|
private |
Definition at line 148 of file todaysmarketparameters.hpp.