Lines Matching refs:Option
52 struct Option struct
69 …Option (const char* shortName_, const char* longName_, const char* description_, const char* defau… in Option() argument
81 …Option (const char* shortName_, const char* longName_, const char* description_, ParseFunc parse_,… in Option() argument
93 …Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<… in Option() function
106 …Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<… in Option() function
118 template<class Option>
121 typedef typename Option::ValueType ValueType;
137 template<class Option> inline bool isBooleanOpt (void) { return isBoolean<typename OptTraits<Option… in isBooleanOpt()
252 void addOption (const Option<OptType>& option);
308 inline Parser& operator<< (Parser& parser, const Option<OptType>& option) in operator <<()
326 ((typename Option<OptType>::ParseFunc)(info->parse))(src, value); in dispatchParse()
373 void Parser::addOption (const Option<OptType>& option) in addOption()
405 template<typename Option>
406 bool hasOption (void) const { return m_options.contains<Option>(); } in hasOption()
408 template<typename Option>
409 const typename TypedFieldTraits<Option>::ValueType&
410 getOption (void) const { return m_options.get<Option>(); } in getOption()