WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
WmoData.h
1#ifndef _WINC_WMODATA
2#define _WINC_WMODATA
3
4namespace WXP {
5 class WmoData {
6 unsigned char data[10000];
7 int size;
8 int type;
9 int end;
10 int line;
11
12 public:
13 WmoData();
14 int init();
15 inline const unsigned char *getData(){ return data; };
16 inline int getSize(){ return size; };
17 inline int getType(){ return type; };
18 inline int getEnd(){ return end; };
19 inline int getLineNum(){ return line; };
20 int print();
21 int printData( int max );
22
23 static const int data_len = 10000;
24 /*
25 WmoData status types
26 */
27 enum Type {
28 UNK,
29 START,
30 SEQ,
31 WMO,
32 AWIP,
33 DATA,
34 END,
35 ENDFILE
36 };
37
38 enum End {
39 NONE,
40 NL,
41 ETX
42 };
43
44 friend class WmoFile;
45 friend class WmoIngest;
46 };
47}
48
49#endif
This struct stores a line of WMO formated data.
Definition: WmoData.h:5
This class reads in WMO formated data.
Definition: WmoFile.h:9
This class ingests WMO formated data (see NOAAPORT/FOS)
Definition: WmoIngest.h:14
All WXP classes fall under the WXP namespace.
Definition: Angle.h:4