TF++, Miscellaneous classes and modules in C++:
|
parse extra commandline values (prototypes) More...
#include <tfxx/commandline.h>
#include <string>
#include <map>
#include <list>
Go to the source code of this file.
Classes | |
struct | tfxx::cmdline::Filename |
A struct to hold filename together with options ,If a filename is given together with its specific parameters in. More... | |
Namespaces | |
tfxx | |
Namespace containing all code of library libtfxx. | |
tfxx::cmdline | |
Namespace containing all components of module commandline. ,. | |
Macros | |
#define | TF_XCMDLINE_H_VERSION "TF_XCMDLINE_H V1.0 " |
Typedefs | |
typedef std::pair< std::string, std::string > | tfxx::cmdline::Tfileoption |
pair to hold file option ,A std::pair is an STL container. In this it contains a key together with the parameter read from the command line. Given an option More... | |
typedef std::multimap< std::string, std::string > | tfxx::cmdline::Toptionmap |
map to hold file options ,A std::multimap is an STL container of pairs. It provides STL iterators to scan the collection. In this context each element in a tfxx::cmdline::Toptionmap is a tfxx::cmdline::Tfileoption . More... | |
typedef std::list< Filename > | tfxx::cmdline::Tparsed |
list to hold file names with options ,A tutorial is available in the detailed description of the Interface provided through xcmdline.h More... | |
Functions | |
Tparsed | tfxx::cmdline::parse_cmdline (tfxx::cmdline::Commandline &c, const char **keys, const bool &debug=false) |
parse command line arguments for file names and options ,A tutorial is available in the detailed description of the Interface provided through xcmdline.h More... | |
parse extra commandline values (prototypes)
parse extra commandline values (prototypes)
Copyright (c) 2005 by Thomas Forbriger (BFO Schiltach)
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
Definition in file xcmdline.h.