NAIA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Functions | Variables
cli_options.h File Reference
#include <argp.h>
#include <TROOT.h>

Go to the source code of this file.

Classes

struct  arguments
 

Functions

static int parse_opt (int key, char *arg, struct argp_state *state)
 

Variables

struct argp_option options []
 
struct argp argp = {options, parse_opt, 0, 0}
 

Function Documentation

static int parse_opt ( int  key,
char *  arg,
struct argp_state *  state 
)
static

Variable Documentation

struct argp argp = {options, parse_opt, 0, 0}

Definition at line 20 of file cli_options.h.

Referenced by main().

struct argp_option options[]
Initial value:
= {
{"overwrite" , 'w', 0 , 0, "Overwrite results"},
{"verbosity" , 'v', "LEVEL", 0, "Verbosity level [Info, Debug, Trace]"},
{"input-file" , 'i', "FILE" , 0, "Input file"},
{"output-file" , 'o', "FILE" , 0, "Output file"},
{"event" , 'E', "INT" , 0, "Process Single Event"},
{"from-event" , 'e', "INT" , 0, "Process from Event"},
{"nevents" , 'n', "INT" , 0, "Process # events"},
{0}
}

Definition at line 10 of file cli_options.h.