|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Abstract base class for option payoffs. More...
#include <ql/payoff.hpp>
Public Member Functions | |
Payoff interface | |
| virtual std::string | name () const =0 |
| virtual std::string | description () const =0 |
| virtual Real | operator() (Real price) const =0 |
Visitability | |
| virtual void | accept (AcyclicVisitor &) |
Abstract base class for option payoffs.
|
pure virtual |
Implemented in AssetOrNothingPayoff, CashOrNothingPayoff, DoubleStickyRatchetPayoff, FloatingTypePayoff, ForwardTypePayoff, GapPayoff, NullPayoff, PercentageStrikePayoff, PlainVanillaPayoff, RatchetMaxPayoff, RatchetMinPayoff, RatchetPayoff, StickyMaxPayoff, StickyMinPayoff, StickyPayoff, SuperFundPayoff, and SuperSharePayoff.