2 * Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4 * This file is part of GNU gengetopt
6 * GNU gengetopt is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3, or (at your option)
11 * GNU gengetopt is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14 * Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with gengetopt; see the file COPYING. If not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #include "my_string.h"
28 * Represents a group of options
35 Group(const string &s, bool r) : desc (s), required (r) {}
38 typedef map<string,Group> groups_collection_t;
41 * Represents a mode of options
47 Mode(const string &s) : desc (s) {}
50 typedef map<string,Mode> modes_collection_t;