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