Rinex3ClockData Class Reference
[RINEX3 clock files]

#include <Rinex3ClockData.hpp>

Inheritance diagram for Rinex3ClockData:

Inheritance graph
[legend]
Collaboration diagram for Rinex3ClockData:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class models a RINEX3 clock data file.

See also:
gpstk::Rinex3ClockData and gpstk::Rinex3ClockStream.

rinex_clk_test.cpp and rinex_clk_read_write.cpp for examples.

Definition at line 53 of file Rinex3ClockData.hpp.

Public Member Functions

 Rinex3ClockData ()
 A simple constructor.
virtual ~Rinex3ClockData ()
 clock data type
virtual bool isData () const
 RinexObsData is a "data", so this function always returns true.
virtual void dump (std::ostream &s) const
 A Debug output function.

Public Attributes

std::string type
 receiver or satellite name for which data are given
std::string name
 the corresponding time to the clock data record
CommonTime time
size_t numVal
 clock data 0: clock bias (seconds)
double data [6]

Protected Member Functions

virtual void reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException)
 Writes a correctly formatted record from this data to stream s.
virtual void reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, gpstk::StringUtils::StringException)
 This functions obtains a RINEX Observation record from the given FFStream.


Constructor & Destructor Documentation

Rinex3ClockData  )  [inline]
 

A simple constructor.

Definition at line 58 of file Rinex3ClockData.hpp.

References gpstk::BEGINNING_OF_TIME.

virtual ~Rinex3ClockData  )  [inline, virtual]
 

clock data type

Definition at line 62 of file Rinex3ClockData.hpp.


Member Function Documentation

void dump std::ostream &  s  )  const [virtual]
 

A Debug output function.

Dumps the time of observations and the IDs of the Sats in the map.

Reimplemented from FFData.

Definition at line 42 of file Rinex3ClockData.cpp.

virtual bool isData void   )  const [inline, virtual]
 

RinexObsData is a "data", so this function always returns true.

Reimplemented from FFData.

Definition at line 83 of file Rinex3ClockData.hpp.

void reallyGetRecord FFStream s  )  throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

This functions obtains a RINEX Observation record from the given FFStream.

If there is an error in reading from the stream, it is reset to its original position and its fail-bit is set. Because of the Rinex Obs format, a RinexObsData record returned might not have data in it. Check the RinexSatMap for empty() before using any data in it.

Exceptions:
StringException when a StringUtils function fails
FFStreamError when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to its pre-read position.

Implements FFData.

Definition at line 70 of file Rinex3ClockData.cpp.

References FFTextStream::formattedGetLine().

void reallyPutRecord FFStream s  )  const throw (std::exception, FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

Writes a correctly formatted record from this data to stream s.

When printing comment records, you'll need to format them correctly yourself. This means making sure that "COMMENT" is at the end of the line and that they're the correct length (<= 80 chrs). Also make sure to correctly set the epochFlag to the correct number for the type of header data you want to write.

Implements FFData.

Definition at line 55 of file Rinex3ClockData.cpp.


Member Data Documentation

double data[6]
 

Definition at line 79 of file Rinex3ClockData.hpp.

std::string name
 

the corresponding time to the clock data record

Definition at line 68 of file Rinex3ClockData.hpp.

size_t numVal
 

clock data 0: clock bias (seconds)

1: clock bias sigma[optional] (seconds). 2: clock rate [optional] (dimensionless). 3: clock rate sigma [optional] (dimensionless). 4: clock acceleration [optional] (per second). 5: clock acceleration sigma [optional] (per second).

Definition at line 72 of file Rinex3ClockData.hpp.

CommonTime time
 

Definition at line 69 of file Rinex3ClockData.hpp.

std::string type
 

receiver or satellite name for which data are given

Definition at line 66 of file Rinex3ClockData.hpp.


The documentation for this class was generated from the following files:
Generated on Fri May 17 03:31:53 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1