WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WarnData.h
1#ifndef _WINC_WARNDATA
2#define _WINC_WARNDATA
3
4#include <WXP/Date.h>
5#include <WXP/EarthPoints.h>
6
7namespace WXP {
8 class WarnData {
9 char id[15];
10 int type;
11 int num;
12 int status;
13 Date sdate;
14 Date edate;
15 EarthPoints epts; /* Bounding box locations */
16
18 enum Type {
19 UNK,
20 SEVERE,
21 TORNADO,
22 FLOOD,
23 MARINE,
24 SPECIAL
25 };
27 enum Status {
28 PENDING,
29 VALID,
30 ENDED,
31 CANCELLED,
32 REPLACED
33 };
34
35 WarnData();
36 int init();
37 const char *getTypeStr();
38 int print();
39
40 friend class WarnFile;
41 friend class WarnPlot;
42
43 };
44}
45#endif
This class stores date and time information.
Definition Date.h:8
This class creates an array a earth points (lat, lon)
Definition EarthPoints.h:9
This struct stores watch box data.
Definition WarnData.h:8
This class reads and decodes warning location data from file.
Definition WarnFile.h:13
This class plots severe weather warn boxes.
Definition WarnPlot.h:14
All WXP classes fall under the WXP namespace.
Definition Angle.h:4