Gromacs  2016.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::CommandLineParser::Impl Class Reference
+ Collaboration diagram for gmx::CommandLineParser::Impl:

Description

Private implementation class for CommandLineParser.

Public Member Functions

 Impl (Options *options)
 Sets the options object to parse to.
 
const char * toOptionName (const char *arg) const
 Determines whether a cmdline parameter starts an option and the name of that option. More...
 

Public Attributes

OptionsAssigner assigner_
 Helper object for assigning the options.
 
bool bSkipUnknown_
 Whether to allow and skip unknown options.
 

Member Function Documentation

const char * gmx::CommandLineParser::Impl::toOptionName ( const char *  arg) const

Determines whether a cmdline parameter starts an option and the name of that option.

Parameters
[in]argIndividual argument from argv.
Returns
The beginning of the option name in arg, or NULL if arg does not look like an option.

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