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