interpolateInverseDF.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_INTERPOLATEINVERSEDF_HPP
2 #define JULIAN_INTERPOLATEINVERSEDF_HPP
3 
5 
6 namespace julian {
7 namespace ir {
8 
21  public:
28  virtual double operator()(double,double,InterestRate,Date,Date,Date) const;
29  virtual double getDF(double,InterestRate,Date,Date) const;
30  virtual InterpolateInverseDF* clone() const;
31 
36  virtual ~InterpolateInverseDF(){};
37  virtual std::string info() const;
38  friend class boost::serialization::access;
39  private:
42  template<class Archive>
43  void serialize(Archive & , const unsigned int) {
44  boost::serialization::base_object<InterpolationInput>(*this);
45  }
46  };
47 } // namespace ir
48 } // namespace julian
49 #endif
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: interpolateInverseDF.hpp:43
Definition: cadHoliday.cpp:3
Class is an abstract class that represents the subject of interpolation performed in swap curve opera...
Definition: interpolationInput.hpp:23
virtual InterpolateInverseDF * clone() const
Virtual copy constructor.
Definition: interpolateInverseDF.cpp:35
virtual double operator()(double, double, InterestRate, Date, Date, Date) const
Calulate inputs form DF.
Definition: interpolateInverseDF.cpp:15
virtual ~InterpolateInverseDF()
Destructor.
Definition: interpolateInverseDF.hpp:36
virtual std::string info() const
Info about class.
Definition: interpolateInverseDF.cpp:43
Class implements a date object.
Definition: date.hpp:27
The class encapsulates the concept of interpolating inverse discount factors.
Definition: interpolateInverseDF.hpp:20
The class implements the concept of interest rate.
Definition: interestRate.hpp:25
InterpolateInverseDF()
Constructor.
Definition: interpolateInverseDF.hpp:27
File contains interface of method that provides inputs to interpolation.
virtual double getDF(double, InterestRate, Date, Date) const
Calculate DF form result of interpolation.
Definition: interpolateInverseDF.cpp:27