cadHoliday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_CADHOLIDAY_HPP
2 #define JULIAN_CADHOLIDAY_HPP
3 
6 
7 namespace julian {
8 
32  class CADHoliday: public Holiday {
33  public:
34  virtual bool operator()(Date) const;
35  virtual CADHoliday* clone() const;
36  virtual std::string info() const;
37  virtual ~CADHoliday(){};
38  friend class boost::serialization::access;
39  private:
40 
43  template<class Archive>
44  void serialize(Archive & , const unsigned int){
45  boost::serialization::base_object<Holiday>(*this);
46  }
47  };
48 }
49 
50 #endif
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
virtual std::string info() const
informations about class
Definition: cadHoliday.cpp:54
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
virtual CADHoliday * clone() const
Virtual copy constructor.
Definition: cadHoliday.cpp:46
Holidays set for CAD currency.
Definition: cadHoliday.hpp:32
Class implements a date object.
Definition: date.hpp:27
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: cadHoliday.hpp:44
virtual bool operator()(Date) const
Check if date is a holiday.
Definition: cadHoliday.cpp:9
File contains definition of Holiday class.