com::ftlabs::fisa::PriceIndexFactory Class Reference

#include <PriceIndexFactory.h>

Inheritance diagram for com::ftlabs::fisa::PriceIndexFactory:

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

Public Member Functions

virtual double getPriceIndex (int year, int month) const =0
 This method returns the price index for the given year and month.
virtual double getPriceIndex (int year, int month, int monthOffset) const =0
 This method returns the price index for the given month offset from year and month.
virtual double getPriceIndex (const FISADate &date) const =0
 This method returns the price index for the given Date.
virtual double getPriceIndex (const FISADate &date, int monthOffset) const =0
 This method returns the price index for the given month offset from the given date.

Protected Member Functions

 PriceIndexFactory (void)
virtual ~PriceIndexFactory (void)

Constructor & Destructor Documentation

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

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


Member Function Documentation

virtual double com::ftlabs::fisa::PriceIndexFactory::getPriceIndex ( int  year,
int  month 
) const [pure virtual]

This method returns the price index for the given year and month.

Parameters:
year The year
month The month
Returns:
Price index for the given year and month.

Implemented in com::ftlabs::fisa::DefaultPriceIndexFactory.

virtual double com::ftlabs::fisa::PriceIndexFactory::getPriceIndex ( int  year,
int  month,
int  monthOffset 
) const [pure virtual]

This method returns the price index for the given month offset from year and month.

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

Implemented in com::ftlabs::fisa::DefaultPriceIndexFactory.

virtual double com::ftlabs::fisa::PriceIndexFactory::getPriceIndex ( const FISADate date  )  const [pure virtual]

This method returns the price index for the given Date.

Parameters:
date A Date
Returns:
Price index for the given Date.

Implemented in com::ftlabs::fisa::DefaultPriceIndexFactory.

virtual double com::ftlabs::fisa::PriceIndexFactory::getPriceIndex ( const FISADate date,
int  monthOffset 
) const [pure virtual]

This method returns the price index for the given month offset from the given date.

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

Implemented in com::ftlabs::fisa::DefaultPriceIndexFactory.


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