simpleRate.hpp
Go to the documentation of this file.
virtual std::string info() const
Info about class.
Definition: simpleRate.cpp:49
File contains interface of interest rate compounding concept.
friend std::ostream & operator<<(std::ostream &s, SimpleRate &c)
Overloads stream operator.
Definition: simpleRate.cpp:40
Definition: cadHoliday.cpp:3
virtual double getRate(double future_value, double accrual_time) const
Calculates interest rate.
Definition: simpleRate.cpp:21
Class is an abstract class expressing the concept of compounding interest rate.
Definition: compounding.hpp:23
virtual SimpleRate * clone() const
Virtual copy constructor.
Definition: simpleRate.cpp:32
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: simpleRate.hpp:38
virtual double getCapitalization(double interest_rate, double accrual_time) const
Calculates future value.
Definition: simpleRate.cpp:11
The class encapsulates the simple rate compounding method.
Definition: simpleRate.hpp:20