#include <SP3Header.hpp>
Inheritance diagram for SP3Header:


sp3_test.cpp for an example.
Definition at line 69 of file SP3Header.hpp.
Public Types | |
| enum | TimeSystem { timeGPS = 1, timeUTC } |
| Supported time systems (version 'c'). More... | |
Public Member Functions | |
| SP3Header () | |
| constructor | |
| virtual | ~SP3Header () |
| destructor | |
| std::string | timeSystemString () const |
| return a string with time system name | |
| virtual bool | isHeader () const |
| SP3Header is a "header" so this function always returns true. | |
| virtual void | dump (std::ostream &s) const |
| Debug output operator. | |
Public Attributes | |
| char | version |
| Version of the SP3 File, 'a' or 'c'. | |
| char | pvFlag |
| P or V: File contains positions only (P) or positions and velocities (V). | |
| DayTime | time |
| Time of first Epoch in file. | |
| double | epochInterval |
| Duration of Epoch in seconds. | |
| int | numberOfEpochs |
| Number of Epochs in this file. | |
| std::string | dataUsed |
| Types of data input into the positions. | |
| std::string | coordSystem |
| Coordinate System of the data. | |
| std::string | orbitType |
| Type of Orbit Estimate. | |
| std::string | agency |
| Agency generating the Orbit. | |
| SP3SatID | system |
| File type (system of satellites in file). | |
| TimeSystem | timeSystem |
| Time system used. | |
| double | basePV |
| Base used in Pos or Vel (mm or 10**-4mm/sec). | |
| double | baseClk |
| Base used in Clk or rate (psec or 10**-4psec/sec). | |
| std::map< SatID, short > | satList |
| Map<SatID,accuracy flag> (all SVs in file). | |
| std::vector< std::string > | comments |
| vector of 4 comment lines | |
Protected Member Functions | |
| virtual void | reallyPutRecord (FFStream &s) const throw (std::exception, FFStreamError, StringUtils::StringException) |
| Writes the record formatted to the FFStream s. | |
| virtual void | reallyGetRecord (FFStream &s) throw (std::exception, FFStreamError, StringUtils::StringException) |
| This function retrieves the SP3 header from the given FFStream. | |
Friends | |
| class | SP3Data |
|
|
Supported time systems (version 'c').
Definition at line 74 of file SP3Header.hpp. |
|
|
constructor
Definition at line 81 of file SP3Header.hpp. |
|
|
destructor
Definition at line 87 of file SP3Header.hpp. |
|
|
Debug output operator.
Reimplemented from FFData. Definition at line 165 of file SP3Header.cpp. References SP3Header::agency, SP3Header::baseClk, SP3Header::basePV, SP3Header::comments, SP3Header::coordSystem, SP3Header::dataUsed, SP3Header::epochInterval, SP3Header::numberOfEpochs, SP3Header::orbitType, SP3Header::pvFlag, SP3Header::satList, SP3Header::system, SP3SatID::systemChar(), SP3SatID::systemString(), SP3Header::time, SP3Header::timeSystemString(), and SP3Header::version. |
|
|
SP3Header is a "header" so this function always returns true.
Reimplemented from FFData. Definition at line 101 of file SP3Header.hpp. |
|
|
This function retrieves the SP3 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.
Implements FFData. Definition at line 205 of file SP3Header.cpp. References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), FFTextStream::formattedGetLine(), GPSTK_THROW, and index(). |
|
|
Writes the record formatted to the FFStream s.
Implements FFData. Definition at line 53 of file SP3Header.cpp. References gpstk::StringUtils::asString(), GPSTK_THROW, SatID::id, gpstk::StringUtils::leftJustify(), and gpstk::StringUtils::rightJustify(). |
|
|
return a string with time system name
Definition at line 90 of file SP3Header.hpp. Referenced by SP3Header::dump(). |
|
|
Definition at line 125 of file SP3Header.hpp. |
|
|
Agency generating the Orbit.
Definition at line 115 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Base used in Clk or rate (psec or 10**-4psec/sec).
Definition at line 120 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Base used in Pos or Vel (mm or 10**-4mm/sec).
Definition at line 119 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
vector of 4 comment lines
Definition at line 123 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Coordinate System of the data.
Definition at line 113 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Types of data input into the positions.
Definition at line 112 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Duration of Epoch in seconds.
Definition at line 110 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Number of Epochs in this file.
Definition at line 111 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Type of Orbit Estimate.
Definition at line 114 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
P or V: File contains positions only (P) or positions and velocities (V).
Definition at line 107 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Map<SatID,accuracy flag> (all SVs in file).
Definition at line 122 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
File type (system of satellites in file).
Definition at line 117 of file SP3Header.hpp. Referenced by SP3Header::dump(). |
|
|
Time of first Epoch in file.
Definition at line 109 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
|
|
Time system used.
Definition at line 118 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Version of the SP3 File, 'a' or 'c'.
Definition at line 106 of file SP3Header.hpp. Referenced by SP3Header::dump(), and SatOrbitStore::writeSP3File(). |
1.3.9.1