This class models the header for a RINEX Clock file.
Definition at line 64 of file Rinex3ClockHeader.hpp.
#include <Rinex3ClockHeader.hpp>
Public Member Functions | |
Rinex3ClockHeader () | |
constructor More... | |
![]() | |
virtual | ~Rinex3ClockBase () |
Destructor per the coding standards. More... | |
![]() | |
virtual void | dump (std::ostream &s) const |
void | getRecord (FFStream &s) |
virtual bool | isData () const |
void | putRecord (FFStream &s) const |
virtual | ~FFData (void) |
virtual desctuctor More... | |
RINEX Clock Header Formatting Strings | |
enum | validBits { versionValid = 0x01, runByValid = 0x02, commentValid = 0x04, sysValid = 0x08, timeSystemValid = 0x010, leapSecondsValid = 0x020, sysDCBValid = 0x040, sysPCVValid = 0x080, numDataValid = 0x0100, stationNameValid = 0x0200, stationClockRefValid = 0x0400, analysisCenterValid = 0x0800, numClockRefValid = 0x01000, analysisClkRefrValid = 0x02000, numReceiversValid = 0x04000, solnStateValid = 0x08000, numSolnSatsValid = 0x010000, prnListValid = 0x020000, endOfHeaderValid = 0x040000, allRequiredValid = 0x07C903, allValid = 0x07FFFF } |
Validity bits for the RINEX Clock Header (** optional) More... | |
typedef std::map< std::string, std::vector< RinexObsID > > | RinexObsMap |
typedef std::pair< std::string, std::string > | stringPair |
static const GNSSTK_EXPORT std::string | versionString = "RINEX VERSION / TYPE" |
"RINEX VERSION / TYPE" More... | |
static const GNSSTK_EXPORT std::string | runByString = "PGM / RUN BY / DATE" |
"PGM / RUN BY / DATE" More... | |
static const GNSSTK_EXPORT std::string | commentString = "COMMENT" |
"COMMENT" More... | |
static const GNSSTK_EXPORT std::string | sysString = "SYS / # / OBS TYPES" |
"SYS / # / OBS TYPES" More... | |
static const GNSSTK_EXPORT std::string | timeSystemString = "TIME SYSTEM ID" |
"TIME SYSTEM ID" More... | |
static const GNSSTK_EXPORT std::string | leapSecondsString = "LEAP SECONDS" |
"LEAP SECONDS" More... | |
static const GNSSTK_EXPORT std::string | sysDCBString = "SYS / DCBS APPLIED" |
"SYS / DCBS APPLIED" More... | |
static const GNSSTK_EXPORT std::string | sysPCVString = "SYS / PCVS APPLIED" |
"SYS / PCVS APPLIED" More... | |
static const GNSSTK_EXPORT std::string | numDataString = "# / TYPES OF DATA" |
"# / TYPES OF DATA" More... | |
static const GNSSTK_EXPORT std::string | stationNameString = "STATION NAME / NUM" |
"STATION NAME / NUM" More... | |
static const GNSSTK_EXPORT std::string | stationClockRefString ="STATION CLK REF" |
"STATION CLK REF" More... | |
static const GNSSTK_EXPORT std::string | analysisCenterString = "ANALYSIS CENTER" |
"ANALYSIS CENTER" More... | |
static const GNSSTK_EXPORT std::string | numClockRefString = "# OF CLK REF" |
"# OF CLK REF" More... | |
static const GNSSTK_EXPORT std::string | analysisClkRefrString ="ANALYSIS CLK REF" |
"ANALYSIS CLK REF" More... | |
static const GNSSTK_EXPORT std::string | numReceiversString = "# OF SOLN STA / TRF" |
"# OF SOLN STA / TRF" More... | |
static const GNSSTK_EXPORT std::string | solnStateString = "SOLN STA NAME / NUM" |
"SOLN STA NAME / NUM" More... | |
static const GNSSTK_EXPORT std::string | numSolnSatsString = "# OF SOLN SATS" |
"# OF SOLN SATS" More... | |
static const GNSSTK_EXPORT std::string | prnListString = "PRN LIST" |
"PRN LIST" More... | |
static const GNSSTK_EXPORT std::string | endOfHeaderString = "END OF HEADER" |
"END OF HEADER" More... | |
double | version |
Rinex3Clock Version or file format. More... | |
std::string | program |
Program name. More... | |
std::string | runby |
Run by string. More... | |
std::string | fileSys |
GNSS system OR Mixed. More... | |
std::vector< std::string > | dataTypes |
list of data types More... | |
std::string | satSysPrev |
recall the prev sat. sys for continuation lines. More... | |
int | numObs |
save OBS # / TYPES and Sys / SCALE FACTOR for continuation lines. More... | |
RinexObsMap | sysObsTypes |
list of obs types used for each GNSS More... | |
int | leapSeconds |
Leap seconds. More... | |
TimeSystem | timeSystem |
Time system. More... | |
std::string | analCenterDesignator |
Analysis center designator (3 char) More... | |
std::string | analysisCenter |
Analysis center. More... | |
std::string | terrRefFrame |
Terr Ref Frame or SINEX solution. More... | |
std::map< std::string, stringPair > | dcbsMap |
std::map< std::string, stringPair > | pcvsMap |
int | numSolnStations |
Number of stations in the solution. More... | |
std::map< std::string, std::string > | stationID |
4-char name, station id More... | |
std::map< std::string, std::string > | stationX |
name, station X coord in mm More... | |
std::map< std::string, std::string > | stationY |
name, station Y coord in mm More... | |
std::map< std::string, std::string > | stationZ |
name, station Z coord in mm More... | |
int | numSolnSatellites |
Number of satellites in the soln. More... | |
std::vector< RinexSatID > | satList |
List of sats (PRN LIST) More... | |
std::vector< std::string > | commentList |
comments More... | |
unsigned long | valid |
valid bits for this header More... | |
virtual | ~Rinex3ClockHeader () |
destructor More... | |
virtual bool | isHeader () const |
Rinex3ClockHeader is a "header" so this function always returns true. More... | |
virtual void | dump (std::ostream &s=std::cout, short detail=0) const noexcept |
void | dumpValid (std::ostream &s=std::cout) const noexcept |
Dump validity bits -> header strings. More... | |
void | clear (void) |
clear out the member data More... | |
virtual void | reallyPutRecord (FFStream &s) const |
virtual void | reallyGetRecord (FFStream &s) |
Additional Inherited Members |
typedef std::map<std::string, std::vector<RinexObsID> > gnsstk::Rinex3ClockHeader::RinexObsMap |
Definition at line 181 of file Rinex3ClockHeader.hpp.
typedef std::pair<std::string,std::string> gnsstk::Rinex3ClockHeader::stringPair |
Definition at line 191 of file Rinex3ClockHeader.hpp.
Validity bits for the RINEX Clock Header (** optional)
Definition at line 116 of file Rinex3ClockHeader.hpp.
|
inline |
constructor
Definition at line 69 of file Rinex3ClockHeader.hpp.
|
inlinevirtual |
destructor
Definition at line 149 of file Rinex3ClockHeader.hpp.
|
inlineprotected |
clear out the member data
Definition at line 213 of file Rinex3ClockHeader.hpp.
|
virtualnoexcept |
Dump information about the header to an ostream.
[in] | s | ostream to receive the output; defaults to std::cout |
[in] | detail | integer level of detail to provide; allowed values are: 0: all the header string except stations and satellites, but their num. 1: above plus all the stations and satellites 2: above plus all invalid header strings (dumpValid) |
Definition at line 518 of file Rinex3ClockHeader.cpp.
|
noexcept |
Dump validity bits -> header strings.
Definition at line 578 of file Rinex3ClockHeader.cpp.
|
inlinevirtual |
Rinex3ClockHeader is a "header" so this function always returns true.
Reimplemented from gnsstk::FFData.
Definition at line 153 of file Rinex3ClockHeader.hpp.
|
protectedvirtual |
This function retrieves the Rinex3Clock header from the given FFStream. If an error is encountered in the retrieval of the header, the stream is reset to its original position and its fail-bit is set.
std::exception | |
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 gnsstk::FFData.
Definition at line 80 of file Rinex3ClockHeader.cpp.
|
protectedvirtual |
Writes the record formatted to the FFStream s.
std::exception | |
FFStreamError | |
StringException | when a StringUtils function fails |
Implements gnsstk::FFData.
Definition at line 290 of file Rinex3ClockHeader.cpp.
std::string gnsstk::Rinex3ClockHeader::analCenterDesignator |
Analysis center designator (3 char)
Definition at line 187 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::analysisCenter |
Analysis center.
Definition at line 188 of file Rinex3ClockHeader.hpp.
|
static |
"ANALYSIS CENTER"
Definition at line 98 of file Rinex3ClockHeader.hpp.
|
static |
"ANALYSIS CLK REF"
Definition at line 102 of file Rinex3ClockHeader.hpp.
std::vector<std::string> gnsstk::Rinex3ClockHeader::commentList |
comments
Definition at line 207 of file Rinex3ClockHeader.hpp.
|
static |
"COMMENT"
Definition at line 80 of file Rinex3ClockHeader.hpp.
std::vector<std::string> gnsstk::Rinex3ClockHeader::dataTypes |
list of data types
Definition at line 175 of file Rinex3ClockHeader.hpp.
std::map<std::string, stringPair > gnsstk::Rinex3ClockHeader::dcbsMap |
Definition at line 192 of file Rinex3ClockHeader.hpp.
|
static |
"END OF HEADER"
Definition at line 112 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::fileSys |
GNSS system OR Mixed.
Definition at line 174 of file Rinex3ClockHeader.hpp.
int gnsstk::Rinex3ClockHeader::leapSeconds |
Leap seconds.
Definition at line 184 of file Rinex3ClockHeader.hpp.
|
static |
"LEAP SECONDS"
Definition at line 86 of file Rinex3ClockHeader.hpp.
|
static |
"# OF CLK REF"
Definition at line 100 of file Rinex3ClockHeader.hpp.
|
static |
"# / TYPES OF DATA"
Definition at line 92 of file Rinex3ClockHeader.hpp.
int gnsstk::Rinex3ClockHeader::numObs |
save OBS # / TYPES and Sys / SCALE FACTOR for continuation lines.
Definition at line 180 of file Rinex3ClockHeader.hpp.
|
static |
"# OF SOLN STA / TRF"
Definition at line 104 of file Rinex3ClockHeader.hpp.
int gnsstk::Rinex3ClockHeader::numSolnSatellites |
Number of satellites in the soln.
Definition at line 204 of file Rinex3ClockHeader.hpp.
|
static |
"# OF SOLN SATS"
Definition at line 108 of file Rinex3ClockHeader.hpp.
int gnsstk::Rinex3ClockHeader::numSolnStations |
Number of stations in the solution.
Definition at line 197 of file Rinex3ClockHeader.hpp.
std::map<std::string, stringPair > gnsstk::Rinex3ClockHeader::pcvsMap |
Definition at line 194 of file Rinex3ClockHeader.hpp.
|
static |
"PRN LIST"
Definition at line 110 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::program |
Program name.
Definition at line 172 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::runby |
Run by string.
Definition at line 173 of file Rinex3ClockHeader.hpp.
|
static |
"PGM / RUN BY / DATE"
Definition at line 78 of file Rinex3ClockHeader.hpp.
std::vector<RinexSatID> gnsstk::Rinex3ClockHeader::satList |
List of sats (PRN LIST)
Definition at line 205 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::satSysPrev |
recall the prev sat. sys for continuation lines.
Definition at line 178 of file Rinex3ClockHeader.hpp.
|
static |
"SOLN STA NAME / NUM"
Definition at line 106 of file Rinex3ClockHeader.hpp.
|
static |
"STATION CLK REF"
Definition at line 96 of file Rinex3ClockHeader.hpp.
std::map<std::string,std::string> gnsstk::Rinex3ClockHeader::stationID |
4-char name, station id
Definition at line 198 of file Rinex3ClockHeader.hpp.
|
static |
"STATION NAME / NUM"
Definition at line 94 of file Rinex3ClockHeader.hpp.
std::map<std::string,std::string> gnsstk::Rinex3ClockHeader::stationX |
name, station X coord in mm
Definition at line 200 of file Rinex3ClockHeader.hpp.
std::map<std::string,std::string> gnsstk::Rinex3ClockHeader::stationY |
name, station Y coord in mm
Definition at line 201 of file Rinex3ClockHeader.hpp.
std::map<std::string,std::string> gnsstk::Rinex3ClockHeader::stationZ |
name, station Z coord in mm
Definition at line 202 of file Rinex3ClockHeader.hpp.
|
static |
"SYS / DCBS APPLIED"
Definition at line 88 of file Rinex3ClockHeader.hpp.
RinexObsMap gnsstk::Rinex3ClockHeader::sysObsTypes |
list of obs types used for each GNSS
Definition at line 182 of file Rinex3ClockHeader.hpp.
|
static |
"SYS / PCVS APPLIED"
Definition at line 90 of file Rinex3ClockHeader.hpp.
|
static |
"SYS / # / OBS TYPES"
Definition at line 82 of file Rinex3ClockHeader.hpp.
std::string gnsstk::Rinex3ClockHeader::terrRefFrame |
Terr Ref Frame or SINEX solution.
Definition at line 189 of file Rinex3ClockHeader.hpp.
TimeSystem gnsstk::Rinex3ClockHeader::timeSystem |
Time system.
Definition at line 185 of file Rinex3ClockHeader.hpp.
|
static |
"TIME SYSTEM ID"
Definition at line 84 of file Rinex3ClockHeader.hpp.
unsigned long gnsstk::Rinex3ClockHeader::valid |
valid bits for this header
Definition at line 209 of file Rinex3ClockHeader.hpp.
double gnsstk::Rinex3ClockHeader::version |
Rinex3Clock Version or file format.
Definition at line 171 of file Rinex3ClockHeader.hpp.
|
static |
"RINEX VERSION / TYPE"
Definition at line 76 of file Rinex3ClockHeader.hpp.