jpyHoliday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_JPYHOLIDAY_HPP
2 #define JULIAN_JPYHOLIDAY_HPP
3 
6 
7 namespace julian {
8 
47  class JPYHoliday: public Holiday {
48  public:
49  virtual bool operator()(Date) const;
50  virtual JPYHoliday* clone() const;
51  virtual std::string info() const;
52  virtual ~JPYHoliday(){};
53  friend class boost::serialization::access;
54  private:
55 
58  template<class Archive>
59  void serialize(Archive & , const unsigned int){
60  boost::serialization::base_object<Holiday>(*this);
61  }
62  };
63 }
64 #endif
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: jpyHoliday.hpp:59
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
virtual std::string info() const
informations about class
Definition: jpyHoliday.cpp:117
Holidays set for JPY currency.
Definition: jpyHoliday.hpp:47
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
virtual bool operator()(Date) const
Check if date is a holiday.
Definition: jpyHoliday.cpp:9
Class implements a date object.
Definition: date.hpp:27
File contains definition of Holiday class.
virtual JPYHoliday * clone() const
Virtual copy constructor.
Definition: jpyHoliday.cpp:109