Eaagles::Basic::LcLatLon Class Reference

Inherits Eaagles::Basic::LcNumber.

Inheritance diagram for Eaagles::Basic::LcLatLon:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Basic::LcLatLon:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Dir {
  NONE, NORTH, SOUTH, EAST,
  WEST
}

Public Member Functions

 LcLatLon ()
 operator double () const
Dir getDir () const
int getDeg () const
int getMin () const
LCreal getSec () const
virtual bool setDirection (const LcString *const sdobj)
virtual bool setDegrees (const LcNumber *const sdeobj)
virtual bool setMinutes (const LcNumber *const smobj)
virtual bool setSeconds (const LcNumber *const ssobj)

Protected Member Functions

void computeVal ()
void setDir (const char *direction)
void setDeg (const LCreal degrees)
void setMin (const LCreal minutes)
void setSec (const LCreal seconds)

Private Attributes

Dir dir
int deg
int min
LCreal sec

Detailed Description

Class/form for latitude or longitude numbers.

    Slots:
       1. direction (String)  Set the direction ("North, South", "East", or "West")
       2. degrees   (Number)  Set the degrees component.
       3. minutes   (Number)  Set the minutes component.
       4. seconds   (Number)  Set the seconds component.

    Events: None
    /pre>


Member Enumeration Documentation

enum Eaagles::Basic::LcLatLon::Dir

Enumerator:
NONE 
NORTH 
SOUTH 
EAST 
WEST 


Constructor & Destructor Documentation

Eaagles::Basic::LcLatLon::LcLatLon (  ) 

Constructor: Instantiates an LcLatLon instance, and sets its attributes as follows: dir = none, deg = 0, min = 0, sec = 0.0


Member Function Documentation

Eaagles::Basic::LcLatLon::operator double (  )  const [inline]

Dir Eaagles::Basic::LcLatLon::getDir (  )  const [inline]

Returns the direction of the LcLatLon instance.

int Eaagles::Basic::LcLatLon::getDeg (  )  const [inline]

Returns the degrees of the LcLatLon instance.

int Eaagles::Basic::LcLatLon::getMin (  )  const [inline]

Returns the minutes of the LcLatLon instance.

LCreal Eaagles::Basic::LcLatLon::getSec (  )  const [inline]

Returns the seconds of the LcLatLon instance.

bool Eaagles::Basic::LcLatLon::setDirection ( const LcString *const   sdobj  )  [virtual]

slottable function to set the direction

bool Eaagles::Basic::LcLatLon::setDegrees ( const LcNumber *const   sdeobj  )  [virtual]

slottable function to set degrees

bool Eaagles::Basic::LcLatLon::setMinutes ( const LcNumber *const   smobj  )  [virtual]

slottable function to set minutes

bool Eaagles::Basic::LcLatLon::setSeconds ( const LcNumber *const   ssobj  )  [virtual]

slottable function to set seconds

void Eaagles::Basic::LcLatLon::computeVal (  )  [protected]

void Eaagles::Basic::LcLatLon::setDir ( const char *  direction  )  [protected]

void Eaagles::Basic::LcLatLon::setDeg ( const LCreal  degrees  )  [protected]

void Eaagles::Basic::LcLatLon::setMin ( const LCreal  minutes  )  [protected]

void Eaagles::Basic::LcLatLon::setSec ( const LCreal  seconds  )  [protected]


Member Data Documentation

Dir Eaagles::Basic::LcLatLon::dir [private]

direction

int Eaagles::Basic::LcLatLon::deg [private]

degrees

int Eaagles::Basic::LcLatLon::min [private]

minutes

LCreal Eaagles::Basic::LcLatLon::sec [private]

seconds


Generated on Tue Dec 19 16:26:13 2006 for Eaagles by  doxygen 1.5.0