goodFriday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_GOODFRIDAY_HPP
2 #define JULIAN_GOODFRIDAY_HPP
3 
6 
7 namespace julian {
8 
21  class GoodFriday: public Holiday {
22  public:
23  virtual bool operator()(Date) const;
24  virtual GoodFriday* clone() const;
25  virtual std::string info() const;
26  virtual ~GoodFriday(){};
27  friend class boost::serialization::access;
28  private:
29 
32  template<class Archive>
33  void serialize(Archive & , const unsigned int){
34  boost::serialization::base_object<Holiday>(*this);
35  }
36  };
37 }
38 #endif
virtual GoodFriday * clone() const
Virtual copy constructor.
Definition: goodFriday.cpp:22
File contains function EasterForAGivenYear.
virtual bool operator()(Date) const
Checks if date is Corpus Christi feast.
Definition: goodFriday.cpp:10
Definition: cadHoliday.cpp:3
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
virtual std::string info() const
Informations about class.
Definition: goodFriday.cpp:30
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: goodFriday.hpp:33
Class implements a date object.
Definition: date.hpp:27
File contains definition of Holiday class.
Good Friday.
Definition: goodFriday.hpp:21