7#include <WXP/DomainVal.h>
9#include <WXP/NidsData.h>
10#include <WXP/NidsInfo.h>
11#include <WXP/NidsRadial.h>
12#include <WXP/NidsRun.h>
13#include <WXP/NidsText.h>
14#include <WXP/NidsVector.h>
15#include <WXP/NidsWind.h>
97 int setInfo(
char *info );
98 int setMisc(
char *misc );
105 int open(
const char *filename );
110 int readBytes(
unsigned char *data,
int size );
111 int dump(
int num,
int flag );
114 int readUshort(
unsigned short &val );
115 int readLong(
int &val );
117 int readUlong(
unsigned int &val );
118 float float16(
int val );
119 float float32(
int val1,
int val2 );
141 inline int getCode(){
return code; };
163 bool isPacketRadial();
164 bool isPacketRastor();
165 bool isPacketVector();
166 bool isPacketWindbarb();
169 inline int getPacketCode() {
return pk_code; };
170 inline int getNbin() {
return nbin; };
171 inline int getNrad() {
return nrad; };
175 static const int RADIAL = 0xAF1F;
176 static const int RASTOR = 0xBA0F;
This class manages bzip2 decompression.
Definition BZlib.h:9
This class creates a generic buffer for data.
Definition Buffer.h:5
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
This class reads and decodes NIDS data from file.
Definition NidsFile.h:20
~NidsFile()
Definition NidsFile.cc:46
int init()
Definition NidsFile.cc:53
int readRadial(NidsRadial &radial)
Definition NidsFile.cc:1571
int close()
Definition NidsFile.cc:95
int open(const char *filename)
Definition NidsFile.cc:69
int readBytes(unsigned char *data, int size)
Definition NidsFile.cc:137
int skipLine()
Definition NidsFile.cc:244
NidsFile()
Definition NidsFile.cc:30
bool isOpen()
Definition NidsFile.cc:88
int readVector(NidsVector &vect)
Definition NidsFile.cc:1695
int readRun(NidsRun &data)
Definition NidsFile.cc:1615
int readShort(short &val)
Definition NidsFile.cc:258
This class manages zlib decompression.
Definition Zlib.h:9
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5
This struct stores NIDS data.
Definition NidsData.h:14
This struct stores NIDS header data.
Definition NidsInfo.h:12
This struct stores NIDS radial block header information.
Definition NidsRadial.h:11
This struct stores NIDS run length encoding block header information.
Definition NidsRun.h:12
This struct stores NIDS text block header information.
Definition NidsText.h:6
This struct stores NIDS vector block header information.
Definition NidsVector.h:6
This struct stores NIDS wind data block header information.
Definition NidsWind.h:6