|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
British pound sterling. More...
#include <ql/currencies/europe.hpp>
Additional Inherited Members | |
| Public Member Functions inherited from Currency | |
| Currency ()=default | |
| default constructor | |
| 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={}) | |
| const std::string & | name () const |
| currency name, e.g, "U.S. Dollar" | |
| const std::string & | code () const |
| ISO 4217 three-letter code, e.g, "USD". | |
| Integer | numericCode () const |
| ISO 4217 numeric code, e.g, "840". | |
| const std::string & | symbol () const |
| symbol, e.g, "$" | |
| const std::string & | fractionSymbol () const |
| fraction symbol, e.g, "ยข" | |
| Integer | fractionsPerUnit () const |
| number of fractionary parts in a unit, e.g, 100 | |
| const Rounding & | rounding () const |
| rounding convention | |
| bool | empty () const |
| is this a usable instance? | |
| const Currency & | triangulationCurrency () const |
| currency used for triangulated exchange when required | |
| const std::set< std::string > & | minorUnitCodes () const |
| minor unit codes, e.g. GBp, GBX for GBP | |
| ext::shared_ptr< Data > | data_ |
| Related Symbols inherited from Currency | |
| bool | operator== (const Currency &, const Currency &) |
| bool | operator!= (const Currency &, const Currency &) |
| std::ostream & | operator<< (std::ostream &, const Currency &) |
British pound sterling.
The ISO three-letter code is GBP; the numeric code is 826. It is divided into 100 pence.