hufHoliday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_HUFHOLIDAY_HPP
2 #define JULIAN_HUFHOLIDAY_HPP
3 
6 
7 namespace julian {
8 
31  class HUFHoliday: public Holiday {
32  public:
33  virtual bool operator()(Date) const;
34  virtual HUFHoliday* clone() const;
35  virtual std::string info() const;
36  virtual ~HUFHoliday(){};
37  friend class boost::serialization::access;
38  private:
39 
42  template<class Archive>
43  void serialize(Archive & , const unsigned int){
44  boost::serialization::base_object<Holiday>(*this);
45  }
46  };
47 }
48 #endif
Holidays set for HUF currency.
Definition: hufHoliday.hpp:31
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
virtual std::string info() const
Informations about class.
Definition: hufHoliday.cpp:74
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: hufHoliday.hpp:43
virtual bool operator()(Date) const
Check if date is a holiday.
Definition: hufHoliday.cpp:9
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
File contains definition of Holiday class.
virtual HUFHoliday * clone() const
Virtual copy constructor.
Definition: hufHoliday.cpp:66