conundrumpricer.hpp
Go to the documentation of this file.
1 /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 /*
4  Copyright (C) 2006, 2007 Ferdinando Ametrano
5  Copyright (C) 2006, 2007 Cristina Duminuco
6  Copyright (C) 2006 Giorgio Facchinetti
7  Copyright (C) 2006 Francois du Vignaud
8 
9  This file is part of QuantLib, a free-software/open-source library
10  for financial quantitative analysts and developers - http://quantlib.org/
11 
12  QuantLib is free software: you can redistribute it and/or modify it
13  under the terms of the QuantLib license. You should have received a
14  copy of the license along with this program; if not, please email
15  <quantlib-dev@lists.sf.net>. The license is also available online at
16  <http://quantlib.org/license.shtml>.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the license for more details.
21 */
22 
23 #ifndef qla_conundrumpricer_hpp
24 #define qla_conundrumpricer_hpp
25 
26 
27 #include <qlo/couponvectors.hpp>
28 #include <ql/cashflows/conundrumpricer.hpp>
29 
30 namespace QuantLibAddin {
31 
32  class CmsCouponPricer : public FloatingRateCouponPricer {
33  public:
35  const boost::shared_ptr<ObjectHandler::ValueObject>& properties,
37  const std::string& typeOfCmsCouponPricer,
38  QuantLib::GFunctionFactory::YieldCurveModel modelOfYieldCurve,
39  const QuantLib::Handle<QuantLib::Quote>& meanReversion,
40  bool permanent);
41  protected:
42  OH_OBJ_CTOR(CmsCouponPricer, FloatingRateCouponPricer);
43  };
44 
46  public:
48  const boost::shared_ptr<ObjectHandler::ValueObject>& properties,
50  QuantLib::GFunctionFactory::YieldCurveModel modelOfYieldCurve,
51  const QuantLib::Handle<QuantLib::Quote>& meanReversion,
52  QuantLib::Rate lowerLimit,
53  QuantLib::Rate upperLimit,
54  QuantLib::Real precision,
55  bool permanent);
56  };
57 }
58 
59 #endif
60 
Definition: basketlossmodels.hpp:32
Definition: conundrumpricer.hpp:32
CmsCouponPricer(const boost::shared_ptr< ObjectHandler::ValueObject > &properties, const QuantLib::Handle< QuantLib::SwaptionVolatilityStructure > &vol, const std::string &typeOfCmsCouponPricer, QuantLib::GFunctionFactory::YieldCurveModel modelOfYieldCurve, const QuantLib::Handle< QuantLib::Quote > &meanReversion, bool permanent)
OH_OBJ_CTOR(CmsCouponPricer, FloatingRateCouponPricer)
Definition: conundrumpricer.hpp:45
Definition: abcd.hpp:38
NumericHaganPricer(const boost::shared_ptr< ObjectHandler::ValueObject > &properties, const QuantLib::Handle< QuantLib::SwaptionVolatilityStructure > &swaptionVol, QuantLib::GFunctionFactory::YieldCurveModel modelOfYieldCurve, const QuantLib::Handle< QuantLib::Quote > &meanReversion, QuantLib::Rate lowerLimit, QuantLib::Rate upperLimit, QuantLib::Real precision, bool permanent)