WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
MdrWxpFile.h
1#ifndef _WINC_MDRWXPFILE
2#define _WINC_MDRWXPFILE
3
4#include <WXP/Date.h>
5#include <WXP/File.h>
6#include <WXP/Grid.h>
7#include <WXP/Image.h>
8#include <WXP/MdrData.h>
9
10namespace WXP {
11 class MdrWxpFile {
12 int ver;
13 int access;
14 File file;
15 Date date;
16 bool opened;
17 char line[200];
18 int num;
19
20 public:
21 MdrWxpFile( );
22 MdrWxpFile( const char *filename );
23 MdrWxpFile( const char *filename, int access );
24 ~MdrWxpFile( );
25 inline bool isOpen(){ return opened; };
26 int open( const char *filename, int raccess );
27 int rewind( );
28 int close( );
29 int setDate( Date &rdate );
30 int getDate( Date &rdate );
31 int read( Grid &grid );
32 int read( Image &image );
33 int write( Image &image );
34 int read( MdrData &data );
35 int write( MdrData &data );
36
37 static int checkType( const char *filename );
38 };
39}
40#endif
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
This class defines a grid.
Definition Grid.h:20
This class defines an image.
Definition Image.h:19
This class manages MDR (Manually Digitized Radar Messages) data.
Definition MdrData.h:11
This class reads in decoded MDR radar files.
Definition MdrWxpFile.h:11
MdrWxpFile()
Definition MdrWxpFile.cc:27
All WXP classes fall under the WXP namespace.
Definition Angle.h:4