interpolateLogOfDF.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_INTERPOLATELOGOFDF_HPP
2 #define JULIAN_INTERPOLATELOGOFDF_HPP
3 
5 
6 namespace julian {
7 namespace ir {
8 
23  public:
30 
31  virtual double operator()(double,double,InterestRate,Date,Date,Date) const;
32  virtual double getDF(double,InterestRate,Date,Date) const;
33  virtual InterpolateLogarithmOfDF* clone() const;
34 
40  virtual std::string info() const;
41  friend class boost::serialization::access;
42  private:
45  template<class Archive>
46  void serialize(Archive & , const unsigned int) {
47  boost::serialization::base_object<InterpolationInput>(*this);
48  }
49  };
50 } // namespace ir
51 } // namespace julian
52 #endif
virtual double operator()(double, double, InterestRate, Date, Date, Date) const
Calculates inputs form DF.
Definition: interpolateLogOfDF.cpp:15
Definition: cadHoliday.cpp:3
Class is an abstract class that represents the subject of interpolation performed in swap curve opera...
Definition: interpolationInput.hpp:23
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: interpolateLogOfDF.hpp:46
virtual InterpolateLogarithmOfDF * clone() const
Virtual copy constructor.
Definition: interpolateLogOfDF.cpp:34
virtual std::string info() const
Info about class.
Definition: interpolateLogOfDF.cpp:42
virtual ~InterpolateLogarithmOfDF()
Destructor.
Definition: interpolateLogOfDF.hpp:39
InterpolateLogarithmOfDF()
Constructor.
Definition: interpolateLogOfDF.hpp:29
The class encapsulates the concept of interpolating logarithm of discount factors.
Definition: interpolateLogOfDF.hpp:22
Class implements a date object.
Definition: date.hpp:27
The class implements the concept of interest rate.
Definition: interestRate.hpp:25
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: interpolateLogOfDF.cpp:26