digiKam
Digikam::GPSDataContainer Class Reference

Public Types

enum  HasFlagsEnum {
  HasCoordinates = 1 , HasAltitude = 2 , HasIsInterpolated = 4 , HasNSatellites = 8 ,
  HasDop = 16 , HasFixType = 32 , HasSpeed = 64
}
 

Public Member Functions

void clear ()
 
void clearAltitude ()
 
void clearDop ()
 
void clearFixType ()
 
void clearNonCoordinates ()
 
void clearNSatellites ()
 
void clearSpeed ()
 
HasFlags flags () const
 
GeoCoordinates getCoordinates () const
 
qreal getDop () const
 
qreal getFixType () const
 
int getNSatellites () const
 
qreal getSpeed () const
 Return the speed in m/s. More...
 
 GPSDataContainer ()
 
bool hasAltitude () const
 
bool hasCoordinates () const
 
bool hasDop () const
 
bool hasFixType () const
 
bool hasNSatellites () const
 
bool hasSpeed () const
 
bool operator== (const GPSDataContainer &b) const
 
void setAltitude (const qreal alt)
 
void setCoordinates (const GeoCoordinates &coordinates)
 
void setDop (const qreal dop)
 
void setFixType (const int fixType)
 
void setLatLon (const qreal lat, const qreal lon)
 
void setNSatellites (const int nSatellites)
 
void setSpeed (const qreal speed)
 Set the speed in m/s. More...
 

Member Enumeration Documentation

◆ HasFlagsEnum

Enumerator
HasCoordinates 
HasAltitude 
HasIsInterpolated 
HasNSatellites 
HasDop 
HasFixType 
HasSpeed 

Constructor & Destructor Documentation

◆ GPSDataContainer()

Digikam::GPSDataContainer::GPSDataContainer ( )
inline

Member Function Documentation

◆ clear()

void Digikam::GPSDataContainer::clear ( )
inline

◆ clearAltitude()

void Digikam::GPSDataContainer::clearAltitude ( )
inline

◆ clearDop()

void Digikam::GPSDataContainer::clearDop ( )
inline

◆ clearFixType()

void Digikam::GPSDataContainer::clearFixType ( )
inline

◆ clearNonCoordinates()

void Digikam::GPSDataContainer::clearNonCoordinates ( )
inline

References HasDop, HasFixType, HasNSatellites, and HasSpeed.

Referenced by setCoordinates(), and setLatLon().

◆ clearNSatellites()

void Digikam::GPSDataContainer::clearNSatellites ( )
inline

◆ clearSpeed()

void Digikam::GPSDataContainer::clearSpeed ( )
inline

◆ flags()

HasFlags Digikam::GPSDataContainer::flags ( ) const
inline

◆ getCoordinates()

◆ getDop()

◆ getFixType()

◆ getNSatellites()

◆ getSpeed()

qreal Digikam::GPSDataContainer::getSpeed ( ) const
inline

◆ hasAltitude()

◆ hasCoordinates()

◆ hasDop()

◆ hasFixType()

◆ hasNSatellites()

◆ hasSpeed()

◆ operator==()

bool Digikam::GPSDataContainer::operator== ( const GPSDataContainer b) const
inline

◆ setAltitude()

void Digikam::GPSDataContainer::setAltitude ( const qreal  alt)
inline

◆ setCoordinates()

◆ setDop()

void Digikam::GPSDataContainer::setDop ( const qreal  dop)
inline

◆ setFixType()

void Digikam::GPSDataContainer::setFixType ( const int  fixType)
inline

◆ setLatLon()

void Digikam::GPSDataContainer::setLatLon ( const qreal  lat,
const qreal  lon 
)
inline

◆ setNSatellites()

void Digikam::GPSDataContainer::setNSatellites ( const int  nSatellites)
inline

◆ setSpeed()

void Digikam::GPSDataContainer::setSpeed ( const qreal  speed)
inline

Set the speed in m/s.

References HasSpeed.

Referenced by Digikam::GPSItemContainer::loadImageData().


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