Configurable currency class.
More...
#include <qle/currencies/configurablecurrency.hpp>
|
| ConfigurableCurrency (const std::string &name, const std::string &code, Integer numericCode, const std::string &symbol, const std::string &fractionSymbol, Integer fractionsPerUnit, const Rounding &rounding, const std::string &formatString, const std::set< std::string > &minorUnitCodes, Type currencyType=Type::Major) |
|
Type | currencyType () const |
|
Configurable currency class.
Definition at line 36 of file configurablecurrency.hpp.
◆ Type
◆ ConfigurableCurrency()
ConfigurableCurrency |
( |
const std::string & |
name, |
|
|
const std::string & |
code, |
|
|
Integer |
numericCode, |
|
|
const std::string & |
symbol, |
|
|
const std::string & |
fractionSymbol, |
|
|
Integer |
fractionsPerUnit, |
|
|
const Rounding & |
rounding, |
|
|
const std::string & |
formatString, |
|
|
const std::set< std::string > & |
minorUnitCodes, |
|
|
ConfigurableCurrency::Type |
currencyType = Type::Major |
|
) |
| |
Definition at line 26 of file configurablecurrency.cpp.
31 : Currency(name, code, numericCode, symbol, fractionSymbol, fractionsPerUnit, rounding, formatString, Currency(),
32 minorUnitCodes),
34 data_ = QuantLib::ext::make_shared<Currency::Data>(name, code, numericCode, symbol, fractionSymbol, fractionsPerUnit,
35 rounding, formatString, Currency(), minorUnitCodes);
36}
Type currencyType() const
ConfigurableCurrency::Type currencyType_
◆ currencyType()
Type currencyType |
( |
| ) |
const |
◆ currencyType_