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

flowSchedule Class Reference

#include <asset.h>

List of all members.

Public Member Functions

 flowSchedule (void)
 Default Constructor.

 ~flowSchedule (void)
 flowSchedule (Date date, Real percent, BusinessDayConvention bd=Unadjusted)
 Constructor.

void setDate (Date date)
 Sets a date in the schedule.

void setAmount (Real percent)
 Sets an amount in the schedule.

void setBusDayConv (BusinessDayConvention bd)
 Sets a bus day convention in the schedule.

Date getDate ()
Real getAmount ()
BusinessDayConvention getBusDayConv ()

Private Attributes

Date _dateOfFlowPayment
Real _FlowAmountInPercent
BusinessDayConvention _businessDayConventionOnPaymentDate


Detailed Description

Author:
Yann Should have include vol surface / yc, etc to just pass assets and not all parameters into the product classes but this one was not the most important

Definition at line 19 of file asset.h.


Constructor & Destructor Documentation

flowSchedule::flowSchedule void   ) 
 

Default Constructor.

Definition at line 8 of file asset.cpp.

References _businessDayConventionOnPaymentDate, _dateOfFlowPayment, _FlowAmountInPercent, and Unadjusted.

flowSchedule::~flowSchedule void   ) 
 

Definition at line 22 of file asset.cpp.

flowSchedule::flowSchedule Date  date,
Real  percent,
BusinessDayConvention  bd = Unadjusted
 

Constructor.

Definition at line 15 of file asset.cpp.

References _businessDayConventionOnPaymentDate, _dateOfFlowPayment, _FlowAmountInPercent, and Real.


Member Function Documentation

Real flowSchedule::getAmount  )  [inline]
 

Returns:
the amount member of the object

Definition at line 48 of file asset.h.

References _FlowAmountInPercent, and Real.

BusinessDayConvention flowSchedule::getBusDayConv  )  [inline]
 

Returns:
the bus day convention member of the object

Definition at line 51 of file asset.h.

References _businessDayConventionOnPaymentDate, and BusinessDayConvention.

Date flowSchedule::getDate  )  [inline]
 

Returns:
the date member of the object

Definition at line 45 of file asset.h.

References _dateOfFlowPayment.

void flowSchedule::setAmount Real  percent  )  [inline]
 

Sets an amount in the schedule.

Definition at line 39 of file asset.h.

References _FlowAmountInPercent, and Real.

void flowSchedule::setBusDayConv BusinessDayConvention  bd  )  [inline]
 

Sets a bus day convention in the schedule.

Definition at line 42 of file asset.h.

References _businessDayConventionOnPaymentDate.

void flowSchedule::setDate Date  date  )  [inline]
 

Sets a date in the schedule.

Definition at line 36 of file asset.h.

References _dateOfFlowPayment.


Member Data Documentation

BusinessDayConvention flowSchedule::_businessDayConventionOnPaymentDate [private]
 

Definition at line 24 of file asset.h.

Referenced by flowSchedule(), getBusDayConv(), and setBusDayConv().

Date flowSchedule::_dateOfFlowPayment [private]
 

Definition at line 22 of file asset.h.

Referenced by flowSchedule(), getDate(), and setDate().

Real flowSchedule::_FlowAmountInPercent [private]
 

Definition at line 23 of file asset.h.

Referenced by flowSchedule(), getAmount(), and setAmount().


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