Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

cashflow Class Reference

#include <bond.h>

List of all members.

Public Member Functions

 cashflow (valarray< Date > dates, valarray< Real > cashflows)
 ~cashflow ()
valarray< DategetDates ()
valarray< RealgetCashflows ()

Private Attributes

valarray< Date_dates
valarray< Real_cashflows


Constructor & Destructor Documentation

cashflow::cashflow valarray< Date dates,
valarray< Real cashflows
 

Definition at line 3 of file bond.cpp.

cashflow::~cashflow  )  [inline]
 

Definition at line 21 of file bond.h.


Member Function Documentation

valarray< Real > cashflow::getCashflows  ) 
 

Definition at line 13 of file bond.cpp.

References _cashflows.

Referenced by bond::convexity(), bond::duration(), bond::fairvalue(), riskybond::quotedPrice(), bond::quotedPrice(), and bond::yieldToMaturity().

valarray< Date > cashflow::getDates  ) 
 

Definition at line 9 of file bond.cpp.

References _dates.

Referenced by bond::convexity(), bond::duration(), bond::fairvalue(), riskybond::quotedPrice(), bond::quotedPrice(), and bond::yieldToMaturity().


Member Data Documentation

valarray<Real> cashflow::_cashflows [private]
 

Definition at line 17 of file bond.h.

Referenced by getCashflows().

valarray<Date> cashflow::_dates [private]
 

Definition at line 16 of file bond.h.

Referenced by getDates().


The documentation for this class was generated from the following files:
Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:39 2005 for terreneuve by doxygen 1.3.6