24#ifndef quantlib_commodity_cash_flow_hpp
25#define quantlib_commodity_cash_flow_hpp
86 typedef std::map<Date, ext::shared_ptr<CommodityCashFlow> >
Base class for cash flows.
degenerate base class for the Acyclic Visitor pattern
Base class for cash flows.
const Money & discountedAmount() const
const Currency & currency() const
Real amount() const override
returns the amount of the cash flow
Money undiscountedPaymentAmount_
void accept(AcyclicVisitor &) override
Real paymentDiscountFactor() const
const Money & undiscountedAmount() const
const Money & undiscountedPaymentAmount() const
Real discountFactor() const
Real paymentDiscountFactor_
CommodityCashFlow(const Date &date, Money discountedAmount, Money undiscountedAmount, Money discountedPaymentAmount, Money undiscountedPaymentAmount, Real discountFactor, Real paymentDiscountFactor, bool finalized)
Date date() const override
const Money & discountedPaymentAmount() const
Money discountedPaymentAmount_
Money undiscountedAmount_
const Currency & currency() const
cash amount in a given currency
std::map< Date, ext::shared_ptr< CommodityCashFlow > > CommodityCashFlows
std::ostream & operator<<(std::ostream &out, GFunctionFactory::YieldCurveModel type)