WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
SfcUniFile.h
1#ifndef _WINC_SFCUNIFILE
2#define _WINC_SFCUNIFILE
3
4#include <WXP/Date.h>
5#include <WXP/File.h>
6#include <WXP/SfcData.h>
7
8namespace WXP {
9 class SfcUniFile {
10 int type;
11 int ver;
12 int access;
13 File file;
14 Date date;
15 bool opened;
16
17 public:
18 SfcUniFile( );
19 SfcUniFile( const char *filename );
20 SfcUniFile( const char *filename, int access );
21 ~SfcUniFile( );
22 bool isOpen();
23 int open( const char *filename, int access );
24 int rewind( );
25 int close( );
26 int setDate( Date &rdate );
27 int getDate( Date &rdate );
28 int read( SfcData &data );
29 int write( SfcData &data );
30
31 static int checkType( const char *filename );
32 };
33}
34#endif
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
This class stores surface data.
Definition SfcData.h:12
This class reads in surface data from a Unisys formatted file from file.
Definition SfcUniFile.h:9
int getDate(Date &rdate)
Definition SfcUniFile.cc:149
static int checkType(const char *filename)
Definition SfcUniFile.cc:29
int open(const char *filename, int access)
Definition SfcUniFile.cc:62
int setDate(Date &rdate)
Definition SfcUniFile.cc:140
int rewind()
Definition SfcUniFile.cc:113
~SfcUniFile()
Definition SfcUniFile.cc:132
int read(SfcData &data)
Definition SfcUniFile.cc:158
int close()
Definition SfcUniFile.cc:124
SfcUniFile()
Definition SfcUniFile.cc:36
All WXP classes fall under the WXP namespace.
Definition Angle.h:4