LeoArg::Setting(3)

NAME
LeoArg::Setting - < structure handling a whole parameter setting.

SYNOPSIS

#include <LeoArg.hh>

  Public Methods
Setting ( int argc, char **argv, std::string long_option_switch, std::string short_option_switch )
Setting ()
void add ( const Option& option )
adds an new option to the option list.
void short_option_string ( bool short_os )
enable/disable the short option string.
bool short_option_string () const
returns true if short option string parsing is enabled.

  Public Attributes
int argc
char** argv
std::string long_option_switch
the long option switch, eg.: --"."
std::string short_option_switch
the short option switch, eg.: -"."
OptionList option_list
the list of options.
bool sos
true of short option string enabled.

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.: "--".

  OptionList LeoArg::Setting::option_list [mutable]

the list of options.

  std::string LeoArg::Setting::short_option_switch

the short option switch, eg.: "-".

  bool LeoArg::Setting::sos

true of short option string enabled.

AUTHOR

Generated automatically by Doxygen for LeoArg from the source code.