Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
behicp.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2020 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/indexes/behicp.hpp
20 \brief Belgium HICP index
21*/
22
23#pragma once
24
25#include <ql/currencies/europe.hpp>
26#include <ql/indexes/inflationindex.hpp>
28
29namespace QuantExt {
30
31//! Belgium HICP index
32class BEHICP : public QuantLib::ZeroInflationIndex {
33public:
34 BEHICP(const QuantLib::Handle<QuantLib::ZeroInflationTermStructure>& ts =
35 QuantLib::Handle<QuantLib::ZeroInflationTermStructure>())
36 : QuantLib::ZeroInflationIndex("HICP", BelgiumRegion(), false, QuantLib::Monthly,
37 QuantLib::Period(1, QuantLib::Months), QuantLib::EURCurrency(), ts) {}
38
39 QL_DEPRECATED_DISABLE_WARNING
40 QL_DEPRECATED BEHICP(bool interpolated, const QuantLib::Handle<QuantLib::ZeroInflationTermStructure>& ts =
41 QuantLib::Handle<QuantLib::ZeroInflationTermStructure>())
42
43 : QuantLib::ZeroInflationIndex("HICP", BelgiumRegion(), false, interpolated, QuantLib::Monthly,
44 QuantLib::Period(1, QuantLib::Months), QuantLib::EURCurrency(), ts) {}
45 QL_DEPRECATED_ENABLE_WARNING
46};
47
48} // namespace QuantExt
Belgium HICP index.
Definition: behicp.hpp:32
QL_DEPRECATED_DISABLE_WARNING QL_DEPRECATED BEHICP(bool interpolated, const QuantLib::Handle< QuantLib::ZeroInflationTermStructure > &ts=QuantLib::Handle< QuantLib::ZeroInflationTermStructure >())
Definition: behicp.hpp:40
BEHICP(const QuantLib::Handle< QuantLib::ZeroInflationTermStructure > &ts=QuantLib::Handle< QuantLib::ZeroInflationTermStructure >())
Definition: behicp.hpp:34
Belgium as geographical/economic region.
Definition: region.hpp:61
Region, i.e. geographical area, specification.