WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
KavradFile.h
1#ifndef _WINC_KAVRADFILE
2#define _WINC_KAVRADFILE
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/File.h>
7#include <WXP/Image.h>
8#include <WXP/KavradPacket.h>
9
10namespace WXP {
11 class KavradFile {
12 File file;
13 bool opened;
14
15 char label[40]; /* Date time label */
16 Date date; /* Date time information */
17 int height, width;
18 Domain domain; /* The domain of the image */
19 int type;
20 int start, end;
21 int value;
22
23 public:
24
25 KavradFile();
26 int open( const char *name );
27 bool isOpen();
28 int rewind();
29 int close();
30 int readHeader();
31 int readPacket( KavradPacket &packet );
32 int read( Image &image );
33 };
34
35}
36#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This class accesses files.
Definition File.h:15
This class defines an image.
Definition Image.h:19
This class reads in Kavouras radar mosaic data files.
Definition KavradFile.h:11
bool isOpen()
Definition KavradFile.cc:48
int rewind()
Definition KavradFile.cc:55
int readHeader()
Definition KavradFile.cc:75
int read(Image &image)
Definition KavradFile.cc:173
int readPacket(KavradPacket &packet)
Definition KavradFile.cc:132
KavradFile()
Definition KavradFile.cc:27
int open(const char *name)
Definition KavradFile.cc:36
int close()
Definition KavradFile.cc:64
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores run length encoding data for Kavouras mosaics.
Definition KavradPacket.h:11