MapObject Class Reference

[Kflog Index] [Kflog Hierarchy] [Headers]


This class provides the mapobjects More...

#include <mapobject.h>

Inherits: QObject (qt)

Public Members

Private Members


Detailed Description

This class provides the mapobjects.


MapObject(const char* t = 0, int coordNum = 0, const QString n = 0) [public]

creates an mapobject. For creating, the type, the number of coordinates and the name must be given. There is no chance to change these values after creation.

~MapObject() [public]

destroys the object.

void setAlias(QString new_alias) [public]

Sets the alias-name for the object.

void setAt(long at_lat, long at_log) [public]

Sets the "AT"-Value for the object. It will set the values of the AT-Location.

void setElev(QString elev = 0) [public]

Sets the elevation of the object.

void setFrequency(QString freq_string) [public]

Sets the frequency of the object.

void setLocList(long* lat, long* lon) [public]

Sets the list of coordinates. The number of coordinates must be given to the constructor.

void setRunway(int num = 0, int dir = 0, int length = 0, QString type = 0) [public]

Sets the information about the runways. The param "num" declares the number of runways, the param "dir" is an int-array containing the direction of each runway, "length" (int-array) contains the length of each runway and "type" (QString-array) contains the type of each runway.

const long* getLatList() [public]

Returns a pointer to the list of the latitudes.

const long* getLonList() [public]

Returns a pointer to the list of the longitudes.

const int getLocLength() [public]

Returns the number of points.

const QString getName() [public]

return the name of the object

const QString getType() [public]

return the type of the object

QString alias[private]

The alias-name of the object.

Location at[private]

The At-Location. It is used for punktural map-objects.

QString elevation[private]

The elevation of the object.

QString frequency[private]

The frequency for airfields and -ports and nav-objects

long* latitude[private]

The coordinates for the object, given as an array in the internal format. The size of the array is given during construction of the object.

This one is for the latitude.

long* longitude[private]

And this for the longitude.

QString name[private]

The name of the object.

QString type[private]

The type of the object.

int locLength[private]

The number of points.


  • Author: Heiner Lamprecht
  • Documentation generated by heiner@Tharbad on Mon Jul 26 18:16:35 CEST 1999
Kdoc