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

Public Member Functions | |
| InflationIndexedCalculator (const InflationIndexedCalculator &calculator) | |
| InflationIndexedCalculator (const Calculator *delegateCalculator, const FISADate &settlementDate, const FISADate *datedDate, const PriceIndexFactory &priceIndexFactory) throw ( com::ftlabs::fisa::calc::CalculationException ) | |
| virtual | ~InflationIndexedCalculator (void) |
| InflationIndexedCalculator & | operator= (const InflationIndexedCalculator &calculator) |
| void | setValues (const FISADate &settlementDate, const FISADate *datedDate, const PriceIndexFactory &priceIndexFactory) throw ( com::ftlabs::fisa::calc::CalculationException ) |
| double | getIndexRatio () const throw ( com::ftlabs::fisa::calc::CalculationException ) |
| Get the Index Ratio for the datedDate and settlementDate to which this calculator is bound. | |
| double | getAdjustedPrice (double price) const throw ( com::ftlabs::fisa::calc::CalculationException ) |
| Get a price adjusted by the indexRatio. | |
| virtual double | getAdjustedAccruedInterest (void) const throw ( com::ftlabs::fisa::calc::CalculationException ) |
| Get the adjusted accrued interest. | |
Private Member Functions | |
| double | calculateIndexRatio (const PriceIndexFactory &priceIndexFactory, const FISADate &datedDate, const FISADate &settlementDate) |
Private Attributes | |
| double | indexRatio |
| com::ftlabs::fisa::calc::InflationIndexedCalculator::InflationIndexedCalculator | ( | const InflationIndexedCalculator & | calculator | ) |
| com::ftlabs::fisa::calc::InflationIndexedCalculator::InflationIndexedCalculator | ( | const Calculator * | delegateCalculator, | |
| const FISADate & | settlementDate, | |||
| const FISADate * | datedDate, | |||
| const PriceIndexFactory & | priceIndexFactory | |||
| ) | throw ( com::ftlabs::fisa::calc::CalculationException ) |
| virtual com::ftlabs::fisa::calc::InflationIndexedCalculator::~InflationIndexedCalculator | ( | void | ) | [virtual] |
| InflationIndexedCalculator& com::ftlabs::fisa::calc::InflationIndexedCalculator::operator= | ( | const InflationIndexedCalculator & | calculator | ) |
| void com::ftlabs::fisa::calc::InflationIndexedCalculator::setValues | ( | const FISADate & | settlementDate, | |
| const FISADate * | datedDate, | |||
| const PriceIndexFactory & | priceIndexFactory | |||
| ) | throw ( com::ftlabs::fisa::calc::CalculationException ) |
| double com::ftlabs::fisa::calc::InflationIndexedCalculator::getIndexRatio | ( | ) | const throw ( com::ftlabs::fisa::calc::CalculationException ) |
Get the Index Ratio for the datedDate and settlementDate to which this calculator is bound.
| double com::ftlabs::fisa::calc::InflationIndexedCalculator::getAdjustedPrice | ( | double | price | ) | const throw ( com::ftlabs::fisa::calc::CalculationException ) |
Get a price adjusted by the indexRatio.
| price | A price to adjust. |
| virtual double com::ftlabs::fisa::calc::InflationIndexedCalculator::getAdjustedAccruedInterest | ( | void | ) | const throw ( com::ftlabs::fisa::calc::CalculationException ) [virtual] |
Get the adjusted accrued interest.
| double com::ftlabs::fisa::calc::InflationIndexedCalculator::calculateIndexRatio | ( | const PriceIndexFactory & | priceIndexFactory, | |
| const FISADate & | datedDate, | |||
| const FISADate & | settlementDate | |||
| ) | [private] |
double com::ftlabs::fisa::calc::InflationIndexedCalculator::indexRatio [private] |
1.5.2