ActActAFB.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_ACTACTAFB_HPP
2 #define JULIAN_ACTACTAFB_HPP
3 
5 
6 namespace julian {
7 
25  class ActActAFB: public YearFraction {
26  public:
27  ActActAFB(){};
28  virtual double operator()(const Date&,const Date&) const;
29  virtual ActActAFB* clone() const;
30  virtual std::string info() const;
31  virtual ~ActActAFB(){};
32  friend class boost::serialization::access;
33  private:
34 
37  template<class Archive>
38  void serialize(Archive & , const unsigned int){
39  boost::serialization::base_object<YearFraction>(*this);
40  }
41  };
42 }
43 #endif
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: ActActAFB.hpp:38
File contains interface for year fractions.
This class is an abstract class expressing the concept of calculating year fraction.
Definition: yearFraction.hpp:28
Definition: cadHoliday.cpp:3
The class encapsulates the ACTACT AFB year fraction convention.
Definition: ActActAFB.hpp:25
virtual ActActAFB * clone() const
Virtual copy constructor of the ACTACT class.
Definition: ActActAFB.cpp:37
virtual double operator()(const Date &, const Date &) const
Method calculates the year fraction on the basis of two dates. In case of AFB (Association Francaise ...
Definition: ActActAFB.cpp:13
virtual std::string info() const
The method returns string containing the name of convention.
Definition: ActActAFB.cpp:43
Class implements a date object.
Definition: date.hpp:27