Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classStelLocation.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:27:49 2014 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п |
Stellarium 0.12.3
|
Store the informations for a location on a planet. More...
#include <StelLocation.hpp>
Public Member Functions | |
QString | getID () const |
Return a short string which can be used in a list view. More... | |
QString | serializeToLine () const |
Output the location as a string ready to be stored in the user_location file. More... | |
Static Public Member Functions | |
static StelLocation | createFromLine (const QString &line) |
Parse a location from a line serialization. More... | |
Public Attributes | |
QString | name |
Location/city name. More... | |
QString | country |
English country name or empty string. More... | |
QString | state |
State/region name (usefull if 2 locations of the same country have the same name) More... | |
QString | planetName |
English planet name. More... | |
float | longitude |
Longitude in degree. More... | |
float | latitude |
Latitude in degree. More... | |
int | altitude |
Altitude in meter. More... | |
float | bortleScaleIndex |
Light pollution index following Bortle scale. More... | |
QString | landscapeKey |
A hint for associating a landscape to the location. More... | |
int | population |
Population in number of inhabitants. More... | |
QChar | role |
Location role code. More... | |
bool | isUserLocation |
Used privately by the StelLocationMgr. More... | |
Store the informations for a location on a planet.
Definition at line 26 of file StelLocation.hpp.
|
static |
Parse a location from a line serialization.
|
inline |
Return a short string which can be used in a list view.
Definition at line 32 of file StelLocation.hpp.
QString StelLocation::serializeToLine | ( | ) | const |
Output the location as a string ready to be stored in the user_location file.
int StelLocation::altitude |
Altitude in meter.
Definition at line 56 of file StelLocation.hpp.
float StelLocation::bortleScaleIndex |
Light pollution index following Bortle scale.
Definition at line 58 of file StelLocation.hpp.
QString StelLocation::country |
English country name or empty string.
Definition at line 46 of file StelLocation.hpp.
bool StelLocation::isUserLocation |
Used privately by the StelLocationMgr.
Definition at line 79 of file StelLocation.hpp.
QString StelLocation::landscapeKey |
A hint for associating a landscape to the location.
Definition at line 60 of file StelLocation.hpp.
float StelLocation::latitude |
Latitude in degree.
Definition at line 54 of file StelLocation.hpp.
float StelLocation::longitude |
Longitude in degree.
Definition at line 52 of file StelLocation.hpp.
QString StelLocation::name |
Location/city name.
Definition at line 44 of file StelLocation.hpp.
QString StelLocation::planetName |
English planet name.
Definition at line 50 of file StelLocation.hpp.
int StelLocation::population |
Population in number of inhabitants.
Definition at line 62 of file StelLocation.hpp.
QChar StelLocation::role |
Location role code.
Possible values:
C
or B
is a capital cityR
is a regional capitalN
is a normal city (any other type of settlement)O
is an observatoryL
is a spacecraft landerI
is a spacecraft impactA
is a spacecraft crashX
is an unknown or user-defined location (the default value). Definition at line 73 of file StelLocation.hpp.
QString StelLocation::state |
State/region name (usefull if 2 locations of the same country have the same name)
Definition at line 48 of file StelLocation.hpp.