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 () |
| long | getWmo () |
| float | getLat () |
| float | getLon () |
| float | getElev () |
| int | getPrior () |
| int | getNum () |
| int | print () |
Friends | |
| class | CityFile |
This class stores city database information.
| CityData::CityData | ( | ) |
Constructor. Initializes class data
References init().
| float WXP::CityData::getElev | ( | ) | [inline] |
Gets the station elevation
| const char* WXP::CityData::getId | ( | ) | [inline] |
Gets the station identifier
Referenced by WXP::CityTool::compareData(), WXP::UpaXSectPlot::draw(), WXP::UpaXSectCont::draw(), WXP::CityPlot::draw(), WXP::CityHashData::getId(), WXP::CityTool::search(), WXP::CityHash::set(), and WXP::RcmDecode::setup().
| float WXP::CityData::getLat | ( | ) | [inline] |
Gets the station latitude
Referenced by WXP::UpaXSectPlot::draw(), WXP::UpaXSectCont::draw(), WXP::CityPlot::draw(), WXP::RcmPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::MdrPlot::getDomain(), WXP::CityHashData::getLat(), WXP::CityTool::locate(), WXP::CityHash::set(), and WXP::RcmDecode::setup().
| float WXP::CityData::getLon | ( | ) | [inline] |
Gets the station longitude
Referenced by WXP::UpaXSectPlot::draw(), WXP::UpaXSectCont::draw(), WXP::CityPlot::draw(), WXP::RcmPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::MdrPlot::getDomain(), WXP::CityHashData::getLon(), WXP::CityTool::locate(), WXP::CityHash::set(), and WXP::RcmDecode::setup().
| const char* WXP::CityData::getName | ( | ) | [inline] |
Gets the station name
Referenced by WXP::CityTool::compareData(), and WXP::CityTool::search().
| int WXP::CityData::getNum | ( | ) | [inline] |
Gets the station index number
Referenced by WXP::CityPlot::draw().
| int WXP::CityData::getPrior | ( | ) | [inline] |
Gets the station priority
Referenced by WXP::CityPlot::draw(), WXP::CityHashData::getPrior(), WXP::CityHash::set(), and WXP::RcmDecode::setup().
| const char* WXP::CityData::getRegion | ( | ) | [inline] |
Gets the station region/country
Referenced by WXP::CityHashData::getRegion(), and WXP::CityHash::set().
| const char* WXP::CityData::getState | ( | ) | [inline] |
Gets the station state/localle
Referenced by WXP::CityHashData::getState().
| long WXP::CityData::getWmo | ( | ) | [inline] |
Gets the station WMO number
Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), WXP::CityHashData::getWmo(), WXP::CityTool::search(), WXP::CityHash::set(), and WXP::RcmDecode::setup().
| int CityData::init | ( | ) |
| int CityData::print | ( | ) |
Prints the data
Referenced by WXP::CityHashData::print().
1.6.1