25#ifndef quantlib_simple_cash_flow_hpp
26#define quantlib_simple_cash_flow_hpp
28#include <ql/patterns/visitor.hpp>
29#include <ql/cashflow.hpp>
degenerate base class for the Acyclic Visitor pattern
void accept(AcyclicVisitor &) override
AmortizingPayment(Real amount, const Date &date)
Base class for cash flows.
Redemption(Real amount, const Date &date)
void accept(AcyclicVisitor &) override
Real amount() const override
returns the amount of the cash flow
void accept(AcyclicVisitor &) override
Date date() const override
Visitor for a specific class
virtual void visit(T &)=0