The Gaudi Framework  v30r3 (a5ef0a68)
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  Linear = 0, // linear interpolation
17  Polynomial, // polinomial interpolation
18  Cspline, // Cubic spline with natural boundary conditions
19  Cspline_Periodic, // Cubic spline with periodic boundary conditions
20  Akima, // Akima spline with natural boundary conditions
21  Akima_Periodic // Akima spline with periodic boundary conditions
22  };
23 
24  StatusCode parse( Type&, const std::string& );
25  std::string toString( const Type& );
27  inline std::ostream& operator<<( std::ostream& os, const Type& t ) { return toStream( t, os ); }
28 
29  } // end of namespace Interpolation
30 } // end of namespace GaudiMath
31 
32 #endif // GAUDIMATH_INTERPOLATION_H
33 // ============================================================================
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:51
GaudiMath.h GaudiMath/GaudiMath.h.
STL class.
std::string toString(const Type &)
std::ostream & operator<<(std::ostream &os, const Type &t)
Definition: Interpolation.h:27