Public Member Functions | Private Attributes
icl_core::config::GetoptPositionalParameter Class Reference

#include <GetoptPositionalParameter.h>

Inheritance diagram for icl_core::config::GetoptPositionalParameter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GetoptPositionalParameter (const icl_core::String &name, const icl_core::String &help, const bool is_optional=false)
icl_core::String help () const
 Get the help text.
bool isOptional () const
 Get if the parameter is optional.
icl_core::String name () const
 Get the option name.

Private Attributes

icl_core::String m_help
bool m_is_optional
icl_core::String m_name

Detailed Description

Definition at line 35 of file GetoptPositionalParameter.h.


Constructor & Destructor Documentation

icl_core::config::GetoptPositionalParameter::GetoptPositionalParameter ( const icl_core::String name,
const icl_core::String help,
const bool  is_optional = false 
)

Create a new positional commandline parameter.

Parameters:
nameThe name of the parameter.
helpA help text that will be used in the generic help.
is_optionalIff the parameter is an optional parameter.

Definition at line 28 of file GetoptPositionalParameter.cpp.


Member Function Documentation

Get the help text.

Definition at line 51 of file GetoptPositionalParameter.h.

Get if the parameter is optional.

Definition at line 53 of file GetoptPositionalParameter.h.

Get the option name.

Definition at line 49 of file GetoptPositionalParameter.h.


Member Data Documentation

Definition at line 57 of file GetoptPositionalParameter.h.

Definition at line 58 of file GetoptPositionalParameter.h.

Definition at line 56 of file GetoptPositionalParameter.h.


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


fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:05