diff --git a/ql/methods/finitedifferences/pdeshortrate.hpp b/ql/methods/finitedifferences/pdeshortrate.hpp index 8247cf62dbe..f94e6dfdcf7 100644 --- a/ql/methods/finitedifferences/pdeshortrate.hpp +++ b/ql/methods/finitedifferences/pdeshortrate.hpp @@ -31,7 +31,10 @@ namespace QuantLib { - class PdeShortRate : public PdeSecondOrderParabolic { + /*! \deprecated Use the new finite-differences framework instead. + Deprecated in version 1.27. + */ + class QL_DEPRECATED PdeShortRate : public PdeSecondOrderParabolic { public: typedef ext::shared_ptr argument_type; diff --git a/ql/methods/finitedifferences/shoutcondition.hpp b/ql/methods/finitedifferences/shoutcondition.hpp index 181988d5fb2..0b5d0420246 100644 --- a/ql/methods/finitedifferences/shoutcondition.hpp +++ b/ql/methods/finitedifferences/shoutcondition.hpp @@ -33,12 +33,10 @@ namespace QuantLib { //! Shout option condition - /*! A shout option is an option where the holder has the right to - lock in a minimum value for the payoff at one (shout) time - during the option's life. The minimum value is the option's - intrinsic value at the shout time. + /*! \deprecated Use the new finite-differences framework instead. + Deprecated in version 1.27. */ - class ShoutCondition : public StandardStepCondition { + class QL_DEPRECATED ShoutCondition : public StandardStepCondition { public: ShoutCondition(const Array& intrinsicValues, Time resTime, diff --git a/ql/pricingengines/vanilla/fdconditions.hpp b/ql/pricingengines/vanilla/fdconditions.hpp index 7c632cda48d..56fec09d33c 100644 --- a/ql/pricingengines/vanilla/fdconditions.hpp +++ b/ql/pricingengines/vanilla/fdconditions.hpp @@ -31,8 +31,13 @@ namespace QuantLib { + QL_DEPRECATED_DISABLE_WARNING + + /*! \deprecated Use the new finite-differences framework instead. + Deprecated in version 1.27. + */ template - class FDShoutCondition : public baseEngine { + class QL_DEPRECATED FDShoutCondition : public baseEngine { public: FDShoutCondition( const ext::shared_ptr& process, @@ -53,6 +58,8 @@ namespace QuantLib { } }; + QL_DEPRECATED_ENABLE_WARNING + } diff --git a/ql/pricingengines/vanilla/fddividendengine.hpp b/ql/pricingengines/vanilla/fddividendengine.hpp index 3f0f914606c..6914835b92f 100644 --- a/ql/pricingengines/vanilla/fddividendengine.hpp +++ b/ql/pricingengines/vanilla/fddividendengine.hpp @@ -30,13 +30,11 @@ namespace QuantLib { - //! Abstract base class for dividend engines - /*! \todo The dividend class really needs to be made more - sophisticated to distinguish between fixed dividends and - fractional dividends + /*! \deprecated Use the new finite-differences framework instead. + Deprecated in version 1.27. */ template