WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
WXP::BufrData Struct Reference

This struct stores BUFR data. More...

#include "../include/BufrData.h"

Public Types

enum  Type {
  STRING , NUMBER , VALUE , CODE ,
  FLAG , LOOP , MODIFY
}
 

Public Member Functions

 BufrData ()
 
int init ()
 
int getMode ()
 
int getMajor ()
 
int getMinor ()
 
const char * getName ()
 
const char * getUnit ()
 
int getLevel ()
 
int getType ()
 
const char * getStr ()
 
int getCode ()
 
int getNumber ()
 
float getValue ()
 
int print ()
 

Public Attributes

int mode
 
int maj
 
int min
 
int ind
 
int level
 
char name [41]
 
char unit [21]
 
int type
 
char str [200]
 
int data
 
float value
 

Detailed Description

This struct stores BUFR data.

Author
Dan Vietor

Member Enumeration Documentation

◆ Type

Enumerator
STRING 

String data

NUMBER 

Number data

VALUE 

Value data

CODE 

Code table index

FLAG 

Flag data

LOOP 

Loop indicator

MODIFY 

Modify indicator

Constructor & Destructor Documentation

◆ BufrData()

BufrData::BufrData ( )

Constructor

References init().

Member Function Documentation

◆ getCode()

int WXP::BufrData::getCode ( )
inline

Gets parameter code

◆ getLevel()

int WXP::BufrData::getLevel ( )
inline

Gets parameter level

◆ getMajor()

int WXP::BufrData::getMajor ( )
inline

Gets parameter major number

Referenced by WXP::ProfFile::read().

◆ getMinor()

int WXP::BufrData::getMinor ( )
inline

Gets parameter minor number

Referenced by WXP::ProfFile::read().

◆ getMode()

int WXP::BufrData::getMode ( )
inline

Gets parameter mode number

◆ getName()

const char * WXP::BufrData::getName ( )
inline

Gets parameter name

◆ getNumber()

int WXP::BufrData::getNumber ( )
inline

Gets parameter number

Referenced by WXP::ProfFile::read().

◆ getStr()

const char * WXP::BufrData::getStr ( )
inline

Gets parameter string

◆ getType()

int WXP::BufrData::getType ( )
inline

Gets parameter type

◆ getUnit()

const char * WXP::BufrData::getUnit ( )
inline

Gets parameter units

◆ getValue()

float WXP::BufrData::getValue ( )
inline

Gets parameter value

Referenced by WXP::ProfFile::read().

◆ init()

int BufrData::init ( )

Initializes the object

References WXP::StrLib::clear(), WXP::Const::MISS, and NUMBER.

Referenced by BufrData(), and WXP::BufrFile::readData().

◆ print()

int BufrData::print ( )

Prints the object parameters

References CODE, FLAG, NUMBER, and VALUE.

Referenced by WXP::ProfFile::read().


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