ForwardTypePayoff Class Reference

#include <ql/Instruments/forward.hpp>

Inheritance diagram for ForwardTypePayoff:

Inheritance graph
[legend]
List of all members.

Detailed Description

Class for forward type payoffs.


Public Member Functions

 ForwardTypePayoff (Position::Type type, Real strike)
Position::Type forwardType () const
Real strike () const
Real operator() (Real price) const

Protected Attributes

Position::Type type_
Real strike_