WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
CityHashData.h
1#ifndef _WINC_CITYHASHDATA
2#define _WINC_CITYHASHDATA
3
4#include <WXP/CityData.h>
5
6namespace WXP {
7 struct CityHashData {
9 int size;
10 void *ptr;
13 inline const char *getName(){ return city.getName(); };
15 inline const char *getId(){ return city.getId(); };
17 inline const char *getWmo(){ return city.getWmo(); };
19 inline const char *getState(){ return city.getState(); };
21 inline const char *getRegion(){ return city.getRegion(); };
23 inline float getLat(){ return city.getLat(); };
25 inline float getLon(){ return city.getLon(); };
27 inline int getPrior(){ return city.getPrior(); };
28 int print();
29 };
30
31}
32#endif
33
This class stores city database information.
Definition CityData.h:5
const char * getRegion()
Definition CityData.h:26
float getLat()
Definition CityData.h:30
const char * getWmo()
Definition CityData.h:28
const char * getState()
Definition CityData.h:24
int getPrior()
Definition CityData.h:36
float getLon()
Definition CityData.h:32
const char * getName()
Definition CityData.h:22
const char * getId()
Definition CityData.h:20
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores basic city database values.
Definition CityHashData.h:7
float getLon()
Definition CityHashData.h:25
const char * getName()
Definition CityHashData.h:13
const char * getWmo()
Definition CityHashData.h:17
int size
Definition CityHashData.h:9
void * ptr
Definition CityHashData.h:10
const char * getRegion()
Definition CityHashData.h:21
const char * getState()
Definition CityHashData.h:19
int getPrior()
Definition CityHashData.h:27
CityData city
Definition CityHashData.h:8
float getLat()
Definition CityHashData.h:23
int print()
Definition CityHashData.cc:17
const char * getId()
Definition CityHashData.h:15