WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WxTool.h
1#ifndef _WINC_WXTOOL
2#define _WINC_WXTOOL
3
4#include <WXP/CloudLayer.h>
5#include <WXP/String.h>
6
7namespace WXP {
8 class WxTool {
9 public:
10 static int setCloud( int num, CloudLayer lyrs[], CloudLayer &cld );
11 static float getWmoVis( int vis );
12 static float getWmoCldBase( int cb );
13 static int getSAWeather( const char *wx, String &wx_str );
14 static int getWeather( const char *wx, String &wx_str );
15 static int getTextFromWeather( const char *wx, String &wx_str );
16 static const char *getWmoWeather( int wx );
17 static const char *getWmoAutoWeather( int wx );
18 static int getWmoFromWeather( const char *str );
19 static int getWmoFromSAWeather( const char *str );
20 static int getTextFromSAWeather( const char *str, String &out_str );
21 static int getWmoCeilingToCode( float cb );
22 static float decodeDir( const char *dir );
23 static const char *getCloudStr( const char *str );
24 };
25}
26#endif
This is a variable length string class.
Definition String.h:5
This class includes some general weather tools.
Definition WxTool.h:8
static int getWmoCeilingToCode(float cb)
Definition WxTool.cc:1282
static int getTextFromSAWeather(const char *str, String &out_str)
Definition WxTool.cc:1097
static float getWmoCldBase(int cb)
Definition WxTool.cc:136
static int getTextFromWeather(const char *wx, String &wx_str)
Definition WxTool.cc:413
static float getWmoVis(int vis)
Definition WxTool.cc:98
static int getSAWeather(const char *wx, String &wx_str)
Definition WxTool.cc:166
static const char * getWmoWeather(int wx)
Definition WxTool.cc:621
static const char * getCloudStr(const char *str)
Definition WxTool.cc:1353
static int setCloud(int num, CloudLayer lyrs[], CloudLayer &cld)
Definition WxTool.cc:28
static const char * getWmoAutoWeather(int wx)
Definition WxTool.cc:757
static int getWeather(const char *wx, String &wx_str)
Definition WxTool.cc:331
static float decodeDir(const char *dir)
Definition WxTool.cc:1312
static int getWmoFromWeather(const char *str)
Definition WxTool.cc:861
static int getWmoFromSAWeather(const char *str)
Definition WxTool.cc:959
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores cloud layer data.
Definition CloudLayer.h:5