CARMA C++
MonitorDataType.h
Go to the documentation of this file.
1 #ifndef SZA_UTIL_MONITORDATATYPE_H
2 #define SZA_UTIL_MONITORDATATYPE_H
3 
11 #include "carma/szautil/DataType.h"
12 
13 namespace sza {
14  namespace util {
15 
16  class MonitorDataType {
17  public:
18 
19  // Enumerate valid formats
20 
21  enum FormatType {
22  FM_CHAR=0,
23  FM_UCHAR,
24  FM_BOOL,
25  FM_DOUBLE,
26  FM_FLOAT,
27  FM_SHORT,
28  FM_USHORT,
29  FM_INT,
30  FM_UINT,
31  FM_LONG,
32  FM_ULONG,
33  FM_DATE,
34  FM_COMPLEX_FLOAT,
35  FM_STRING,
36  FM_UNKNOWN,
37  FM_DEFAULT = FM_UINT
38  };
39 
40  FormatType nativeFormat;
41  FormatType selectedFormat;
42  RegAspect aspect;
43 
45  std::string stringVal;
46  std::string formatStr;
47 
48  void print();
49 
50  }; // End class MonitorDataType
51 
52  } // End namespace util
53 } // End namespace sza
54 
55 
56 
57 #endif // End #ifndef SZA_UTIL_MONITORDATATYPE_H
Tagged: Tue Jun 22 22:32:16 UTC 2004.
Enumerate data types.
Definition: DataType.h:28