com::ftlabs::fisa::CPIFactory Class Reference

#include <CPIFactory.h>

Inheritance diagram for com::ftlabs::fisa::CPIFactory:

com::ftlabs::fisa::DefaultCPIFactory List of all members.

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)

Constructor & Destructor Documentation

com::ftlabs::fisa::CPIFactory::CPIFactory ( void   )  [inline, protected]

virtual com::ftlabs::fisa::CPIFactory::~CPIFactory ( void   )  [inline, virtual]


Member Function Documentation

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.

Parameters:
year The year
month The month
Returns:
CPI for the given year and 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.

Parameters:
year The year
month The month
monthOffset Months from the given month.
Returns:
CPI for the given offset from year and month.

virtual double com::ftlabs::fisa::CPIFactory::getCPI ( const FISADate date  )  const [pure virtual]

This method returns the CPI for the given Date.

Parameters:
date A Date
Returns:
CPI for the given 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.

Parameters:
date A date
monthOffset Months from the given month.
Returns:
CPI for the given offset from the given date.

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.

Parameters:
datedDate The datedDate of the Security.
settlementDate The settlementDate for a given transaction.
Returns:
The index ratio for the given datedDate and settlementDate.


The documentation for this class was generated from the following file:
Generated on Tue Feb 5 03:50:22 2008 for FTLabs FISA (c++) by  doxygen 1.5.2