29 : m_short_option(short_option),
31 m_is_prefix(is_prefix)
33 if (!option.empty() && *option.rbegin() ==
':')
35 m_option = option.substr(0, option.length() - 1);
46 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 65 bool GetoptParameter::HasValue()
const 80 bool GetoptParameter::IsPrefixOption()
const bool hasValue() const
Check if the option also expects a value.
Contains GetoptParameter.
bool isPrefixOption() const
Check if this is a prefix option.
GetoptParameter(const icl_core::String &option, const icl_core::String &short_option, const icl_core::String &help, bool is_prefix=false)
icl_core::String option() const
Get the long option name.
icl_core::String shortOption() const
Get the short option name.
icl_core::String help() const
Get the help text.
icl_core::String m_option