WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
BufrData.h
1#ifndef _WINC_BUFRDATA
2#define _WINC_BUFRDATA
3
4namespace WXP {
5 struct BufrData {
6 int mode;
7 int maj;
8 int min;
9 int ind;
10 int level;
11 char name[41];
12 char unit[21];
13 int type;
14 char str[200];
15 int data;
16 float value;
17
18 BufrData();
19 int init();
21 inline int getMode(){ return mode; };
23 inline int getMajor(){ return maj; };
25 inline int getMinor(){ return min; };
27 inline const char *getName(){ return name; };
29 inline const char *getUnit(){ return unit; };
31 inline int getLevel(){ return level; };
33 inline int getType(){ return type; };
35 inline const char *getStr(){ return str; };
37 inline int getCode(){ return data; };
39 inline int getNumber(){ return data; };
41 inline float getValue(){ return value; };
42 int print();
43
44 enum Type {
51 MODIFY
52 };
53 };
54}
55#endif
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores BUFR data.
Definition BufrData.h:5
Type
Definition BufrData.h:44
@ MODIFY
Definition BufrData.h:51
@ NUMBER
Definition BufrData.h:46
@ LOOP
Definition BufrData.h:50
@ FLAG
Definition BufrData.h:49
@ CODE
Definition BufrData.h:48
@ VALUE
Definition BufrData.h:47
@ STRING
Definition BufrData.h:45
const char * getStr()
Definition BufrData.h:35
int getMinor()
Definition BufrData.h:25
int getNumber()
Definition BufrData.h:39
int getType()
Definition BufrData.h:33
BufrData()
Definition BufrData.cc:21
float getValue()
Definition BufrData.h:41
const char * getUnit()
Definition BufrData.h:29
int getMode()
Definition BufrData.h:21
int getLevel()
Definition BufrData.h:31
int init()
Definition BufrData.cc:28
int getMajor()
Definition BufrData.h:23
int print()
Definition BufrData.cc:46
const char * getName()
Definition BufrData.h:27
int getCode()
Definition BufrData.h:37