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


Definition at line 67 of file SP3Header.hpp.
Public Types | |
| enum | Version { undefined, SP3a, SP3b, SP3c } |
| Supported SP3 versions (file formats) : 'a' 'b' or 'c' See the SP3 format definition documents. More... | |
Public Member Functions | |
| SP3Header () | |
| constructor | |
| virtual | ~SP3Header () |
| destructor | |
| Version | getVersion (void) const throw () |
| access the version or file format | |
| char | versionChar (void) const throw () |
| access the version or file format as a character | |
| std::string | versionString (void) const throw () |
| access the version or file format as a string | |
| Version | setVersion (const Version ver) throw () |
| set the version or file format. | |
| std::string | timeSystemString () const throw () |
| 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=std::cout) const throw () |
| Dump contents to an ostream. | |
Public Attributes | |
data members | |
| Version | version |
| SP3 Version or file format. | |
| bool | containsVelocity |
| If true, file contains velocities. | |
| CommonTime | 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 |
| system of satellites in file, e.g. G for GPS | |
| 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< SP3SatID, short > | satList |
| Map<SP3SatID,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 SP3 versions (file formats) : 'a' 'b' or 'c' See the SP3 format definition documents.
Definition at line 73 of file SP3Header.hpp. |
|
|
constructor
Definition at line 82 of file SP3Header.hpp. |
|
|
destructor
Definition at line 88 of file SP3Header.hpp. |
|
|
Dump contents to an ostream.
Reimplemented from FFData. Definition at line 383 of file SP3Header.cpp. References CivilTime::printf(), and CivilTime::second. |
|
|
access the version or file format
Definition at line 92 of file SP3Header.hpp. Referenced by SP3Data::reallyGetRecord(), and SP3Data::reallyPutRecord(). |
|
|
SP3Header is a "header" so this function always returns true.
Reimplemented from FFData. Definition at line 147 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 58 of file SP3Header.cpp. References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), gpstk::StringUtils::asString(), FFTextStream::formattedGetLine(), GPSTK_THROW, SP3Stream::header, index(), and gpstk::StringUtils::upperCase(). |
|
|
Writes the record formatted to the FFStream s.
Implements FFData. Definition at line 256 of file SP3Header.cpp. References gpstk::StringUtils::asString(), GPSTK_RETHROW, GPSTK_THROW, SP3Stream::header, SatID::id, gpstk::StringUtils::leftJustify(), FFTextStream::lineNumber, GPSWeekSecond::printf(), CivilTime::printf(), and gpstk::StringUtils::rightJustify(). |
|
|
set the version or file format. Note that reading an SP3 file automatically sets the version in the SP3Header object that is read.
Definition at line 134 of file SP3Header.hpp. |
|
|
return a string with time system name
Definition at line 142 of file SP3Header.hpp. Referenced by SP3Data::reallyGetRecord(). |
|
|
access the version or file format as a character
Definition at line 96 of file SP3Header.hpp. |
|
|
access the version or file format as a string
Definition at line 114 of file SP3Header.hpp. |
|
|
Definition at line 181 of file SP3Header.hpp. |
|
|
Agency generating the Orbit.
Definition at line 167 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Base used in Clk or rate (psec or 10**-4psec/sec).
Definition at line 173 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Base used in Pos or Vel (mm or 10**-4mm/sec).
Definition at line 172 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
vector of 4 comment lines
Definition at line 177 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
If true, file contains velocities.
Definition at line 160 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Coordinate System of the data.
Definition at line 165 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Types of data input into the positions.
Definition at line 164 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Duration of Epoch in seconds.
Definition at line 162 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Number of epochs in this file.
Definition at line 163 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Type of Orbit Estimate.
Definition at line 166 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Map<SP3SatID,accuracy flag> (all SVs in file).
Definition at line 175 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
system of satellites in file, e.g. G for GPS
Definition at line 170 of file SP3Header.hpp. |
|
|
Time of first Epoch in file.
Definition at line 161 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
Time system used.
Definition at line 171 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
|
|
SP3 Version or file format.
Definition at line 159 of file SP3Header.hpp. Referenced by SatOrbitStore::writeSP3File(). |
1.3.9.1