73 QuantLib::ext::shared_ptr<YieldCurveConfig>
yieldCurveConfig(
const string& curveID)
const;
76 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig>
fxVolCurveConfig(
const string& curveID)
const;
79 QuantLib::ext::shared_ptr<SwaptionVolatilityCurveConfig>
swaptionVolCurveConfig(
const string& curveID)
const;
82 QuantLib::ext::shared_ptr<YieldVolatilityCurveConfig>
yieldVolCurveConfig(
const string& curveID)
const;
85 QuantLib::ext::shared_ptr<CapFloorVolatilityCurveConfig>
capFloorVolCurveConfig(
const string& curveID)
const;
88 QuantLib::ext::shared_ptr<DefaultCurveConfig>
defaultCurveConfig(
const string& curveID)
const;
91 QuantLib::ext::shared_ptr<CDSVolatilityCurveConfig>
cdsVolCurveConfig(
const string& curveID)
const;
97 QuantLib::ext::shared_ptr<InflationCurveConfig>
inflationCurveConfig(
const string& curveID)
const;
100 QuantLib::ext::shared_ptr<InflationCapFloorVolatilityCurveConfig>
104 QuantLib::ext::shared_ptr<EquityCurveConfig>
equityCurveConfig(
const string& curveID)
const;
107 QuantLib::ext::shared_ptr<EquityVolatilityCurveConfig>
equityVolCurveConfig(
const string& curveID)
const;
110 QuantLib::ext::shared_ptr<SecurityConfig>
securityConfig(
const string& curveID)
const;
113 QuantLib::ext::shared_ptr<FXSpotConfig>
fxSpotConfig(
const string& curveID)
const;
116 QuantLib::ext::shared_ptr<CommodityCurveConfig>
commodityCurveConfig(
const std::string& curveID)
const;
122 QuantLib::ext::shared_ptr<CorrelationCurveConfig>
correlationCurveConfig(
const std::string& curveID)
const;
124 QuantLib::ext::shared_ptr<CurveConfigurations>
125 minimalCurveConfig(
const QuantLib::ext::shared_ptr<TodaysMarketParameters> todaysMarketParams,
126 const std::set<std::string>& configurations = {
""})
const;
133 std::set<string>
quotes(
const QuantLib::ext::shared_ptr<TodaysMarketParameters> todaysMarketParams,
134 const std::set<std::string>& configurations = {
""})
const;
135 std::set<string>
quotes()
const;
137 std::set<string>
conventions(
const QuantLib::ext::shared_ptr<TodaysMarketParameters> todaysMarketParams,
138 const std::set<std::string>& configurations = {
""})
const;
146 const std::string& curveId)
const;
149 void add(
const CurveSpec::CurveType& type,
const string& curveId,
const QuantLib::ext::shared_ptr<CurveConfig>& config);
151 const QuantLib::ext::shared_ptr<CurveConfig>&
get(
const CurveSpec::CurveType& type,
const string& curveId)
const;
170 mutable std::map<CurveSpec::CurveType, std::map<std::string, QuantLib::ext::shared_ptr<CurveConfig>>>
configs_;
171 mutable std::map<CurveSpec::CurveType, std::map<std::string, std::string>>
unparsed_;
177 void getNode(
XMLNode* node,
const char* parentName,
const char* childName);
188 void add(
const QuantLib::ext::shared_ptr<CurveConfigurations>& config, std::string
id = std::string());
189 const QuantLib::ext::shared_ptr<CurveConfigurations>&
get(std::string
id = std::string())
const;
190 const bool has(std::string
id = std::string())
const;
191 const std::map<std::string, QuantLib::ext::shared_ptr<CurveConfigurations>>&
curveConfigurations()
const;
192 const bool empty()
const;
195 std::map<std::string, QuantLib::ext::shared_ptr<CurveConfigurations>>
configs_;
Base Correlation curve configuration classes.
Cap floor volatility curve configuration class.
CDS and index CDS volatility configuration.
Container class for all Curve Configurations.
const QuantLib::ext::shared_ptr< CurveConfig > & get(const CurveSpec::CurveType &type, const string &curveId) const
bool hasYieldVolCurveConfig(const std::string &curveID) const
bool hasEquityVolCurveConfig(const std::string &curveID) const
bool hasDefaultCurveConfig(const std::string &curveID) const
std::set< string > yieldCurveConfigIds()
const ReportConfig & reportConfigIrSwaptionVols() const
ReportConfig reportConfigIrSwaptionVols_
QuantLib::ext::shared_ptr< EquityCurveConfig > equityCurveConfig(const string &curveID) const
void getNode(XMLNode *node, const char *parentName, const char *childName)
QuantLib::ext::shared_ptr< YieldCurveConfig > yieldCurveConfig(const string &curveID) const
QuantLib::ext::shared_ptr< CDSVolatilityCurveConfig > cdsVolCurveConfig(const string &curveID) const
QuantLib::ext::shared_ptr< CurveConfigurations > minimalCurveConfig(const QuantLib::ext::shared_ptr< TodaysMarketParameters > todaysMarketParams, const std::set< std::string > &configurations={""}) const
QuantLib::ext::shared_ptr< BaseCorrelationCurveConfig > baseCorrelationCurveConfig(const string &curveID) const
std::set< string > conventions() const
const ReportConfig & reportConfigCommVols() const
std::set< string > quotes() const
bool hasCorrelationCurveConfig(const std::string &curveID) const
bool hasSecurityConfig(const std::string &curveID) const
QuantLib::ext::shared_ptr< CommodityCurveConfig > commodityCurveConfig(const std::string &curveID) const
QuantLib::ext::shared_ptr< InflationCurveConfig > inflationCurveConfig(const string &curveID) const
bool hasFxSpotConfig(const std::string &curveID) const
QuantLib::ext::shared_ptr< SwaptionVolatilityCurveConfig > swaptionVolCurveConfig(const string &curveID) const
QuantLib::ext::shared_ptr< CapFloorVolatilityCurveConfig > capFloorVolCurveConfig(const string &curveID) const
QuantLib::ext::shared_ptr< FXSpotConfig > fxSpotConfig(const string &curveID) const
QuantLib::ext::shared_ptr< InflationCapFloorVolatilityCurveConfig > inflationCapFloorVolCurveConfig(const string &curveID) const
bool hasFxVolCurveConfig(const std::string &curveID) const
bool hasCdsVolCurveConfig(const std::string &curveID) const
void fromXML(XMLNode *node) override
bool hasInflationCapFloorVolCurveConfig(const std::string &curveID) const
QuantLib::ext::shared_ptr< CorrelationCurveConfig > correlationCurveConfig(const std::string &curveID) const
XMLNode * toXML(XMLDocument &doc) const override
bool hasYieldCurveConfig(const std::string &curveID) const
bool hasCommodityVolatilityConfig(const std::string &curveID) const
bool hasEquityCurveConfig(const std::string &curveID) const
bool hasCommodityCurveConfig(const std::string &curveID) const
void addAdditionalCurveConfigs(const CurveConfigurations &c)
bool hasInflationCurveConfig(const std::string &curveID) const
std::map< CurveSpec::CurveType, std::map< std::string, std::string > > unparsed_
ReportConfig reportConfigFxVols_
bool has(const CurveSpec::CurveType &type, const string &curveId) const
const ReportConfig & reportConfigIrCapFloorVols() const
const ReportConfig & reportConfigFxVols() const
QuantLib::ext::shared_ptr< YieldVolatilityCurveConfig > yieldVolCurveConfig(const string &curveID) const
std::map< CurveSpec::CurveType, std::set< string > > requiredCurveIds(const CurveSpec::CurveType &type, const std::string &curveId) const
QuantLib::ext::shared_ptr< DefaultCurveConfig > defaultCurveConfig(const string &curveID) const
CurveConfigurations()
Default constructor.
QuantLib::ext::shared_ptr< EquityVolatilityCurveConfig > equityVolCurveConfig(const string &curveID) const
ReportConfig reportConfigIrCapFloorVols_
void add(const CurveSpec::CurveType &type, const string &curveId, const QuantLib::ext::shared_ptr< CurveConfig > &config)
QuantLib::ext::shared_ptr< CommodityVolatilityConfig > commodityVolatilityConfig(const std::string &curveID) const
void addNodes(XMLDocument &doc, XMLNode *parent, const char *nodeName) const
ReportConfig reportConfigEqVols_
const ReportConfig & reportConfigEqVols() const
std::map< CurveSpec::CurveType, std::map< std::string, QuantLib::ext::shared_ptr< CurveConfig > > > configs_
void parseNode(const CurveSpec::CurveType &type, const string &curveId) const
ReportConfig reportConfigCommVols_
QuantLib::ext::shared_ptr< SecurityConfig > securityConfig(const string &curveID) const
bool hasCapFloorVolCurveConfig(const std::string &curveID) const
bool hasBaseCorrelationCurveConfig(const std::string &curveID) const
QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > fxVolCurveConfig(const string &curveID) const
bool hasSwaptionVolCurveConfig(const std::string &curveID) const
std::map< std::string, QuantLib::ext::shared_ptr< CurveConfigurations > > configs_
CurveConfigurationsManager()
const bool has(std::string id=std::string()) const
void add(const QuantLib::ext::shared_ptr< CurveConfigurations > &config, std::string id=std::string())
const QuantLib::ext::shared_ptr< CurveConfigurations > & get(std::string id=std::string()) const
const std::map< std::string, QuantLib::ext::shared_ptr< CurveConfigurations > > & curveConfigurations() const
CurveType
Supported curve types.
Small XML Document wrapper class.
Base class for all serializable classes.
Commodity curve configuration class.
Commodity volatility curve configuration.
Curve requirements specification.
Default curve configuration classes.
Equity curve configuration classes.
Equity volatility curve configuration classes.
security spread configuration classes
FX volatility curve configuration classes.
Inflation CapFloor volatility curve configuration class.
rapidxml::xml_node< char > XMLNode
Serializable Credit Default Swap.
security spread configuration classes
Swaption volatility curve configuration classes.
A class to hold todays market configuration(s)
Yield curve configuration classes.
yield volatility curve configuration classes