WXP::CityData Class Reference
[Data objects]

This class stores city database information. More...

#include "../include/CityData.h"

List of all members.

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

Detailed Description

This class stores city database information.

Author:
Dan Vietor

Constructor & Destructor Documentation

CityData::CityData (  ) 

Constructor. Initializes class data

References init().


Member Function Documentation

float WXP::CityData::getElev (  )  [inline]

Gets the station elevation

const char* WXP::CityData::getId (  )  [inline]
float WXP::CityData::getLat (  )  [inline]
float WXP::CityData::getLon (  )  [inline]
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]
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]
int CityData::init (  ) 

Initializes class data

References WXP::Const::MISS.

Referenced by CityData().

int CityData::print (  ) 

Prints the data

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


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1