WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::BufrCode Struct Reference

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

Detailed Description

This struct stores BUFR codes.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ BufrCode()

BufrCode::BufrCode ( )

Constructor

References init().

Member Function Documentation

◆ init()

int BufrCode::init ( )

Initializes the parameters

References WXP::Const::MISS.

Referenced by BufrCode(), set(), and set().

◆ print()

int BufrCode::print ( )

Prints the object parameters

References WXP::Const::MISS.

◆ set() [1/2]

int BufrCode::set ( int rmaj,
int rmin,
const char * rname,
const char * runit,
int rtype,
int rsize,
int rscale,
int rref )

Sets the values

Parameters
rmajMajor number
rminMinor number
rnameDescriptive name
runitParameter units
rtypeType of encoding
rsizeSize of data in bits
rscaleScale factor
rrefReference value

References WXP::StrLib::copy(), and init().

Referenced by WXP::BufrFile::readDDS().

◆ set() [2/2]

int BufrCode::set ( int rmode,
int rmaj,
int rmin,
const char * rname )

Sets the values

Parameters
rmodeMode
rmajMajor number
rminMinor number
rnameDescriptive name
rtypeType of encoding

References WXP::StrLib::copy(), and init().


The documentation for this struct was generated from the following files: