#include <yieldCurve.h>
Public Member Functions | |
yieldPoint (void) | |
Default constructor. | |
yieldPoint (Real r, Real T, TypeOfRate type=Cash, DayCountConvention dayCount=ACT_360) | |
Constructor. | |
~yieldPoint (void) | |
Standard Destructor. | |
Real | getRate () |
Returns the rate associated to the Point. | |
Real | getMaturity () |
Returns the maturity associated to the Point. | |
TypeOfRate | getType () |
Returns the type associated to the Point. | |
DayCountConvention | getDayCount () |
Returns the dayCount associated to the Point. | |
void | setRate (Real r) |
Set the rate associated to the Point. | |
void | setMaturity (Real m) |
Set the maturity associated to the Point. | |
void | setType (TypeOfRate t) |
Set the type associated to the Point. | |
void | setDayCount (DayCountConvention d) |
Set the dayCount associated to the Point. | |
Static Public Member Functions | |
char * | TypeAsString (TypeOfRate t) |
Private Attributes | |
Real | _rate |
Real | _maturity |
TypeOfRate | _type |
DayCountConvention | _dayCount |
|
Default constructor.
Definition at line 7 of file yieldCurve.cpp. |
|
Constructor.
Definition at line 14 of file yieldCurve.cpp. |
|
Standard Destructor.
Definition at line 35 of file yieldCurve.cpp. |
|
Returns the dayCount associated to the Point.
Definition at line 65 of file yieldCurve.h. References _dayCount, and DayCountConvention. |
|
Returns the maturity associated to the Point.
Definition at line 59 of file yieldCurve.h. |
|
Returns the rate associated to the Point.
Definition at line 56 of file yieldCurve.h. |
|
Returns the type associated to the Point.
Definition at line 62 of file yieldCurve.h. References TypeOfRate. |
|
Set the dayCount associated to the Point.
Definition at line 77 of file yieldCurve.h. References _dayCount. |
|
Set the maturity associated to the Point.
Definition at line 71 of file yieldCurve.h. |
|
Set the rate associated to the Point.
Definition at line 68 of file yieldCurve.h. |
|
Set the type associated to the Point.
Definition at line 74 of file yieldCurve.h. |
|
Definition at line 23 of file yieldCurve.cpp. Referenced by CSVParser::operator>>(). |
|
Definition at line 86 of file yieldCurve.h. Referenced by getDayCount(), setDayCount(), and yieldPoint(). |
|
Definition at line 84 of file yieldCurve.h. Referenced by getMaturity(), setMaturity(), and yieldPoint(). |
|
Definition at line 83 of file yieldCurve.h. Referenced by getRate(), setRate(), and yieldPoint(). |
|
Definition at line 85 of file yieldCurve.h. |