25 #ifndef ICL_CORE_CONFIG_GETOPT_PARSER_H_INCLUDED 26 #define ICL_CORE_CONFIG_GETOPT_PARSER_H_INCLUDED 116 bool initialize(
int& argc,
char *argv[],
bool remove_read_arguments);
205 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ icl_core::String m_extra_cmd_param_delimiter
all options have to be registered
ParameterMap m_parameters
ParameterMap m_short_prefix_parameters
icl_core::Map< icl_core::String, GetoptParameter > ParameterMap
bool initialize(int &argc, char *argv[], bool remove_read_arguments)
#define ICL_CORE_VC_DEPRECATE_STYLE
#define ICL_CORE_VC_DEPRECATE
icl_core::Map< icl_core::String, icl_core::String > m_param_opt
Handles commandline parameters.
ICL_CORE_VC_DEPRECATE_STYLE icl_core::String ExtraCmdParam(size_t index) ICL_CORE_GCC_DEPRECATE_STYLE
icl_core::Vector< icl_core::String > m_extra_cmd_param
ICL_CORE_VC_DEPRECATE CommandLineCleaning tCommandLineCleaning ICL_CORE_GCC_DEPRECATE
Contains GetoptParameter.
void setProgramDescription(icl_core::String const &description)
icl_core::String m_program_version
icl_core::Vector< icl_core::String > m_param_non_opt
#define ICL_CORE_CONFIG_IMPORT_EXPORT
Contains macros to deprecate classes, types, functions and variables.
ICL_CORE_VC_DEPRECATE_STYLE void AddParameter(const ConfigParameter ¶meter) ICL_CORE_GCC_DEPRECATE_STYLE
icl_core::List< KeyValue > KeyValueList
bool m_extra_cmd_param_activated
bool isInitialized() const
ICL_CORE_VC_DEPRECATE_STYLE size_t ExtraCmdParamCount() ICL_CORE_GCC_DEPRECATE_STYLE
ParameterMap m_short_parameters
ICL_CORE_VC_DEPRECATE_STYLE bool Initialize(int &argc, char *argv[], bool remove_read_arguments) ICL_CORE_GCC_DEPRECATE_STYLE
size_t extraCmdParamCount()
ParameterRegistrationCheck
GetoptPositionalParameterList m_required_positional_parameters
ParameterMap m_prefix_parameters
void activateExtraCmdParams(const icl_core::String &delimiter="--")
bool paramOpt(const icl_core::String &name, typename icl_core::ConvertToRef< T >::ToRef value)
Contains import/export definitions for the Win32 plattform.
icl_core::String m_program_description
bool ParamOpt(const icl_core::String &name, typename icl_core::ConvertToRef< T >::ToRef value) ICL_CORE_GCC_DEPRECATE_STYLE
icl_core::String m_program_name
void addParameter(const ConfigParameter ¶meter)
command line options are left untouched
ICL_CORE_VC_DEPRECATE ParameterRegistrationCheck tParameterRegistrationCheck ICL_CORE_GCC_DEPRECATE
icl_core::String extraCmdParam(size_t index)
Contains GetoptPositionalParameter.
bool ParamNonOpt(size_t index, typename icl_core::ConvertToRef< T >::ToRef value) ICL_CORE_GCC_DEPRECATE_STYLE
Contains Interface base classes and base types.
ICL_CORE_VC_DEPRECATE_STYLE size_t ParamNonOptCount() ICL_CORE_GCC_DEPRECATE_STYLE
size_t paramNonOptCount()
icl_core::Map< icl_core::String, KeyValueList > m_prefix_param_opt
KeyValue(const icl_core::String &key, const icl_core::String &value)
bool paramOptPresent(const icl_core::String &name)
void setProgramVersion(icl_core::String const &version)
ICL_CORE_VC_DEPRECATE_STYLE void ActivateExtraCmdParams(const icl_core::String &delimiter="--") ICL_CORE_GCC_DEPRECATE_STYLE
bool paramNonOpt(size_t index, typename icl_core::ConvertToRef< T >::ToRef value)
ICL_CORE_VC_DEPRECATE_STYLE bool ParamOptPresent(const icl_core::String &name) ICL_CORE_GCC_DEPRECATE_STYLE
ICL_CORE_VC_DEPRECATE_STYLE void PrintHelp() ICL_CORE_GCC_DEPRECATE_STYLE
#define ICL_CORE_GCC_DEPRECATE_STYLE
GetoptPositionalParameterList m_optional_positional_parameters