WXP::Vtec Class Reference

This class contains VTEC data. More...

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

List of all members.

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::Vtec (  ) 

Constructor. Initializes data values

References init().

Vtec::Vtec ( const char *  str  ) 

Constructor. Decoded from string

Parameters:
str String to decode level values

References decode(), and init().


Member Function Documentation

int Vtec::decode ( const char *  str  ) 
int Vtec::init (  ) 

Initializes data values

References WXP::Date::init(), and WXP::Const::MISS.

Referenced by decode(), and Vtec().

int Vtec::print (  ) 

Prints data values to standard output

References WXP::Date::print().

int Vtec::set ( const char *  str  ) 

Sets the VTEC values

Parameters:
str String to decode

References decode().


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1