#include <iostream>
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
struct | IO |
| Structure to store the different command line arguments for JRunAnalyzer. More...
|
|
int read_user_options |
( |
IO & |
options, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
inline |
Parses the command line options and fills an IO structure with them.
- Parameters
-
options | an option structure |
argc | the number of command line arguments |
argv | the command line arguments |
- Returns
- 1 if works 2 if it doesn't work
Definition at line 54 of file pulse_classification_IO.hh.
78 if (zap.
read(argc, argv) != 0)
84 catch(
const exception &error) {
86 ERROR(error.what() << endl);
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int read(const int argc, const char *const argv[])
Parse the program's command line options.