Plain-vanilla payoff. More...
#include <ql/instruments/payoffs.hpp>
Inheritance diagram for PlainVanillaPayoff:Public Member Functions | |
| PlainVanillaPayoff (Option::Type type, Real strike) | |
Payoff interface | |
| std::string | name () const |
| Real | operator() (Real price) const |
| virtual void | accept (AcyclicVisitor &) |
Public Member Functions inherited from StrikedTypePayoff | |
| Real | strike () const |
| std::string | description () const |
Public Member Functions inherited from TypePayoff | |
| Option::Type | optionType () const |
Payoff interface | |
Visitability | |
Additional Inherited Members | |
Protected Member Functions inherited from StrikedTypePayoff | |
| StrikedTypePayoff (Option::Type type, Real strike) | |
Protected Member Functions inherited from TypePayoff | |
| TypePayoff (Option::Type type) | |
Protected Attributes inherited from StrikedTypePayoff | |
| Real | strike_ |
Protected Attributes inherited from TypePayoff | |
| Option::Type | type_ |
Plain-vanilla payoff.