QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Greek drachma. More...
#include <europe.hpp>
Public Member Functions | |
GRDCurrency () | |
Public Member Functions inherited from Currency | |
Currency ()=default | |
default constructor More... | |
Currency (const std::string &name, const std::string &code, Integer numericCode, const std::string &symbol, const std::string &fractionSymbol, Integer fractionsPerUnit, const Rounding &rounding, const Currency &triangulationCurrency=Currency(), const std::set< std::string > &minorUnitCodes={}) | |
QL_DEPRECATED | Currency (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 Currency &triangulationCurrency=Currency(), const std::set< std::string > &minorUnitCodes={}) |
const std::string & | name () const |
currency name, e.g, "U.S. Dollar" More... | |
const std::string & | code () const |
ISO 4217 three-letter code, e.g, "USD". More... | |
Integer | numericCode () const |
ISO 4217 numeric code, e.g, "840". More... | |
const std::string & | symbol () const |
symbol, e.g, "$" More... | |
const std::string & | fractionSymbol () const |
fraction symbol, e.g, "ยข" More... | |
Integer | fractionsPerUnit () const |
number of fractionary parts in a unit, e.g, 100 More... | |
const Rounding & | rounding () const |
rounding convention More... | |
std::string | format () const |
output format More... | |
bool | empty () const |
is this a usable instance? More... | |
const Currency & | triangulationCurrency () const |
currency used for triangulated exchange when required More... | |
const std::set< std::string > & | minorUnitCodes () const |
minor unit codes, e.g. GBp, GBX for GBP More... | |
Additional Inherited Members | |
Protected Attributes inherited from Currency | |
ext::shared_ptr< Data > | data_ |
Related Functions inherited from Currency | |
QL_DEPRECATED_ENABLE_WARNING bool | operator== (const Currency &, const Currency &) |
bool | operator!= (const Currency &, const Currency &) |
std::ostream & | operator<< (std::ostream &, const Currency &) |
Greek drachma.
The ISO three-letter code was GRD; the numeric code was 300. It was divided in 100 lepta.
Obsoleted by the Euro since 2001.
Definition at line 421 of file europe.hpp.
GRDCurrency | ( | ) |
Definition at line 409 of file europe.cpp.