|
Main Page Namespace List Compound List File List Namespace Members Compound Members File Members Examples
LeoArg::Setting Struct Reference< structure handling a whole parameter setting.
More...
#include <LeoArg.hh>
List of all members.
Detailed Description
< structure handling a whole parameter setting.
Constructor & Destructor Documentation
LeoArg::Setting::Setting (
|
int argc,
|
|
char ** argv,
|
|
std::string long_option_switch,
|
|
std::string short_option_switch ) [inline]
|
|
LeoArg::Setting::Setting (
|
) [inline]
|
|
Member Function Documentation
void LeoArg::Setting::add (
|
const Option & option ) [inline]
|
|
|
adds an new option to the option list.
|
bool LeoArg::Setting::short_option_string (
|
) const [inline]
|
|
|
returns true if short option string parsing is enabled.
|
void LeoArg::Setting::short_option_string (
|
bool short_os ) [inline]
|
|
|
enable/disable the short option string.
|
Member Data Documentation
int LeoArg::Setting::argc
|
|
char ** LeoArg::Setting::argv
|
|
std::string LeoArg::Setting::long_option_switch
|
|
|
the long option switch, eg.: "--".
|
std::string LeoArg::Setting::short_option_switch
|
|
|
the short option switch, eg.: "-".
|
bool LeoArg::Setting::sos
|
|
|
true of short option string enabled.
|
The documentation for this struct was generated from the following file:
|