TF++, Miscellaneous classes and modules in C++:

parse extra commandline values (prototypes) More...

#include <tfxx/commandline.h>
#include <string>
#include <map>
#include <list>
Include dependency graph for xcmdline.h:

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...
 

Detailed Description

parse extra commandline values (prototypes)


Author
Thomas Forbriger
Date
28/06/2005

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

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 28/06/2005 V1.0 Thomas Forbriger

Definition in file xcmdline.h.