#include <CPIFactory.h>
Inheritance diagram for com::ftlabs::fisa::CPIFactory:

Public Member Functions | |
| virtual | ~CPIFactory (void) |
| virtual double | getCPI (int year, int month) const =0 |
| This method returns the CPI for the given year and month. | |
| virtual double | getCPI (int year, int month, int monthOffset) const =0 |
| This method returns the CPI for the given month offset from year and month. | |
| virtual double | getCPI (const FISADate &date) const =0 |
| This method returns the CPI for the given Date. | |
| virtual double | getCPI (const FISADate &date, int monthOffset) const =0 |
| This method returns the CPI for the given month offset from the given date. | |
| virtual double | getIndexRatio (const FISADate &datedDate, const FISADate &settlementDate) const =0 |
| Returns the index ratio for a given datedDate and settlementDate. | |
Protected Member Functions | |
| CPIFactory (void) | |
| com::ftlabs::fisa::CPIFactory::CPIFactory | ( | void | ) | [inline, protected] |
| virtual com::ftlabs::fisa::CPIFactory::~CPIFactory | ( | void | ) | [inline, virtual] |
| virtual double com::ftlabs::fisa::CPIFactory::getCPI | ( | int | year, | |
| int | month | |||
| ) | const [pure virtual] |
This method returns the CPI for the given year and month.
| year | The year | |
| month | The month |
| virtual double com::ftlabs::fisa::CPIFactory::getCPI | ( | int | year, | |
| int | month, | |||
| int | monthOffset | |||
| ) | const [pure virtual] |
This method returns the CPI for the given month offset from year and month.
| year | The year | |
| month | The month | |
| monthOffset | Months from the given month. |
| virtual double com::ftlabs::fisa::CPIFactory::getCPI | ( | const FISADate & | date | ) | const [pure virtual] |
This method returns the CPI for the given Date.
| date | A Date |
| virtual double com::ftlabs::fisa::CPIFactory::getCPI | ( | const FISADate & | date, | |
| int | monthOffset | |||
| ) | const [pure virtual] |
This method returns the CPI for the given month offset from the given date.
| date | A date | |
| monthOffset | Months from the given month. |
| virtual double com::ftlabs::fisa::CPIFactory::getIndexRatio | ( | const FISADate & | datedDate, | |
| const FISADate & | settlementDate | |||
| ) | const [pure virtual] |
Returns the index ratio for a given datedDate and settlementDate.
| datedDate | The datedDate of the Security. | |
| settlementDate | The settlementDate for a given transaction. |
1.5.2