WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WarnFile.h
1#ifndef _WINC_WARNFILE
2#define _WINC_WARNFILE
3
4#include <WXP/Date.h>
5#include <WXP/Filename.h>
6#include <WXP/WarnData.h>
7#include <WXP/WmoParse.h>
8
9namespace WXP {
10 /*
11 Product description information
12 */
13 class WarnFile {
14 WmoParse file;
15 Date date; // File date
16 Date pdate; // Product date
17
18 public:
19 WarnFile();
20 WarnFile( const char *filename );
21 WarnFile( Filename &filename );
22 ~WarnFile();
23 int init();
24 int open( const char *filename );
25 int open( Filename &filename );
26 int close();
27 bool isOpen();
28 int setDate( Date &rdate );
29 int read( WarnData &warn );
30 };
31}
32#endif
33
This class stores date and time information.
Definition Date.h:8
This class creates filenames.
Definition Filename.h:11
This struct stores watch box data.
Definition WarnData.h:8
This class reads and decodes warning location data from file.
Definition WarnFile.h:13
int read(WarnData &warn)
Definition WarnFile.cc:115
bool isOpen()
Definition WarnFile.cc:88
~WarnFile()
Definition WarnFile.cc:51
int init()
Definition WarnFile.cc:57
int open(const char *filename)
Definition WarnFile.cc:65
WarnFile()
Definition WarnFile.cc:26
int setDate(Date &rdate)
Definition WarnFile.cc:105
int close()
Definition WarnFile.cc:95
This class parses text files.
Definition WmoParse.h:10
All WXP classes fall under the WXP namespace.
Definition Angle.h:4