interpolateDF.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_INTERPOLATEDF_HPP
2 #define JULIAN_INTERPOLATEDF_HPP
3 
6 
7 namespace julian {
8  namespace ir {
9 
23  public:
27 
32  virtual ~InterpolateDF(){};
33 
34  virtual double operator()(double ,double DF2,InterestRate ,Date ,Date ,Date ) const;
35  virtual double getDF(double,InterestRate,Date,Date) const;
36  virtual InterpolateDF* clone() const;
37  virtual std::string info() const;
38 
39  friend class boost::serialization::access;
40  private:
43  template<class Archive>
44  void serialize(Archive & , const unsigned int) {
45  boost::serialization::base_object<InterpolationInput>(*this);
46  }
47  };
48  }
49 }
50 
51 #endif
virtual double getDF(double, InterestRate, Date, Date) const
Calculate DF form result of interpolation.
Definition: interpolateDF.cpp:26
virtual ~InterpolateDF()
Destructor.
Definition: interpolateDF.hpp:32
virtual double operator()(double, double DF2, InterestRate, Date, Date, Date) const
Calculates inputs form DF.
Definition: interpolateDF.cpp:14
The class encapsulates the concept of interpolating discount factors.
Definition: interpolateDF.hpp:22
InterpolateDF()
Constructor.
Definition: interpolateDF.hpp:26
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 std::string info() const
Info about class.
Definition: interpolateDF.cpp:42
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: interpolateDF.hpp:44
Class implements a date object.
Definition: date.hpp:27
virtual InterpolateDF * clone() const
Virtual copy constructor.
Definition: interpolateDF.cpp:34
The class implements the concept of interest rate.
Definition: interestRate.hpp:25
File contains interface of method that provides inputs to interpolation.
File contains definition of InterestRate class.