Provides access to the command lineAnything which doesn't start with - is interpreted as an application parameter. For example: More...

#include <CommandLine.h>

Classes

struct  Parameter
 Manages a single parameter, may be optionally separated into name=value. More...
 
class  Parameters
 List of command-line parameters, in order. More...
 

Public Member Functions

const ParametersgetParameters ()
 Fetch a reference to the list of command-line parameters. More...
 
void parse (int paramCount, char *params[])
 

Detailed Description

Provides access to the command line

Anything which doesn't start with - is interpreted as an application parameter. For example:

app param1=value

Parameters which start with - are handled by the Host Emulator. Anything after -- is passed directly to the application:

    app -- --debug --verbose

Member Function Documentation

◆ getParameters()

const Parameters& CommandLine::getParameters ( )
inline

Fetch a reference to the list of command-line parameters.

◆ parse()

void CommandLine::parse ( int  paramCount,
char *  params[] 
)

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