49 const string&
model(
const string& productName)
const {
return model_.at(productName); }
51 const string&
engine(
const string& productName)
const {
return engine_.at(productName); }
63 string&
model(
const string& productName) {
return model_[productName]; }
65 string&
engine(
const string& productName) {
return engine_[productName]; }
Pricing engine description.
map< string, map< string, string > > engineParams_
map< string, string > & engineParameters(const string &productName)
map< string, string > model_
std::map< std::string, std::string > globalParams_
map< string, string > engine_
string & engine(const string &productName)
bool hasProduct(const string &productName)
vector< string > products() const
Return all products.
virtual void fromXML(XMLNode *node) override
std::map< std::string, std::string > & globalParameters()
virtual XMLNode * toXML(XMLDocument &doc) const override
const std::map< std::string, std::string > & globalParameters() const
map< string, string > & modelParameters(const string &productName)
const map< string, string > & modelParameters(const string &productName) const
void clear()
Clear all data.
EngineData()
Default constructor.
string & model(const string &productName)
const map< string, string > & engineParameters(const string &productName) const
const string & model(const string &productName) const
map< string, map< string, string > > modelParams_
const string & engine(const string &productName) const
Small XML Document wrapper class.
Base class for all serializable classes.
bool operator!=(const Filter &a, const Filter &b)
bool operator==(const Dividend &d1, const Dividend &d)
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.