RinexObsID Class Reference

#include <RinexObsID.hpp>

Inheritance diagram for RinexObsID:

Inheritance graph
[legend]
Collaboration diagram for RinexObsID:

Collaboration graph
[legend]
List of all members.

Detailed Description

class RinexObsID is the set of ObsID's which are valid in RINEX 3.01.

This class simply limits possible values of ObsID, plus a little functionality. Note it depends critically on map validRinexTrackingCodes, from class ObsID. This map[sys][freq] = valid codes; e.g. valid['G'][1]="CSLXPWYMN" Only exception is there is no pseudorange (C) on GPS L1/L2 N (codeless) RINEX 3.01 document, section 5.1 sys freq code ObsID = sys+type+freq+code GPS L1 C,S,L,X,P,W,Y,M,N G CLDS 1 CSLXPWYMN (but not C1N) L2 C,D,S,L,X,P,W,Y,M,N G CLDS 2 CDSLXPWYMN (but not C2N) L5 I,Q,X G CLDS 5 IQX GLO G1 C,P R CLDS 1 CP G2 C,P R CLDS 2 CP GAL E1 A,B,C,X,Z E CLDS 1 ABCXZ E5a I,Q,X E CLDS 5 IQX E5b I,Q,X E CLDS 7 IQX E5ab I,Q,X E CLDS 8 IQX E6 A,B,C,X,Z E CLDS 6 ABCXZ SBAS L1 C S CLDS 1 C L5 I,Q,X S CLDS 5 IQX COM E1 - C CLDS 1 - E2 I,Q,X C CLDS 2 IQX E5b I,Q,X C CLDS 7 IQX E6 I,Q,X C CLDS 6 IQX

Definition at line 91 of file RinexObsID.hpp.

Public Member Functions

 RinexObsID ()
 empty constructor, creates an invalid object
 RinexObsID (ObservationType ot, CarrierBand cb, TrackingCode tc)
 Explicit constructior.
 RinexObsID (const std::string &strID) throw (InvalidParameter)
 Construct this object from the string specifier.
 RinexObsID (const ObsID &oid) throw (InvalidParameter)
 Constructor from ObsID.
 RinexObsID (const RinexObsHeader::RinexObsType &rot)
 a conversion constructor, giving a fixed one-way mapping from RINEX ver 2 obstypes to RinexObsIDs.
std::string asString () const
 This returns a representation of this object using the observation codes described in section 5.1 of the Rinex 3 specification.


Constructor & Destructor Documentation

RinexObsID  )  [inline]
 

empty constructor, creates an invalid object

Definition at line 95 of file RinexObsID.hpp.

RinexObsID ObservationType  ot,
CarrierBand  cb,
TrackingCode  tc
[inline]
 

Explicit constructior.

Definition at line 98 of file RinexObsID.hpp.

RinexObsID const std::string &  strID  )  throw (InvalidParameter)
 

Construct this object from the string specifier.

Definition at line 48 of file RinexObsID.cpp.

References GPSTK_RETHROW, GPSTK_THROW, and gpstk::isValidRinexObsID().

RinexObsID const ObsID oid  )  throw (InvalidParameter) [inline]
 

Constructor from ObsID.

Definition at line 105 of file RinexObsID.hpp.

References GPSTK_THROW, and gpstk::isValidRinexObsID().

RinexObsID const RinexObsHeader::RinexObsType rot  ) 
 

a conversion constructor, giving a fixed one-way mapping from RINEX ver 2 obstypes to RinexObsIDs.

L1 -> L1P; P1 -> C1P; C1 -> C1C; S1 -> S1P; D1 -> D1P L2 -> L2P; P2 -> C2P; C2 -> C2X; S2 -> S2P; D2 -> D2P Note that RinexHeader does the conversion with more care for tracking code, and does NOT USE THIS ROUTINE.

Definition at line 61 of file RinexObsID.cpp.


Member Function Documentation

std::string asString  )  const
 

This returns a representation of this object using the observation codes described in section 5.1 of the Rinex 3 specification.

Note that this always returns a three character identifier so some information is lost because some codes are shared between satellite systems.

Definition at line 81 of file RinexObsID.cpp.

Referenced by gpstk::StringUtils::asString().


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