WXP C++ Library Version 6.74.9
|
This class stores city database information. More...
#include "../include/CityData.h"
Public Member Functions | |
CityData () | |
int | init () |
const char * | getId () |
const char * | getName () |
const char * | getState () |
const char * | getRegion () |
const char * | getWmo () |
float | getLat () |
float | getLon () |
float | getElev () |
int | getPrior () |
int | getNum () |
int | printLine () |
int | print () |
Friends | |
class | CityFile |
This class stores city database information.
CityData::CityData | ( | ) |
Constructor. Initializes class data
References init().
|
inline |
Gets the station elevation
Referenced by WXP::CityTool::compareData(), WXP::HodoPlot::draw(), WXP::SoundPlot::draw(), and WXP::CityTool::locate().
|
inline |
Gets the station identifier
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::CityHashData::getId(), WXP::CityTool::search(), WXP::RcmDecode::setup(), WXP::CityHash::setup(), WXP::UpaRawinHash::setup(), and WXP::CityHash::setup().
|
inline |
Gets the station latitude
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::CityHashData::getLat(), WXP::CityTool::locate(), WXP::RcmDecode::setup(), WXP::CityHash::setup(), WXP::UpaRawinHash::setup(), and WXP::CityHash::setup().
|
inline |
Gets the station longitude
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::CityHashData::getLon(), WXP::CityTool::locate(), WXP::RcmDecode::setup(), WXP::CityHash::setup(), WXP::UpaRawinHash::setup(), and WXP::CityHash::setup().
|
inline |
Gets the station name
Referenced by WXP::CityTool::compareData(), WXP::CityHashData::getName(), and WXP::CityTool::search().
|
inline |
Gets the station index number
Referenced by WXP::CityPlot::draw().
|
inline |
Gets the station priority
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::CityHashData::getPrior(), WXP::RcmDecode::setup(), and WXP::CityHash::setup().
|
inline |
Gets the station region/country
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), and WXP::CityHashData::getRegion().
|
inline |
Gets the station state/localle
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), and WXP::CityHashData::getState().
|
inline |
Gets the station WMO number
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::CityHashData::getWmo(), WXP::CityTool::search(), WXP::RcmDecode::setup(), WXP::CityHash::setup(), WXP::UpaRawinHash::setup(), and WXP::CityHash::setup().
int CityData::init | ( | ) |
int CityData::print | ( | ) |
Prints the data
Referenced by WXP::CityHashData::print().
int CityData::printLine | ( | ) |
Prints the data