WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
CityTool.h
1#ifndef _WINC_CITYTOOL
2#define _WINC_CITYTOOL
3
4#include <WXP/CityData.h>
5#include <WXP/EarthPoint.h>
6#include <WXP/String.h>
7#include <WXP/Strings.h>
8
9namespace WXP {
10 class CityTool {
11 public:
12 static int getFilename( const char *file, String &filename );
13 static int search( const char *file, const char *id, CityData &data );
14 static int locate( const char *file, const char *id, EarthPoint &ept );
15 static int compareData( Strings &ids, CityData &data );
16 static int toId( const char *wmo, char *id );
17 static int toWmo( const char *id, char *wmo );
18 };
19}
20
21#endif
This class stores city database information.
Definition CityData.h:5
This class is a set of tools for working with city databases.
Definition CityTool.h:10
static int compareData(Strings &ids, CityData &data)
Definition CityTool.cc:104
static int search(const char *file, const char *id, CityData &data)
Definition CityTool.cc:53
static int locate(const char *file, const char *id, EarthPoint &ept)
Definition CityTool.cc:84
static int toId(const char *wmo, char *id)
Definition CityTool.cc:434
static int getFilename(const char *file, String &filename)
Definition CityTool.cc:31
static int toWmo(const char *id, char *wmo)
Definition CityTool.cc:836
This is a variable length string class.
Definition String.h:5
This class creates a list of strings.
Definition Strings.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5