00001 #ifndef _WINC_CITYHASHDATA 00002 #define _WINC_CITYHASHDATA 00003 00004 #include <WXP/CityData.h> 00005 00006 namespace WXP { 00012 struct CityHashData { 00013 CityData city; 00014 int size; 00015 void *ptr; 00017 inline const char *getName(){ return city.getName(); }; 00018 inline const char *getId(){ return city.getId(); }; 00019 inline long getWmo(){ return city.getWmo(); }; 00020 inline const char *getState(){ return city.getState(); }; 00021 inline const char *getRegion(){ return city.getRegion(); }; 00022 inline float getLat(){ return city.getLat(); }; 00023 inline float getLon(){ return city.getLon(); }; 00024 inline int getPrior(){ return city.getPrior(); }; 00025 int print(); 00026 }; 00027 00028 } 00029 #endif 00030
1.6.1