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