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