Class representing the contents of a cashflow table. More...
#include <qle/cashflows/cashflowtable.hpp>
Collaboration diagram for CashflowTable:Public Member Functions | |
| CashflowTable () | |
| Default constructor to create empty table. More... | |
| void | add (const CashflowRow &cashflowRow) |
| Add a row to the cashflow table. More... | |
| QuantLib::Size | size () const |
| Return the number of rows in the cashflow table. More... | |
| const CashflowRow & | operator[] (QuantLib::Size i) const |
Retrieve row i from the cashflow table. More... | |
| CashflowRow & | operator[] (QuantLib::Size i) |
Private Attributes | |
| std::vector< CashflowRow > | rows_ |
Class representing the contents of a cashflow table.
Definition at line 79 of file cashflowtable.hpp.
| CashflowTable | ( | ) |
| void add | ( | const CashflowRow & | cashflowRow | ) |
Add a row to the cashflow table.
Definition at line 76 of file cashflowtable.cpp.
| Size size | ( | ) | const |
| const CashflowRow & operator[] | ( | QuantLib::Size | i | ) | const |
Retrieve row i from the cashflow table.
| CashflowRow & operator[] | ( | QuantLib::Size | i | ) |
|
private |
Definition at line 92 of file cashflowtable.hpp.