WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
WXP::CityData Class Reference

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
 

Detailed Description

This class stores city database information.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ CityData()

CityData::CityData ( )

Constructor. Initializes class data

References init().

Member Function Documentation

◆ getElev()

float WXP::CityData::getElev ( )
inline

◆ getId()

const char * WXP::CityData::getId ( )
inline

◆ getLat()

float WXP::CityData::getLat ( )
inline

◆ getLon()

float WXP::CityData::getLon ( )
inline

◆ getName()

const char * WXP::CityData::getName ( )
inline

◆ getNum()

int WXP::CityData::getNum ( )
inline

Gets the station index number

Referenced by WXP::CityPlot::draw().

◆ getPrior()

int WXP::CityData::getPrior ( )
inline

◆ getRegion()

const char * WXP::CityData::getRegion ( )
inline

Gets the station region/country

Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), and WXP::CityHashData::getRegion().

◆ getState()

const char * WXP::CityData::getState ( )
inline

Gets the station state/localle

Referenced by WXP::CityTool::compareData(), WXP::CityPlot::draw(), and WXP::CityHashData::getState().

◆ getWmo()

const char * WXP::CityData::getWmo ( )
inline

◆ init()

int CityData::init ( )

Initializes class data

References WXP::Const::MISS.

Referenced by CityData().

◆ print()

int CityData::print ( )

Prints the data

Referenced by WXP::CityHashData::print().

◆ printLine()

int CityData::printLine ( )

Prints the data


The documentation for this class was generated from the following files: