#include <map>#include <set>#include <string>#include "datatypes.h"#include "string_utils.h"Go to the source code of this file.
Classes | |
| class | paramfile |
Functions | |
| paramfile | getParamsFromCmdline (int argc, const char **argv, bool verbose=true) |
Copyright (C) 2003-2014 Max-Planck-Society Authors: Martin Reinecke
Definition in file paramfile.h.
| paramfile getParamsFromCmdline | ( | int | argc, | |
| const char ** | argv, | |||
| bool | verbose = true | |||
| ) |
Tries to build a paramfile object from the contents of a command line. If argc==2 and argv[1] does not contain the character "=", the function tries to input parameters from the file argv[1]. Otherwise the function interprets each command line argument as a "key=value" statement.
Definition at line 155 of file paramfile.cc.