|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Plain-vanilla payoff. More...
#include <ql/instruments/payoffs.hpp>
Public Member Functions | |
| PlainVanillaPayoff (Option::Type type, Real strike) | |
Payoff interface | |
| std::string | name () const override |
| Real | operator() (Real price) const override |
| void | accept (AcyclicVisitor &) override |
| std::string | description () const override |
| Real | strike () const |
| Public Member Functions inherited from TypePayoff | |
| Option::Type | optionType () const |
| std::string | description () const override |
| Public Member Functions inherited from Payoff | |
Additional Inherited Members | |
| StrikedTypePayoff (Option::Type type, Real strike) | |
| TypePayoff (Option::Type type) | |
| Real | strike_ |
| Option::Type | type_ |
Plain-vanilla payoff.
|
overridevirtual |
|
overridevirtual |
Reimplemented from Payoff.