Google

Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

LeoArg::Option Struct Reference

< A structure representing one option. More...

#include <LeoArg.hh>

List of all members.

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.


The documentation for this struct was generated from the following file:
LeoArg (C) under the terms of the GPL by King Leo (Martin Oberzalek)
Documentation created by Doxygen 1.2.2