corpusChristi.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_CORPUSCHRISTI_HPP
2 #define JULIAN_CORPUSCHRISTI_HPP
3 
6 
7 namespace julian {
8 
21  class CorpusChristi: public Holiday {
22  public:
23  virtual bool operator()(Date) const;
24  virtual CorpusChristi* clone() const;
25  virtual std::string info() const;
26  virtual ~CorpusChristi(){};
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 } // namespace julian
38 #endif
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
virtual bool operator()(Date) const
Checks if date is Corpus Christi holiday.
Definition: corpusChristi.cpp:10
virtual CorpusChristi * clone() const
Virtual copy constructor.
Definition: corpusChristi.cpp:20
virtual std::string info() const
Informations about class.
Definition: corpusChristi.cpp:28
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
Class implements a date object.
Definition: date.hpp:27
Corpus Christi.
Definition: corpusChristi.hpp:21
File contains definition of Holiday class.
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: corpusChristi.hpp:33