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