Definition at line 49 of file RinEditNav.cpp.
Classes | |
struct | UniqueNav |
Minimal data for uniquely identifying nav data for the output file. More... | |
Public Types | |
using | OutputMap = map< SatelliteSystem, StrmPtr > |
Map system to output stream. More... | |
using | StrmPtr = shared_ptr< Rinex3NavStream > |
Nav stream shared (managed) pointer. More... | |
Public Member Functions | |
bool | initialize (int argc, char *argv[], bool pretty=true) override throw () |
void | makeSysMappings () |
Create the mappings from system string to enum. More... | |
bool | parseOut (const CommandOptionWithAnyArg &opt, OutputMap &outMap, set< string > &outFNs) |
void | process () override |
RinEditNav (const string &applName) | |
void | writeHeaders () |
Write the headers for all open output streams. Merges input headers. More... | |
![]() | |
BasicFramework (const std::string &applName, const std::string &applDesc) noexcept | |
bool | run () noexcept |
virtual | ~BasicFramework () |
Destructor. More... | |
Public Attributes | |
map< StrmPtr, Rinex3NavData > | dataMap |
Map stream to data. More... | |
CommandOptionWithTimeArg | eTimeOpt |
Command option for end time for matching. More... | |
set< SatID > | exclSats |
Excluded satellites. More... | |
CommandOptionWithAnyArg | excludeOpt |
Command option for excluding specific satellites. More... | |
CommandOptionRest | filesOpt |
Command option for input files. More... | |
map< string, SatelliteSystem > | id1map |
Single character RINEX system IDs. More... | |
map< string, SatelliteSystem > | id3map |
Three character RINEX system IDs. More... | |
CommonTime | maxTime |
First time to NOT be included from input data. More... | |
CommonTime | minTime |
First time to be included from input data. More... | |
multimap< CommonTime, StrmPtr > | orderMap |
Map time stamp of record in dataMap to stream. More... | |
OutputMap | output2Map |
Map satellite system to RINEX 2 output stream. More... | |
CommandOptionWithAnyArg | output2Opt |
Command option for output file (RINEX 2) More... | |
OutputMap | output3Map |
Map satellite system to RINEX 3 output stream. More... | |
CommandOptionWithAnyArg | output3Opt |
Command option for output file (RINEX 3) More... | |
CommandOptionOneOf | outputOpts |
Make sure at least one of the output options has been used. More... | |
CommandOptionWithTimeArg | timeOpt |
Command option for start time for matching. More... | |
set< UniqueNav > | uniques |
Keep track of written data for removing duplicates. More... | |
![]() | |
int | exitCode |
Static Public Attributes | |
static constexpr double | DefRINEX2Ver = 2.11 |
RINEX version to use when writing out RINEX 2 format. More... | |
![]() | |
static const int | EXCEPTION_ERROR = 1 |
static const int | EXIST_ERROR = 2 |
static const int | GENERAL_ERROR = 1 |
static const int | OPTION_ERROR = 2 |
Additional Inherited Members | |
![]() | |
virtual void | additionalSetup () |
virtual void | completeProcessing () |
virtual void | shutDown () |
virtual void | spinUp () |
![]() | |
std::string | appDesc |
Description of program's function. More... | |
std::string | argv0 |
Name of the program. More... | |
int | debugLevel |
Debug level for this run of the program. More... | |
CommandOptionNoArg | debugOption |
Enable/increase debugging output. More... | |
CommandOptionHelpUsage | helpOption |
Request command-line option usage. More... | |
int | verboseLevel |
Verbose level for this run of the program. More... | |
CommandOptionNoArg | verboseOption |
Enable/increase informational output. More... | |
using RinEditNav::OutputMap = map<SatelliteSystem, StrmPtr> |
Map system to output stream.
Definition at line 55 of file RinEditNav.cpp.
using RinEditNav::StrmPtr = shared_ptr<Rinex3NavStream> |
Nav stream shared (managed) pointer.
Definition at line 53 of file RinEditNav.cpp.
RinEditNav::RinEditNav | ( | const string & | applName | ) |
Definition at line 154 of file RinEditNav.cpp.
|
overridevirtual |
Process command line arguments. When this method is overridden, make sure to call the parent class's initialize().
[in] | argc | same as main() argc. |
[in] | argv | same as main() argv. |
[in] | pretty | Whether the 'pretty print' option will be used when printing descriptions. It is 'TRUE' by default. |
Reimplemented from gnsstk::BasicFramework.
Definition at line 182 of file RinEditNav.cpp.
void RinEditNav::makeSysMappings | ( | ) |
Create the mappings from system string to enum.
Definition at line 519 of file RinEditNav.cpp.
bool RinEditNav::parseOut | ( | const CommandOptionWithAnyArg & | opt, |
OutputMap & | outMap, | ||
set< string > & | outFNs | ||
) |
Parse the RINEX 3 or RINEX 2 output options.
[in] | opt | The command line option to process output file names from. |
[out] | outMap | Where the opened streams will be stored. |
[in,out] | outFNs | Used to make sure we don't attempt to open a file more than once. |
Definition at line 362 of file RinEditNav.cpp.
|
overridevirtual |
Processing to be performed. This method should be implemeneted by the end-user.
Reimplemented from gnsstk::BasicFramework.
Definition at line 283 of file RinEditNav.cpp.
void RinEditNav::writeHeaders | ( | ) |
Write the headers for all open output streams. Merges input headers.
Definition at line 420 of file RinEditNav.cpp.
map<StrmPtr, Rinex3NavData> RinEditNav::dataMap |
Map stream to data.
Definition at line 131 of file RinEditNav.cpp.
|
staticconstexpr |
RINEX version to use when writing out RINEX 2 format.
Definition at line 58 of file RinEditNav.cpp.
CommandOptionWithTimeArg RinEditNav::eTimeOpt |
Command option for end time for matching.
Definition at line 119 of file RinEditNav.cpp.
set<SatID> RinEditNav::exclSats |
Excluded satellites.
Definition at line 139 of file RinEditNav.cpp.
CommandOptionWithAnyArg RinEditNav::excludeOpt |
Command option for excluding specific satellites.
Definition at line 121 of file RinEditNav.cpp.
CommandOptionRest RinEditNav::filesOpt |
Command option for input files.
Definition at line 129 of file RinEditNav.cpp.
map<string,SatelliteSystem> RinEditNav::id1map |
Single character RINEX system IDs.
Definition at line 145 of file RinEditNav.cpp.
map<string,SatelliteSystem> RinEditNav::id3map |
Three character RINEX system IDs.
Definition at line 147 of file RinEditNav.cpp.
CommonTime RinEditNav::maxTime |
First time to NOT be included from input data.
Definition at line 143 of file RinEditNav.cpp.
CommonTime RinEditNav::minTime |
First time to be included from input data.
Definition at line 141 of file RinEditNav.cpp.
multimap<CommonTime, StrmPtr> RinEditNav::orderMap |
Map time stamp of record in dataMap to stream.
Definition at line 133 of file RinEditNav.cpp.
OutputMap RinEditNav::output2Map |
Map satellite system to RINEX 2 output stream.
Definition at line 137 of file RinEditNav.cpp.
CommandOptionWithAnyArg RinEditNav::output2Opt |
Command option for output file (RINEX 2)
Definition at line 125 of file RinEditNav.cpp.
OutputMap RinEditNav::output3Map |
Map satellite system to RINEX 3 output stream.
Definition at line 135 of file RinEditNav.cpp.
CommandOptionWithAnyArg RinEditNav::output3Opt |
Command option for output file (RINEX 3)
Definition at line 123 of file RinEditNav.cpp.
CommandOptionOneOf RinEditNav::outputOpts |
Make sure at least one of the output options has been used.
Definition at line 127 of file RinEditNav.cpp.
CommandOptionWithTimeArg RinEditNav::timeOpt |
Command option for start time for matching.
Definition at line 117 of file RinEditNav.cpp.
set<UniqueNav> RinEditNav::uniques |
Keep track of written data for removing duplicates.
Definition at line 149 of file RinEditNav.cpp.