37 #ifndef TF_XCMDLINE_H_VERSION 39 #define TF_XCMDLINE_H_VERSION \ 42 #include <tfxx/commandline.h> 200 std::string
value(
const std::string& key)
const;
202 Toptionmap::size_type
count(
const std::string& key)
const 205 bool haskey(
const std::string& key)
const 206 {
return (this->
count(key) > 0); }
230 const bool& debug=
false);
236 #endif // TF_XCMDLINE_H_VERSION (includeguard) Toptionmap options
multimap containing all arguments together with their keys
Tparsed parse_cmdline(tfxx::cmdline::Commandline &c, const char **keys, const bool &debug)
parse command line arguments for file names and options ,A tutorial is available in the detailed desc...
std::pair< std::string, std::string > Tfileoption
pair to hold file option ,A std::pair is an STL container. In this it contains a key together with th...
std::list< Filename > Tparsed
list to hold file names with options ,A tutorial is available in the detailed description of the Inte...
bool haskey(const std::string &key) const
tell if the key is present
A struct to hold filename together with options ,If a filename is given together with its specific pa...
Evaluates commandline by calling long_getopt. ,You may instantiate a Commandline object by passing th...
Toptionmap::size_type count(const std::string &key) const
number of entries for key
Toptionmap extract(const std::string &key) const
return all entries for a given key
std::multimap< std::string, std::string > Toptionmap
map to hold file options ,A std::multimap is an STL container of pairs. It provides STL iterators to ...
Namespace containing all code of library libtfxx.
std::string value(const std::string &key) const
return values for option with given key