EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Keyword.cxx File Reference
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include <Keyword.h>
+ Include dependency graph for Keyword.cxx:

Go to the source code of this file.

Classes

struct  t_cmd_line_key
 

Macros

#define FALLOUT(key, why, ret)   {printf("\n [PARSER]: '%s' --> %s!\n\n", (key), (why)); return (ret); }
 

Functions

static int isKeyword (char *argument)
 
Keyworddeclare_keyword (Keyword **root, char *_name, int _arg_num_min, int _arg_num_max, keywordfun _fun, MultipleInvocationMode _invocation_mode)
 

Macro Definition Documentation

#define FALLOUT (   key,
  why,
  ret 
)    {printf("\n [PARSER]: '%s' --> %s!\n\n", (key), (why)); return (ret); }

Definition at line 94 of file Keyword.cxx.

View newest version in sPHENIX GitHub at line 94 of file Keyword.cxx

Referenced by Keyword::parseCommandLine().

Function Documentation

Keyword* declare_keyword ( Keyword **  root,
char *  _name,
int  _arg_num_min,
int  _arg_num_max,
keywordfun  _fun,
MultipleInvocationMode  _invocation_mode 
)

Definition at line 64 of file Keyword.cxx.

View newest version in sPHENIX GitHub at line 64 of file Keyword.cxx

References isKeyword(), Keyword::next, and printf().

+ Here is the call graph for this function:

static int isKeyword ( char *  argument)
static

Definition at line 49 of file Keyword.cxx.

View newest version in sPHENIX GitHub at line 49 of file Keyword.cxx

References _KEYWORD_PREFIX_.

Referenced by declare_keyword(), and Keyword::parseCommandLine().

+ Here is the caller graph for this function: