WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
NidsInfo.h
1#ifndef _WINC_NIDSINFO
2#define _WINC_NIDSINFO
3
4#include <WXP/Date.h>
5
6namespace WXP {
12 struct NidsInfo {
13 char info[50];
14 char misc[50];
15 int src;
16 float lat;
17 float lon;
18 int mode;
19 int code;
20 int type;
21 int vcp;
22 int seq;
23 Date date;
25 int mess_date;
26 int nx;
27 int ny;
28 float res;
29 float cres;
30 float alt;
31 float thres[16];
32 float elev;
33 float elevt;
34 float range;
35 float max;
36 float nmax;
37 int beg_date;
38 int beg_time;
39 int end_date;
40 int end_time;
41
42 NidsInfo();
43 int init();
44 inline const char *getInfo(){ return info; };
45 inline const char *getMisc(){ return misc; };
46 inline int getSrc(){ return src; };
47 inline float getLat(){ return lat; };
48 inline float getLon(){ return lon; };
49 inline int getMode(){ return mode; };
50 inline int getCode(){ return code; };
51 inline int getVcp(){ return vcp; };
52 inline int getSeq(){ return seq; };
53 inline int getDate( Date &rdate ){ rdate = date; return 1; };
54 inline int getDate(){ return date.getSeconds(); };
55 inline int getVolDate(){ return date.getSeconds(); };
56 inline int getProdDate(){ return prod_date; };
57 inline int getMessDate(){ return mess_date; };
58 inline float getRes(){ return res; };
59 int print();
60 };
61
62}
63#endif
64
This class stores date and time information.
Definition Date.h:8
int getSeconds()
Definition Date.cc:363
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores NIDS header data.
Definition NidsInfo.h:12
int init()
Definition NidsInfo.cc:28
int type
Definition NidsInfo.h:20
int code
Definition NidsInfo.h:19
int prod_date
Definition NidsInfo.h:24
int mode
Definition NidsInfo.h:18
int vcp
Definition NidsInfo.h:21
float lat
Definition NidsInfo.h:16
int src
Definition NidsInfo.h:15
int print()
Definition NidsInfo.cc:64
char misc[50]
Definition NidsInfo.h:14
NidsInfo()
Definition NidsInfo.cc:21
float lon
Definition NidsInfo.h:17