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

This class contains VTEC data. More...

#include "../include/Vtec.h"

Public Types

enum  Class { OPERATIONAL , TEST , EXP_PROD , EXP_VTEC }
enum  Action {
  NEW , CONTINUED , EXTENDED_TIME , EXTENDED_AREA ,
  EXTENDED_BOTH , UPGRADED , CANCELED , EXPIRED ,
  CORRECTION , ROUTINE
}
enum  Sig {
  WARNING , WATCH , ADVISORY , STATEMENT ,
  FORECAST , OUTLOOK , SYNOPSIS
}

Public Member Functions

 Vtec ()
 Vtec (const char *str)
int init ()
int decode (const char *str)
int set (const char *str)
int getClass ()
int getAction ()
const char * getId ()
const char * getType ()
int getSignificance ()
int getNumber ()
int getBegDate (Date &rdate)
int getBegSecs ()
int getEndDate (Date &rdate)
int getEndSecs ()
int print ()

Static Public Member Functions

static const char * getClassString (int ind)
static const char * getActionString (int ind)
static const char * getPhenomString (const char *type)
static const char * getSigString (int ind)

Detailed Description

This class contains VTEC data.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ Vtec() [1/2]

Vtec::Vtec ( )

Constructor. Initializes data values

References init().

◆ Vtec() [2/2]

Vtec::Vtec ( const char * str)

Constructor. Decoded from string

Parameters
strString to decode level values

References decode(), and init().

Member Function Documentation

◆ decode()

◆ init()

int Vtec::init ( )

Initializes data values

References WXP::Const::MISS.

Referenced by decode(), Vtec(), and Vtec().

◆ print()

int Vtec::print ( )

Prints data values to standard output

◆ set()

int Vtec::set ( const char * str)

Sets the VTEC values

Parameters
strString to decode

References decode().


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