Rose
Public Member Functions | List of all members
rose::InputParser Class Reference

Parse command line arguments. More...

#include <Application.h>

Public Member Functions

 InputParser (int &argc, char **argv)
 Constructor. More...
 
const std::string & getCmdOption (const std::string_view &option) const
 
bool cmdOptionExists (const std::string_view &option) const
 

Detailed Description

Parse command line arguments.

Constructor & Destructor Documentation

◆ InputParser()

rose::InputParser::InputParser ( int &  argc,
char **  argv 
)
inline

Constructor.

Parameters
argcThe number of command line arguments passed to the application
argvThe array of command line arguments.

Member Function Documentation

◆ cmdOptionExists()

bool rose::InputParser::cmdOptionExists ( const std::string_view &  option) const
inline
Author
iain

◆ getCmdOption()

const std::string& rose::InputParser::getCmdOption ( const std::string_view &  option) const
inline
Author
iain

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