Location:
t32wld.h
Link against: ealwl.lib
TWorldId
Supported from 5.0
World ID.
This class stores the world ID for a city/country — comprised of the city and country names. Unique IDs of this type are used to identify every city in the world database.
This class also defines a field for setting whether city searches span the whole database, or just the current country.
Defined in TWorldId
:
City()
, Country()
, Select()
, SetSelect()
, TWorldId()
TWorldId();
Constructs a city ID object, and initialises it with the search
locale EWithinWorld
.
const TCityName& City() const;
Gets the city name in the current TWorldId
.
|
const TCountryName& Country() const;
Gets the country name in the current TWorldId
.
|
TWldSelect Select() const;
Gets the current city search mode. Clients can search for cities by country, or over the whole world database.
|
void SetSelect(TWldSelect aSelector);
Sets the city search mode. Clients can search for cities by country, or over the whole world database.
|