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

This struct stores watch box data. More...

#include "../include/WatchData.h"

Public Types

enum  Type { UNK , SEVERE , TORNADO , TEST }
 
enum  Axis { EW , NS , ES }
 
enum  Status {
  PENDING , VALID , ENDED , CANCELLED ,
  REPLACED
}
 

Public Member Functions

 WatchData ()
 
int init ()
 
int print ()
 

Public Attributes

int type
 
int num
 
int status
 
int replaces
 
Date sdate
 
Date edate
 
float width
 
int axis
 
char id [4][4]
 
EarthPoint ept [6]
 
float ang [4]
 
float dist [4]
 

Detailed Description

This struct stores watch box data.

Author
Dan Vietor

Member Enumeration Documentation

◆ Axis

Axis direction

Enumerator
EW 

East-West

NS 

North-South

ES 

Either side

◆ Status

Status

Enumerator
PENDING 

Pending, before valid time

VALID 

Valid

ENDED 

Ended

CANCELLED 

Cancelled

REPLACED 

Replaced with another watch

◆ Type

Watch type

Enumerator
UNK 

Unknown type

SEVERE 

Severe thunderstorm watch

TORNADO 

Tornado watch

TEST 

Test

Constructor & Destructor Documentation

◆ WatchData()

WatchData::WatchData ( )

Constructor. Initializes the values.

References init().

Member Function Documentation

◆ init()

int WatchData::init ( )

Initializes the values

References axis, init(), WXP::Const::MISS, num, PENDING, type, and width.

Referenced by init(), WXP::WatchFile::read(), and WatchData().

◆ print()

int WatchData::print ( )

Prints the values

References axis, CANCELLED, ENDED, ES, EW, WXP::Const::MISS, NS, num, PENDING, WXP::Date::print(), SEVERE, TEST, TORNADO, type, VALID, and width.

Referenced by WXP::WatchPlot::draw().

Member Data Documentation

◆ axis

int WXP::WatchData::axis

Axis direction

Referenced by init(), print(), and WXP::WatchFile::read().

◆ num

int WXP::WatchData::num

◆ type

int WXP::WatchData::type

Type of watch

Referenced by init(), print(), and WXP::WatchFile::read().

◆ width

float WXP::WatchData::width

Box width

Referenced by init(), print(), and WXP::WatchFile::read().


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