TF++, Miscellaneous classes and modules in C++:
|
Interface provided through commandline.h. More...
Namespaces | |
tfxx::cmdline | |
Namespace containing all components of module commandline. ,. | |
Classes | |
struct | tfxx::cmdline::Declare |
struct to define options ,This struct is used to define a list of options. An example is: More... | |
class | tfxx::cmdline::Commandline |
Evaluates commandline by calling long_getopt . ,You may instantiate a Commandline object by passing the C-variables iargc and argv (which are passed to main ) and a Declare-list to the constructor. The constructor itself will call the function long_getopt to evaluate the command line and stores the results. More... | |
Enumerations | |
enum | tfxx::cmdline::Eopt_arg_mode { tfxx::cmdline::arg_no =0, tfxx::cmdline::arg_yes =1, tfxx::cmdline::arg_opt =2 } |
option modes ,The following enums are used to define whether an option has or has not an argument. It is used within Declare. It tells Commandline whether it has to look for arguments to the option. More... | |
Interface provided through commandline.h.
The main classes providing this interface are
A tutorial for their use will be given there.
Copyright (c) 2002 by Thomas Forbriger (IMGF Frankfurt)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
REVISIONS and CHANGES