Public Member Functions | Public Attributes | List of all members
NewNavToRinex_T Class Reference

Detailed Description

This is a unit test for NewNavToRinex. It is implemented a bit differently than the typical unit tests in that it acts like an application being tested, taking input and producing output. The validation of the output is separate from this process. This is so that we can implement a round-trip test.

Definition at line 76 of file NewNavToRinex_T.cpp.

Inheritance diagram for NewNavToRinex_T:
Inheritance graph
[legend]

Public Member Functions

bool initialize (int argc, char *argv[], bool pretty=true) noexcept override
 
 NewNavToRinex_T (const string &applName)
 
void process () override
 
- Public Member Functions inherited from gnsstk::BasicFramework
 BasicFramework (const std::string &applName, const std::string &applDesc) noexcept
 
bool run () noexcept
 
virtual ~BasicFramework ()
 Destructor. More...
 

Public Attributes

CommandOptionRest restOpt
 
- Public Attributes inherited from gnsstk::BasicFramework
int exitCode
 

Additional Inherited Members

- Static Public Attributes inherited from gnsstk::BasicFramework
static const int EXCEPTION_ERROR = 1
 
static const int EXIST_ERROR = 2
 
static const int GENERAL_ERROR = 1
 
static const int OPTION_ERROR = 2
 
- Protected Member Functions inherited from gnsstk::BasicFramework
virtual void additionalSetup ()
 
virtual void completeProcessing ()
 
virtual void shutDown ()
 
virtual void spinUp ()
 
- Protected Attributes inherited from gnsstk::BasicFramework
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...
 

Constructor & Destructor Documentation

◆ NewNavToRinex_T()

NewNavToRinex_T::NewNavToRinex_T ( const string &  applName)

Definition at line 90 of file NewNavToRinex_T.cpp.

Member Function Documentation

◆ initialize()

bool NewNavToRinex_T::initialize ( int  argc,
char *  argv[],
bool  pretty = true 
)
overridevirtualnoexcept

Process command line arguments. When this method is overridden, make sure to call the parent class's initialize().

Parameters
[in]argcsame as main() argc.
[in]argvsame as main() argv.
[in]prettyWhether the 'pretty print' option will be used when printing descriptions. It is 'TRUE' by default.
Returns
true if normal processing should proceed (i.e. no command line errors or help requests).

Reimplemented from gnsstk::BasicFramework.

Definition at line 100 of file NewNavToRinex_T.cpp.

◆ process()

void NewNavToRinex_T::process ( )
overridevirtual

Processing to be performed. This method should be implemeneted by the end-user.

Reimplemented from gnsstk::BasicFramework.

Definition at line 121 of file NewNavToRinex_T.cpp.

Member Data Documentation

◆ restOpt

CommandOptionRest NewNavToRinex_T::restOpt

Definition at line 85 of file NewNavToRinex_T.cpp.


The documentation for this class was generated from the following file:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:43