WXP C++ Library Version 6.74.9
|
This struct stores BUFR codes. More...
#include "../include/BufrCode.h"
Public Member Functions | |
BufrCode () | |
int | init () |
int | set (int rmaj, int rmin, const char *rname, const char *runit, int rtype, int rsize, int rscale, int rref) |
int | set (int rmode, int rmaj, int rmin, const char *rname) |
int | setLevel (int lev) |
int | print () |
Public Attributes | |
int | mode |
int | maj |
int | min |
char | name [41] |
char | unit [21] |
int | type |
int | size |
int | scale |
int | ref |
int | level |
This struct stores BUFR codes.
BufrCode::BufrCode | ( | ) |
Constructor
References init().
int BufrCode::init | ( | ) |
int BufrCode::print | ( | ) |
Prints the object parameters
References WXP::Const::MISS.
Referenced by WXP::BufrFile::printCodes().
int BufrCode::set | ( | int | rmaj, |
int | rmin, | ||
const char * | rname, | ||
const char * | runit, | ||
int | rtype, | ||
int | rsize, | ||
int | rscale, | ||
int | rref | ||
) |
Sets the values
rmaj | Major number |
rmin | Minor number |
rname | Descriptive name |
runit | Parameter units |
rtype | Type of encoding |
rsize | Size of data in bits |
rscale | Scale factor |
rref | Reference value |
References WXP::StrLib::copy(), and init().
Referenced by WXP::BufrFile::readDDS().
int BufrCode::set | ( | int | rmode, |
int | rmaj, | ||
int | rmin, | ||
const char * | rname | ||
) |
Sets the values
rmode | Mode |
rmaj | Major number |
rmin | Minor number |
rname | Descriptive name |
rtype | Type of encoding |
References WXP::StrLib::copy(), and init().