WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
WXP::SfcWmoData Class Reference

This class hold information about raw surface reports (METAR, SAO). More...

#include "../include/SfcWmoData.h"

Public Types

enum  Location {
  UNK , USA , CANADA , MEXICO ,
  OTHER
}
 
enum  DataType {
  NONE , METAR , SPECI , SA ,
  SP , SYNOP , SHIP , BUOY ,
  DRIBU , MOBIL , CMAN , MISC
}
 

Public Member Functions

int init ()
 
int setId (const char *rid)
 
const char * getId ()
 
int setData (const char *rdata)
 
const char * getData ()
 
int setDate (Date &rdate)
 
int getDate (Date &rdate)
 
Date getDate ()
 
int setProdDay (int rpday)
 
int getProdDay ()
 
int setProdHour (int rphour)
 
int getProdHour ()
 
int setProdMinute (int rpmin)
 
int getProdMinute ()
 
int setFormat (int rformat)
 
int getFormat ()
 
int setLocation (int rloc)
 
int getLocation ()
 
int setWmo (const char *rwmo)
 
const char * getWmo ()
 
bool isMETAR ()
 
bool isSA ()
 
bool isSYNOP ()
 
bool isSPEC ()
 
int printData ()
 
int print ()
 

Static Public Member Functions

static bool isTypeMETAR (int type)
 
static bool isTypeSA (int type)
 
static bool isTypeSYNOP (int type)
 
static bool isTypeSPEC (int type)
 

Friends

class SfcWmoFile
 
class MetarTool
 
class SfcDecode
 

Detailed Description

This class hold information about raw surface reports (METAR, SAO).

Author
Dan Vietor

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