QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
crypto.hpp
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2004, 2005 StatPro Italia srl
5
6 This file is part of QuantLib, a free-software/open-source library
7 for financial quantitative analysts and developers - http://quantlib.org/
8
9 QuantLib is free software: you can redistribute it and/or modify it
10 under the terms of the QuantLib license. You should have received a
11 copy of the license along with this program; if not, please email
12 <quantlib-dev@lists.sf.net>. The license is also available online at
13 <http://quantlib.org/license.shtml>.
14
15 This program is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 FOR A PARTICULAR PURPOSE. See the license for more details.
18*/
19
26#ifndef quantlib_crypto_currencies_hpp
27#define quantlib_crypto_currencies_hpp
28
29#include <ql/currency.hpp>
30
31#if defined(QL_PATCH_MSVC)
32#pragma warning(push)
33#pragma warning(disable:4819)
34#endif
35
36namespace QuantLib {
37
39
43 class BTCCurrency : public Currency {
44 public:
46 };
47
49
53 class ETHCurrency : public Currency {
54 public:
56 };
57
59
63 class ETCCurrency : public Currency {
64 public:
66 };
67
69
73 class BCHCurrency : public Currency {
74 public:
76 };
77
79
83 class XRPCurrency : public Currency {
84 public:
86 };
87
89
93 class LTCCurrency : public Currency {
94 public:
96 };
97
99
103 class DASHCurrency : public Currency {
104 public:
105 DASHCurrency();
106 };
107
109
113 class ZECCurrency : public Currency {
114 public:
115 ZECCurrency();
116 };
117}
118
119#if defined(QL_PATCH_MSVC)
120#pragma warning(pop)
121#endif
122
123#endif
Bitcoin Cash.
Definition: crypto.hpp:73
BCHCurrency()
Bitcoin Cash.
Definition: crypto.cpp:68
Currency specification
Definition: currency.hpp:36
DASHCurrency()
Dash coin.
Definition: crypto.cpp:104
Ethereum Classic.
Definition: crypto.hpp:63
ETCCurrency()
Ethereum Classic.
Definition: crypto.cpp:56
ETHCurrency()
Ethereum.
Definition: crypto.cpp:44
LTCCurrency()
Litecoin.
Definition: crypto.cpp:92
XRPCurrency()
Ripple.
Definition: crypto.cpp:80
Definition: any.hpp:35