WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WXP::CityHashData Struct Reference

This struct stores basic city database values. More...

#include "../include/CityHashData.h"

Public Member Functions

const char * getName ()
 
const char * getId ()
 
const char * getWmo ()
 
const char * getState ()
 
const char * getRegion ()
 
float getLat ()
 
float getLon ()
 
int getPrior ()
 
int print ()
 

Public Attributes

CityData city
 
int size
 
void * ptr
 

Detailed Description

This struct stores basic city database values.

Author
Dan Vietor

Member Function Documentation

◆ getId()

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

Returns identifier

References city, and WXP::CityData::getId().

◆ getLat()

float WXP::CityHashData::getLat ( )
inline

◆ getLon()

float WXP::CityHashData::getLon ( )
inline

Returns longitude

References city, and WXP::CityData::getLon().

Referenced by WXP::MdrPlot::draw(), WXP::RcmPlot::draw(), and WXP::MdrImage::readFile().

◆ getName()

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

Returns identifier

References city, and WXP::CityData::getName().

◆ getPrior()

int WXP::CityHashData::getPrior ( )
inline

Returns priority

References city, and WXP::CityData::getPrior().

◆ getRegion()

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

Returns region

References city, and WXP::CityData::getRegion().

◆ getState()

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

Returns state

References city, and WXP::CityData::getState().

◆ getWmo()

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

Returns WMO identifier

References city, and WXP::CityData::getWmo().

◆ print()

int CityHashData::print ( )

Prints object data

References city, and WXP::CityData::print().

Member Data Documentation

◆ city

CityData WXP::CityHashData::city

◆ ptr

void* WXP::CityHashData::ptr

Pointer to user specific data

◆ size

int WXP::CityHashData::size

Size of data segment (see ptr)


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