The Gaudi Framework  v28r3 (cc1cf868)
Interpolation.h
Go to the documentation of this file.
1 #ifndef GAUDIMATH_INTERPOLATION_H
2 #define GAUDIMATH_INTERPOLATION_H 1
3 // ============================================================================
4 // include files
5 // ============================================================================
6 #include <iosfwd>
7 #include <string>
8 
9 class StatusCode;
10 
11 namespace GaudiMath
12 {
13  namespace Interpolation
14  {
15  enum Type
16  {
17  Linear = 0 , // linear interpolation
18  Polynomial , // polinomial interpolation
19  Cspline , // Cubic spline with natural boundary conditions
20  Cspline_Periodic , // Cubic spline with periodic boundary conditions
21  Akima , // Akima spline with natural boundary conditions
22  Akima_Periodic // Akima spline with periodic boundary conditions
23  };
24 
25  StatusCode parse(Type&, const std::string&);
26  std::string toString(const Type&);
28  inline std::ostream& operator<<(std::ostream& os, const Type& t) { return toStream(t,os); }
29 
30  } // end of namespace Interpolation
31 } //end of namespace GaudiMath
32 
33 #endif // GAUDIMATH_INTERPOLATION_H
34 // ============================================================================
STL class.
std::ostream & toStream(const Type &, std::ostream &)
StatusCode parse(Type &, const std::string &)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
STL class.
std::string toString(const Type &)
std::ostream & operator<<(std::ostream &os, const Type &t)
Definition: Interpolation.h:28