linearInterpolation.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_LINEARINTERPOLATION_HPP
2 #define JULIAN_LINEARINTERPOLATION_HPP
3 
5 #include <boost/archive/xml_oarchive.hpp>
6 #include <boost/archive/xml_iarchive.hpp>
7 #include <boost/archive/text_oarchive.hpp>
8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/serialization/export.hpp>
10 
11 namespace julian {
12 
33  public:
35  virtual double operator()(const std::vector<double>&,const std::vector<double>&,const double&) const;
36  virtual LinearInterpolation* clone() const;
37  virtual std::string info() const;
38  virtual unsigned int getMinSize() const;
39  virtual ~LinearInterpolation(){};
40  friend class boost::serialization::access;
41  private:
42 
45  template<class Archive>
46  void serialize(Archive & , const unsigned int){
47  boost::serialization::base_object<Interpolation>(*this);
48  }
49  };
50 } // namespace julian
51 
52 #endif
Definition: cadHoliday.cpp:3
File contains interface of interpolation methods.
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: linearInterpolation.hpp:46
virtual unsigned int getMinSize() const
return the minimum number of points required by the interpolation
Definition: linearInterpolation.cpp:33
virtual std::string info() const
Name of a class.
Definition: linearInterpolation.cpp:49
Class is an abstract type expressing the concept of interpolation.
Definition: interpolation.hpp:29
Class implements the linear local interpolation technique.
Definition: linearInterpolation.hpp:32
virtual double operator()(const std::vector< double > &, const std::vector< double > &, const double &) const
Performs interpolation.
Definition: linearInterpolation.cpp:14
virtual LinearInterpolation * clone() const
Virtual copy constructor.
Definition: linearInterpolation.cpp:41