ACT360addOne.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_ACT360ADDONE_HPP
2 #define JULIAN_ACT360ADDONE_HPP
3 
5 
6 namespace julian {
7 
22  class ACT360addOne: public YearFraction {
23  public:
24  ACT360addOne(){};
25  virtual double operator()(const Date&,const Date&) const;
26  virtual ACT360addOne* clone() const;
27  virtual std::string info() const;
28  virtual ~ACT360addOne(){};
29  friend class boost::serialization::access;
30  private:
31 
34  template<class Archive>
35  void serialize(Archive & , const unsigned int){
36  boost::serialization::base_object<YearFraction>(*this);
37  }
38  };
39 }
40 #endif
File contains interface for year fractions.
virtual std::string info() const
Name of a class.
Definition: ACT360addOne.cpp:27
This class is an abstract class expressing the concept of calculating year fraction.
Definition: yearFraction.hpp:28
Definition: cadHoliday.cpp:3
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: ACT360addOne.hpp:35
Class implements a date object.
Definition: date.hpp:27
virtual double operator()(const Date &, const Date &) const
Calculates year fraction.
Definition: ACT360addOne.cpp:11
virtual ACT360addOne * clone() const
Virtual copy constructor.
Definition: ACT360addOne.cpp:19
The class encapsulates the ACT360addOne year fraction convention.
Definition: ACT360addOne.hpp:22