WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
HurWxpFile.h
1#ifndef _WINC_HURWXPFILE
2#define _WINC_HURWXPFILE
3
4#include <WXP/Date.h>
5#include <WXP/File.h>
6#include <WXP/HurStorm.h>
7
8namespace WXP {
9 class HurWxpFile {
10 File file;
11 int access;
12 Date date;
13 int location;
14
15 public:
16 HurWxpFile();
17 int init();
18 int open( const char *file, int raccess );
19 int close();
20 inline bool isOpen(){ return file.isOpen(); };
21 inline int setDate( Date &rdate ){ date = rdate; return 1; };
22 inline int setLocation( int rloc ){ location = rloc; return 1; };
23 int read( HurStorm &storm );
24 int read( const char *filename, HurStorm &storm );
25 int write( HurStorm &storm );
26 int write( const char *filename, HurStorm &storm );
27
28 };
29}
30#endif
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
bool isOpen()
Definition File.cc:273
This struct has data for a single tropical system containing several advisories.
Definition HurStorm.h:9
This class decode hurricane advisories.
Definition HurWxpFile.h:9
All WXP classes fall under the WXP namespace.
Definition Angle.h:4