RinexSatID Class Reference

#include <RinexSatID.hpp>

Inheritance diagram for RinexSatID:

Inheritance graph
[legend]
Collaboration diagram for RinexSatID:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RinexSatID () throw ()
 Empty constructor; creates an invalid object (Unknown, ID = -1).
 RinexSatID (int p, SatelliteSystem s) throw ()
 Explicit constructor, no defaults, RINEX systems only.
 RinexSatID (const std::string &str) throw (Exception)
 Constructor from a string.
 RinexSatID (const SatID &sat) throw ()
 Cast a SatID to a RinexSatID.
char setfill (char c) throw ()
 Set the fill character used in output and return the current fill character.
char getfill () throw ()
 Get the fill character used in output.
char systemChar () const throw ()
 Return the single-character system descriptor.
std::string systemString () const throw ()
 Return the system name as a string.
void fromString (const std::string s) throw (Exception)
 Set the RinexSatID from a string (1 character plus 2-digit integer).
std::string toString () const throw ()
 Convert the RinexSatID to string (1 character plus 2-digit integer).

Constructor & Destructor Documentation

RinexSatID  )  throw () [inline]
 

Empty constructor; creates an invalid object (Unknown, ID = -1).

Definition at line 64 of file RinexSatID.hpp.

RinexSatID int  p,
SatelliteSystem  s
throw () [inline]
 

Explicit constructor, no defaults, RINEX systems only.

Definition at line 71 of file RinexSatID.hpp.

RinexSatID const std::string &  str  )  throw (Exception) [inline]
 

Constructor from a string.

Definition at line 93 of file RinexSatID.hpp.

References GPSTK_RETHROW.

RinexSatID const SatID sat  )  throw () [inline]
 

Cast a SatID to a RinexSatID.

Definition at line 103 of file RinexSatID.hpp.


Member Function Documentation

void fromString const std::string  s  )  throw (Exception) [inline]
 

Set the RinexSatID from a string (1 character plus 2-digit integer).

Note:
GPS is default system (no or unknown system char)

Definition at line 165 of file RinexSatID.hpp.

References GPSTK_THROW.

Referenced by RinexObsHeader::ParseHeaderRecord().

char getfill  )  throw () [inline]
 

Get the fill character used in output.

Definition at line 118 of file RinexSatID.hpp.

char setfill char  c  )  throw () [inline]
 

Set the fill character used in output and return the current fill character.

Definition at line 111 of file RinexSatID.hpp.

char systemChar  )  const throw () [inline]
 

Return the single-character system descriptor.

Note:
return only RINEX types, for non-RINEX systems return '?'

Definition at line 129 of file RinexSatID.hpp.

std::string systemString  )  const throw () [inline]
 

Return the system name as a string.

Note:
Return only RINEX types or 'Unknown'.

Definition at line 147 of file RinexSatID.hpp.

std::string toString  )  const throw () [inline]
 

Convert the RinexSatID to string (1 character plus 2-digit integer).

Definition at line 214 of file RinexSatID.hpp.

Referenced by gpstk::operator<<().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 03:31:40 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1