Intermediate class for put/call payoffs. More...
#include <ql/instruments/payoffs.hpp>
Public Member Functions | |
Option::Type | optionType () const |
Payoff interface | |
std::string | description () const |
![]() | |
virtual std::string | name () const =0 |
virtual Real | operator() (Real price) const =0 |
virtual void | accept (AcyclicVisitor &) |
Protected Member Functions | |
TypePayoff (Option::Type type) | |
Protected Attributes | |
Option::Type | type_ |
Intermediate class for put/call payoffs.