WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
HurData.h
1#ifndef _WINC_HURDATA
2#define _WINC_HURDATA
3
4#include <WXP/Date.h>
5#include <WXP/HurPos.h>
6
7namespace WXP {
8 class HurData {
9 char wmo[20];
10 char name[20];
11 HurPos cur;
12 int num_fore;
13 HurPos fore[8];
14
15 public:
16 HurData();
17 int init();
18 inline const char *getName(){ return name; };
19 inline int getLocation(){ return cur.locate; };
20 inline Date getDate(){ return cur.date; };
21 inline int getDate( Date &rdate ){ rdate = cur.date; return 1; };
22 inline int getSeason(){ return cur.getSeason(); };
23 int print();
24
25 friend class HurFile;
26 friend class HurStorm;
27 friend class HurStorms;
28
29 };
30
31}
32#endif
This class stores date and time information.
Definition Date.h:8
This struct has data for a single hurricane advisory.
Definition HurData.h:8
This class decode hurricane advisories.
Definition HurFile.h:10
This struct has data for a hurricane position.
Definition HurPos.h:7
This struct has data for a single tropical system containing several advisories.
Definition HurStorm.h:9
This class creates an array a hurricane storms.
Definition HurStorms.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4