PlainVanillaPayoff Class Reference
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 &) |
Detailed Description
Plain-vanilla payoff.- Examples:
Member Function Documentation
| std::string name | ( | ) | const [virtual] |