Particle Identification and Tracking
|
A class to wrap the parsing of the command line to extract the input file, output file and parameter file. More...
#include <cl_parse.h>
Public Member Functions | |
CL_parse (int argc, char *const argv[]) | |
Constructor. More... | |
void | parse () throw (std::invalid_argument) |
Parses the command line arguments. More... | |
void | get_fin (std::string &fin_str) const |
Returns the fin string. More... | |
void | get_fout (std::string &fout_str) const |
Returns the fout string. More... | |
void | get_fpram (std::string &fpram_str) const |
Returns the fpram string. More... | |
void | get_fdb (std::string &fdb_str) const |
Returns the fdb string. More... | |
Private Attributes | |
std::string | fin_ |
std::string | fout_ |
std::string | fpram_ |
std::string | fdb_ |
bool | found_db_ |
char *const * | argv_ |
const int | argc_ |
A class to wrap the parsing of the command line to extract the input file, output file and parameter file.
CL_parse::CL_parse | ( | int | argc, |
char *const | argv[] | ||
) |
Constructor.
Does nothing but sets fields
|
inline |
|
inline |
|
inline |
|
inline |
void CL_parse::parse | ( | ) | ||
throw | ( | std::invalid_argument | ||
) |
|
private |
Referenced by parse().
|
private |
Referenced by parse().
|
private |
Referenced by get_fout(), and parse().
|
private |
Referenced by get_fpram(), and parse().