gbpHoliday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_GBPHOLIDAY_HPP
2 #define JULIAN_GBPHOLIDAY_HPP
3 
6 
7 namespace julian {
8 
31  class GBPHoliday: public Holiday {
32  public:
33  virtual bool operator()(Date) const;
34  virtual GBPHoliday* clone() const;
35  virtual std::string info() const;
36  virtual ~GBPHoliday(){};
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 }
49 #endif
virtual GBPHoliday * clone() const
Virtual copy constructor.
Definition: gbpHoliday.cpp:58
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: gbpHoliday.hpp:43
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
Holidays set for GBP currency.
Definition: gbpHoliday.hpp:31
Class implements a date object.
Definition: date.hpp:27
virtual bool operator()(Date) const
Check if date is a holiday.
Definition: gbpHoliday.cpp:9
virtual std::string info() const
informations about class
Definition: gbpHoliday.cpp:66
File contains definition of Holiday class.