Lines Matching defs:Option
52 struct Option struct
54 typedef typename OptName::ValueType ValueType;
55 typedef void (*ParseFunc) (const char* src, ValueType* dst);
58 const char* shortName;
59 const char* longName;
60 const char* description;
61 …nst char* defaultValue; //!< Default value (parsed from string), or null if should not be set
64 ParseFunc parse; //!< Custom parsing function or null.
65 const NamedValue<ValueType>* namedValues; //!< Named values or null.
66 const NamedValue<ValueType>* namedValuesEnd; //!< Named value list end.
69 …Option (const char* shortName_, const char* longName_, const char* description_, const char* defau… in Option() function
81 …Option (const char* shortName_, const char* longName_, const char* description_, ParseFunc parse_,… in Option() function
93 …Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<… in Option() argument
106 …Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<… in Option() argument