CommonTime Accessor Methods


Functions

CommonTime & gpstk::CommonTime::set (long day, long sod, double fsod=0.0) throw ( gpstk::InvalidParameter )
 Set method that accepts values for day, seconds of day and fractional seconds of day.
CommonTime & gpstk::CommonTime::set (long day, double sod=0.0) throw ( gpstk::InvalidParameter )
 Set method that accepts values for day and seconds of day.
CommonTime & gpstk::CommonTime::set (double day) throw ( gpstk::InvalidParameter )
 Set method that accepts a value for day.
CommonTime & gpstk::CommonTime::setInternal (long day=0, long msod=0, double fsod=0.0) throw ( gpstk::InvalidParameter )
 Set internal values method.
void gpstk::CommonTime::get (long &day, long &sod, double &fsod) const throw ()
 Get method.
void gpstk::CommonTime::get (long &day, double &sod) const throw ()
 Get method through which one may obtain values for day and second of day which includes the fractional second of day.
void gpstk::CommonTime::get (double &day) const throw ()
 Get method through which one may obtain a value for day which includes the fraction of a day.
void gpstk::CommonTime::getInternal (long &day, long &msod, double &fsod) const throw ()
 Get internal values method.
double gpstk::CommonTime::getDays () const throw ()
 Obtain the time, in days, including the fraction of a day.
double gpstk::CommonTime::getSecondOfDay () const throw ()
 Obtain the seconds of day ( ignoring the day ).


Function Documentation

void get double &  day  )  const throw () [inherited]
 

Get method through which one may obtain a value for day which includes the fraction of a day.

Definition at line 175 of file CommonTime.cpp.

References gpstk::MS_PER_DAY.

void get long &  day,
double &  sod
const throw () [inherited]
 

Get method through which one may obtain values for day and second of day which includes the fractional second of day.

Definition at line 167 of file CommonTime.cpp.

References gpstk::MS_PER_SEC.

void get long &  day,
long &  sod,
double &  fsod
const throw () [inherited]
 

Get method.

Obtain values in days, second of day and fractional second of day.

Definition at line 156 of file CommonTime.cpp.

References gpstk::SEC_PER_MS.

Referenced by CommonTime::getDays(), and CommonTime::getSecondOfDay().

double getDays  )  const throw () [inherited]
 

Obtain the time, in days, including the fraction of a day.

Definition at line 184 of file CommonTime.cpp.

References CommonTime::get().

void getInternal long &  day,
long &  msod,
double &  fsod
const throw () [inline, inherited]
 

Get internal values method.

Obtain the values stored within this object.

Definition at line 200 of file CommonTime.hpp.

double getSecondOfDay  )  const throw () [inherited]
 

Obtain the seconds of day ( ignoring the day ).

Definition at line 192 of file CommonTime.cpp.

References CommonTime::get().

CommonTime & set double  day  )  throw ( gpstk::InvalidParameter ) [inherited]
 

Set method that accepts a value for day.

It also checks the validity of the argument and throws an exception if its value is out of bounds.

Definition at line 114 of file CommonTime.cpp.

CommonTime & set long  day,
double  sod = 0.0
throw ( gpstk::InvalidParameter ) [inherited]
 

Set method that accepts values for day and seconds of day.

It also checks the validity of the arguments and throws an exception if any values are out of bounds.

Definition at line 103 of file CommonTime.cpp.

CommonTime & set long  day,
long  sod,
double  fsod = 0.0
throw ( gpstk::InvalidParameter ) [inherited]
 

Set method that accepts values for day, seconds of day and fractional seconds of day.

It also checks the validity of the arguments and throws an exception if any values are out of bounds.

Definition at line 62 of file CommonTime.cpp.

References GPSTK_THROW, and gpstk::MS_PER_SEC.

CommonTime & setInternal long  day = 0,
long  msod = 0,
double  fsod = 0.0
throw ( gpstk::InvalidParameter ) [inherited]
 

Set internal values method.

Set the data members of this object directly. Checks the validity of the given time representation and throws an exception if any values are out of bounds.

Definition at line 123 of file CommonTime.cpp.

References GPSTK_THROW.


Generated on Tue Feb 7 03:31:26 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1