WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::UpaDecode Class Reference

This decodes upper air data files. More...

#include "../include/UpaDecode.h"

Public Member Functions

 UpaDecode ()
int init ()
int setParam (const char *str)
int setInput (const char *conv)
int setOutput (const char *conv)
int setHour (const char *str)
int setDate (Date &rdate)
int openOutput ()
int decode (Date &date)
int decode (const char *filename)
int decode ()

Detailed Description

This decodes upper air data files.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ UpaDecode()

UpaDecode::UpaDecode ( )

Constructor - initializes data

References init().

Member Function Documentation

◆ decode() [1/3]

int UpaDecode::decode ( )

Decodes data based on preset parameters

References WXP::Wxp::checkMessage(), decode(), and WXP::Wxp::outMessage().

Referenced by decode().

◆ decode() [2/3]

int UpaDecode::decode ( const char * filename)

◆ decode() [3/3]

int UpaDecode::decode ( Date & date)

Decodes data based on date

Parameters
dateThe decoding date

References WXP::Wxp::outWarning().

◆ init()

int UpaDecode::init ( )

Initializes data

References WXP::StrLib::equal(), setHour(), setInput(), setOutput(), and setParam().

Referenced by UpaDecode().

◆ setDate()

int UpaDecode::setDate ( Date & rdate)

Sets the decode date

Parameters
rdateThe date

◆ setHour()

int UpaDecode::setHour ( const char * str)

Sets the decoding hour (used with current setting)

Parameters
strThe decoding hour

Referenced by init().

◆ setInput()

int UpaDecode::setInput ( const char * conv)

Sets the input file name convention

Parameters
convThe name convention

Referenced by init().

◆ setOutput()

int UpaDecode::setOutput ( const char * conv)

Sets the output file name convention

Parameters
convThe name convention

Referenced by init().

◆ setParam()

int UpaDecode::setParam ( const char * str)

Sets decoding parameters

Parameters
strThe parameters string

References WXP::Strings::equal(), WXP::Strings::getNum(), and WXP::Strings::scanf().

Referenced by init().


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