casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PixelValueManipulatorData.h
Go to the documentation of this file.
1 #ifndef IMAGES_PIXELVALUEMANIPULATORDATA_H
2 #define IMAGES_PIXELVALUEMANIPULATORDATA_H
3 
4 #include <casa/typeinfo.h>
5 
6 namespace casacore{
7 
8 class String;
9 }
10 
11 namespace casa {
12 
13 
15  // <summary>
16  // Non-templated data related bits for PixelValueManipulator.
17  // </summary>
18 
19  // <reviewed reviewer="" date="" tests="" demos="">
20  // </reviewed>
21 
22  // <prerequisite>
23  // </prerequisite>
24 
25  // <etymology>
26  // casacore::Data for PixelValueManipulator.
27  // </etymology>
28 
29  // <synopsis>
30  // </synopsis>
31 
32  // <example>
33  // </example>
34 
35 public:
36 
37  enum SpectralType {
44  };
45 
46  PixelValueManipulatorData() = delete;
47 
48  // destructor
50 
51  // convert a string to a spectral type. Acceptable values are (case insensitive,
52  // minimum match supported): "default", "optical velocity", "radio velocity",
53  // "wavelength", "air wavelength", and "" (which returns DEFAULT)
54  static SpectralType spectralType(const casacore::String& specString);
55 
56 };
57 }
58 
59 #endif
static SpectralType spectralType(const casacore::String &specString)
convert a string to a spectral type.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
SpectralType
Non-templated data related bits for PixelValueManipulator.
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42