2 // C++ Implementation: ggos
7 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2005-2007
9 // Copyright: See COPYING file that comes with this distribution
17 gengetopt_option::gengetopt_option() :
18 short_opt(0), long_opt(0), desc(0), type(ARG_NO), flagstat(-1),
19 required(1), required_set(false), var_arg(0), default_string(0),
20 group_value(0), group_desc(0),
21 mode_value(0), mode_desc(0),
23 arg_is_optional(false), hidden(false), type_str(0),
24 acceptedvalues(0), section(0), section_desc(0), dependon(0),
25 text_before(0), text_after(0), details(0), filename(0), linenum(0) {
28 ostream & operator <<(std::ostream &s, gengetopt_option &opt) {
29 s << "long: " << opt.long_opt << ", short: " << opt.short_opt << "\n"
30 << "desc: " << opt.desc;