LeoArg::Option(3)

NAME
LeoArg::Option - < A structure representing one option.

SYNOPSIS

#include <LeoArg.hh>

  Public Methods
Option ( std::string long_option, std::string short_option )

  Public Attributes
std::string long_option
the long option.
std::string short_option
the short version of the option.
ArgList arglist
the list of parameter.
bool bool_value
the boolean value of a parameter.
int int_num
the integer value of a parameter.
double double_num
the double value of a parameter.
std::string str
the parameter as a string.
bool flag
true if the parameter is set.

DETAILED DESCRIPTION

< A structure representing one option.

Examples:

leoargmain.cpp.

CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

  LeoArg::Option::Option (std::string long_option, std::string short_option)

MEMBER DATA DOCUMENTATION

  ArgList LeoArg::Option::arglist

the list of parameter.

  bool LeoArg::Option::bool_value

the boolean value of a parameter.

  double LeoArg::Option::double_num

the double value of a parameter.

  bool LeoArg::Option::flag

true if the parameter is set.

  int LeoArg::Option::int_num

the integer value of a parameter.

  std::string LeoArg::Option::long_option

the long option.

  std::string LeoArg::Option::short_option

the short version of the option.

  std::string LeoArg::Option::str

the parameter as a string.

AUTHOR

Generated automatically by Doxygen for LeoArg from the source code.