NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Functions | Variables
cli_options.h File Reference
#include <TROOT.h>
#include <argp.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 18 of file cli_options.h.

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.