Class Index Cross Index Namespace Index

Class FrameCPP::Version_3_4_5::Location

Latitude & Longitude.
Contained in: FrameCPP::Version_3_4_5
Derived from: none
Derived by: none

#include "../../../../../lib/framecpp/src/Version3_4_5/location.hh"


public function member index:

inline Location(); Default Constructor.
inline Location(const Location& loc); Copy constructor.
inline Location(INT_2S lonD, INT_2S lonM, REAL_4 lonS, INT_2S latD, INT_2S latM, REAL_4 latS); Constructor.
inline INT_2S getLatD() const; Get Latitude Degrees.
inline INT_2S getLatM() const; Get Latitude Minutes.
inline REAL_4 getLatS() const; Get Latitude Seconds.
inline INT_2S getLonD() const; Get Longitude Degrees.
inline INT_2S getLonM() const; Get Longitude Minutes.
inline REAL_4 getLonS() const; Get Longitude Seconds.
const Location& operator =(const Location& loc); Assignment Operator.
bool operator ==(const Location& loc) const; Equal comparison.
 

Description:

A simple class (more like a struct) which stores a location as latitude/longitude.


Function Member Descriptions:


FrameCPP::Version_3_4_5::Location::Location - Default Constructor.


inline Location();
This creates a location object with a latitude of 0 degrees and a longitude of zero degrees.

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::Location - Copy constructor.


inline Location(const Location& loc);

Parameters:
ParameterDescription
const Location& locObject to be copied.

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::Location - Constructor.


inline Location(INT_2S lonD, INT_2S lonM, REAL_4 lonS, INT_2S latD, INT_2S latM, REAL_4 latS);

Parameters:
ParameterDescription
INT_2S lonD
INT_2S lonM
REAL_4 lonS
INT_2S latD
INT_2S latM
REAL_4 latS



FrameCPP::Version_3_4_5::Location::getLatD - Get Latitude Degrees.


inline INT_2S getLatD() const;

Return value:
INT_2S

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::getLatM - Get Latitude Minutes.


inline INT_2S getLatM() const;

Return value:
INT_2S

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::getLatS - Get Latitude Seconds.


inline REAL_4 getLatS() const;

Return value:
REAL_4

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::getLonD - Get Longitude Degrees.


inline INT_2S getLonD() const;

Return value:
INT_2S

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::getLonM - Get Longitude Minutes.


inline INT_2S getLonM() const;

Return value:
INT_2S

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::getLonS - Get Longitude Seconds.


inline REAL_4 getLonS() const;

Return value:
REAL_4

Exceptions:
ExceptionDescription
None.
None.



FrameCPP::Version_3_4_5::Location::operator = - Assignment Operator.


const Location& operator =(const Location& loc);

Parameters:
ParameterDescription
const Location& locObejct to be assigned.

Return value:
const Location&This object.

Exceptions:
ExceptionDescription
None.



FrameCPP::Version_3_4_5::Location::operator == - Equal comparison.


bool operator ==(const Location& loc) const;
Determines whether two Location objects are equal.

Parameters:
ParameterDescription
const Location& locThe object to compare with.

Return value:
booltrue if the objects are equal.

Exceptions:
ExceptionDescription
None.



Variable Member Descriptions:


FrameCPP::Version_3_4_5::Location::mLatD -

INT_2S mLatD;

FrameCPP::Version_3_4_5::Location::mLatM -

INT_2S mLatM;

FrameCPP::Version_3_4_5::Location::mLatS -

REAL_4 mLatS;

FrameCPP::Version_3_4_5::Location::mLonD -

INT_2S mLonD;

FrameCPP::Version_3_4_5::Location::mLonM -

INT_2S mLonM;

FrameCPP::Version_3_4_5::Location::mLonS -

REAL_4 mLonS;