Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
africa.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2016 Quaternion Risk Management Ltd
3 All rights reserved.
4
5 This file is part of ORE, a free-software/open-source library
6 for transparent pricing and risk analysis - http://opensourcerisk.org
7
8 ORE is free software: you can redistribute it and/or modify it
9 under the terms of the Modified BSD License. You should have received a
10 copy of the license along with this program.
11 The license is also available online at <http://opensourcerisk.org>
12
13 This program is distributed on the basis that it will form a useful
14 contribution to risk analytics and model standardisation, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
17*/
18
19/*! \file qle/currencies/africa.hpp
20 \brief Extend QuantLib African currencies
21
22 ISO number from http://fx.sauder.ubc.ca/currency_table.html \n
23 We assume all currencies have a format of "%1$.2f %3%" (2 decimal places)
24
25 \ingroup currencies
26*/
27
28#ifndef quantext_currencies_africa_hpp
29#define quantext_currencies_africa_hpp
30
31#include <ql/currency.hpp>
32
33namespace QuantExt {
34using namespace QuantLib;
35
36//! Tunisian dinar
37/*! The ISO three-letter code is TND; the numeric code is 788.
38 It is divided into 1000 millim.
39
40 \ingroup currencies
41 */
42// class TNDCurrency : public Currency {
43// public:
44// TNDCurrency();
45// };
46
47//! Egyptian pound
48/*! The ISO three-letter code is EGP; the numeric code is 818.
49 It is divided into 100 piastres.
50
51 \ingroup currencies
52*/
53// class EGPCurrency : public Currency {
54// public:
55// EGPCurrency();
56// };
57
58//! Mauritian rupee
59/*! The ISO three-letter code is MUR; the numeric code is 480.
60 It is divided into 100 cents.
61
62 \ingroup currencies
63*/
64// class MURCurrency : public Currency {
65// public:
66// MURCurrency();
67// };
68
69//! Ugandan shilling
70/*! The ISO three-letter code is UGX; the numeric code is 800.
71It is the smallest unit.
72
73 \ingroup currencies
74*/
75// class UGXCurrency : public Currency {
76// public:
77// UGXCurrency();
78// };
79
80//! Zambian kwacha
81/*! The ISO three-letter code is ZMW; the numeric code is 967.
82It is divided into 100 ngwee.
83
84 \ingroup currencies
85*/
86// class ZMWCurrency : public Currency {
87// public:
88// ZMWCurrency();
89// };
90
91//! Moroccan dirham
92/*! The ISO three-letter code is MAD; the numeric code is 504.
93 It is divided into 100 santim.
94
95 \ingroup currencies
96*/
97// class MADCurrency : public Currency {
98// public:
99// MADCurrency();
100// };
101
102//! Kenyan shilling
103/*! The ISO three-letter code is KES; the numeric code is 404.
104 It is divided into 100 cents.
105
106 \ingroup currencies
107*/
108// class KESCurrency : public Currency {
109// public:
110// KESCurrency();
111// };
112
113//! Ghanaian cedi
114/*! The ISO three-letter code is GHS; the numeric code is 936.
115 It is divided into 100 pesewas.
116
117 \ingroup currencies
118*/
119// class GHSCurrency : public Currency {
120// public:
121// GHSCurrency();
122// };
123
124// Angolan kwanza
125/*! The ISO three-letter code is AOA; the numeric code is 973.
126 It is divided into 100 cêntimo.
127
128 \ingroup currencies
129*/
130// class AOACurrency : public Currency {
131// public:
132// AOACurrency();
133// };
134
135// Ethiopian birr
136/*! The ISO three-letter code is ETB; the numeric code is 230.
137 It is divided into 100 santim.
138
139 \ingroup currencies
140*/
141// class ETBCurrency : public Currency {
142// public:
143// ETBCurrency();
144// };
145
146// West African CFA franc
147/*! The ISO three-letter code is XOF; the numeric code is 952.
148 It is divided into 100 centime.
149
150 \ingroup currencies
151*/
152// class XOFCurrency : public Currency {
153// public:
154// XOFCurrency();
155// };
156
157} // namespace QuantExt
158#endif