WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WatchData.h
1#ifndef _WINC_WATCHDATA
2#define _WINC_WATCHDATA
3
4#include <WXP/Date.h>
5#include <WXP/EarthPoint.h>
6
7namespace WXP {
8 struct WatchData {
9 int type;
10 int num;
11 int status;
12 int replaces;
13 Date sdate;
14 Date edate;
15 float width;
16 int axis;
17 char id[4][4]; /* Two endpoint station IDs */
18 EarthPoint ept[6]; /* Endpoint station latitudes */
19 float ang[4]; /* Direction and distance from endpoints */
20 float dist[4];
21
23 enum Type {
27 TEST
28 };
30 enum Axis {
33 ES
34 };
36 enum Status {
42 };
43
44 WatchData();
45 int init();
46 int print();
47 };
48}
49#endif
This class stores date and time information.
Definition Date.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
This struct stores watch box data.
Definition WatchData.h:8
int axis
Definition WatchData.h:16
int print()
Definition WatchData.cc:47
float width
Definition WatchData.h:15
WatchData()
Definition WatchData.cc:40
Status
Definition WatchData.h:36
@ PENDING
Definition WatchData.h:37
@ VALID
Definition WatchData.h:38
@ REPLACED
Definition WatchData.h:41
@ CANCELLED
Definition WatchData.h:40
@ ENDED
Definition WatchData.h:39
int type
Definition WatchData.h:9
int init()
Definition WatchData.cc:18
Type
Definition WatchData.h:23
@ TORNADO
Definition WatchData.h:26
@ TEST
Definition WatchData.h:27
@ UNK
Definition WatchData.h:24
@ SEVERE
Definition WatchData.h:25
int num
Definition WatchData.h:10
Axis
Definition WatchData.h:30
@ ES
Definition WatchData.h:33
@ EW
Definition WatchData.h:31
@ NS
Definition WatchData.h:32