EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Keyword Class Reference

#include <EicRoot/blob/master/eic/ayk/Keyword.h>

+ Collaboration diagram for Keyword:

Public Member Functions

 Keyword (char *_name, int _arg_num_min, int _arg_num_max, keywordfun _fun, MultipleInvocationMode _invocation_mode)
 
int parseCommandLine (int argc, char **argv)
 

Private Attributes

char * name
 
int arg_num_min
 
int arg_num_max
 
keywordfun fun
 
int activated
 
MultipleInvocationMode __multiple_invocation_mode
 
Keywordnext
 

Friends

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

Detailed Description

Definition at line 25 of file Keyword.h.

View newest version in sPHENIX GitHub at line 25 of file Keyword.h

Constructor & Destructor Documentation

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

Definition at line 30 of file Keyword.cxx.

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

References __multiple_invocation_mode, arg_num_max, arg_num_min, fun, and name.

Member Function Documentation

int Keyword::parseCommandLine ( int  argc,
char **  argv 
)

Definition at line 101 of file Keyword.cxx.

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

References _MULTIPLE_INVOCATION_DISABLED_, t_cmd_line_key::arg_num, FALLOUT, fun, isKeyword(), t_cmd_line_key::keyword, name, next, and t_cmd_line_key::start.

+ Here is the call graph for this function:

Friends And Related Function Documentation

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

Definition at line 64 of file Keyword.cxx.

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

Member Data Documentation

MultipleInvocationMode Keyword::__multiple_invocation_mode
private

Definition at line 51 of file Keyword.h.

View newest version in sPHENIX GitHub at line 51 of file Keyword.h

Referenced by Keyword().

int Keyword::activated
private

Definition at line 49 of file Keyword.h.

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

int Keyword::arg_num_max
private

Definition at line 42 of file Keyword.h.

View newest version in sPHENIX GitHub at line 42 of file Keyword.h

Referenced by Keyword().

int Keyword::arg_num_min
private

Definition at line 42 of file Keyword.h.

View newest version in sPHENIX GitHub at line 42 of file Keyword.h

Referenced by Keyword().

keywordfun Keyword::fun
private

Definition at line 45 of file Keyword.h.

View newest version in sPHENIX GitHub at line 45 of file Keyword.h

Referenced by Keyword(), and parseCommandLine().

char* Keyword::name
private

Definition at line 40 of file Keyword.h.

View newest version in sPHENIX GitHub at line 40 of file Keyword.h

Referenced by eicpy.verify.PythiaHistograms::__init__(), eicpy.verify.DjangohHistograms::__init__(), Keyword(), parseCommandLine(), and eicpy.build.File::process().

Keyword* Keyword::next
private

Definition at line 53 of file Keyword.h.

View newest version in sPHENIX GitHub at line 53 of file Keyword.h

Referenced by declare_keyword(), and parseCommandLine().


The documentation for this class was generated from the following files: