WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
FrontData.h
1#ifndef _WINC_FRONTDATA
2#define _WINC_FRONTDATA
3
4#include <WXP/Date.h>
5#include <WXP/EarthPoint.h>
6#include <WXP/EarthPoints.h>
7
8namespace WXP {
9 class FrontData {
10 Date date;
11 EarthPoints epts;
12 int fore;
13 int type;
14 float pres;
15
16 public:
17 FrontData();
18 inline int getDate( Date &rdate ){ rdate = date; return 1; };
19 inline int getSeconds(){ return date.getSeconds(); };
20 inline int setType( int rtype ){ type = rtype; return 1; };
21 inline int getType(){ return type; };
22 inline int setFore( int rfore ){ fore = rfore; return 1; };
23 inline int getFore(){ return fore; };
24 inline int setPres( float rpres ){ pres = rpres; return 1; };
25 inline float getPres(){ return pres; };
26 int addPoint( float lat, float lon );
27 int getPoint( int ind, EarthPoint &ept );
28 float getLat( int ind );
29 float getLon( int ind );
30 inline int getNum(){ return epts.getNum(); };
31 int init();
32 int print();
33
34 enum Type {
35 LOW,
36 HIGH,
37 HURRICANE,
38 TROP_STORM,
39 COLD,
40 WARM,
41 OCCLUDED,
42 STATIONARY,
43 TROF,
44 MISC
45 };
46
47 friend class FrontFile;
48
49 };
50}
51#endif
This class stores date and time information.
Definition Date.h:8
int getSeconds()
Definition Date.cc:363
This class creates an array a earth points (lat, lon)
Definition EarthPoints.h:9
int getNum()
Definition EarthPoints.h:52
This structure stores front information.
Definition FrontData.h:9
This class read in front data (ASUS01)
Definition FrontFile.h:11
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