HIPO4 C++ Library 4.4.1
Columnar I/O library for CLAS12 physics data
Loading...
Searching...
No Matches
parser.cpp File Reference
#include "parser.h"
Include dependency graph for parser.cpp:

Namespaces

namespace  hipo
 HIPO namespace is used for the classes that read/write files and records.
 

Macros

#define STD_FUNCTION(arg)   OneArgumentFunctions [#arg] = arg
 

Typedefs

typedef double(* hipo::OneArgFunction) (double arg)
 
typedef const double(* hipo::TwoArgFunction) (const double arg1, const double arg2)
 
typedef const double(* hipo::ThreeArgFunction) (const double arg1, const double arg2, const double arg3)
 

Functions

const int hipo::getrandom (const int x)
 
const int hipo::roll (const int howmany, const int die)
 
const bool hipo::percent (const int prob)
 
static int hipo::initRandom ()
 
double hipo::DoInt (double arg)
 
double hipo::DoRandom (double arg)
 
double hipo::DoPercent (double arg)
 
const double hipo::DoMin (const double arg1, const double arg2)
 
const double hipo::DoMax (const double arg1, const double arg2)
 
const double hipo::DoFmod (const double arg1, const double arg2)
 
const double hipo::DoPow (const double arg1, const double arg2)
 
const double hipo::DoRoll (const double arg1, const double arg2)
 
const double hipo::DoIf (const double arg1, const double arg2, const double arg3)
 
static int hipo::LoadOneArgumentFunctions ()
 
static int hipo::LoadTwoArgumentFunctions ()
 
static int hipo::LoadThreeArgumentFunctions ()
 

Variables

static int hipo::someNumber = initRandom ()
 
static std::map< std::string, OneArgFunctionhipo::OneArgumentFunctions
 
static std::map< std::string, TwoArgFunctionhipo::TwoArgumentFunctions
 
static std::map< std::string, ThreeArgFunctionhipo::ThreeArgumentFunctions
 
static int hipo::doLoadOneArgumentFunctions = LoadOneArgumentFunctions ()
 
static int hipo::doLoadTwoArgumentFunctions = LoadTwoArgumentFunctions ()
 
static int hipo::doLoadThreeArgumentFunctions = LoadThreeArgumentFunctions ()
 

Macro Definition Documentation

◆ STD_FUNCTION

#define STD_FUNCTION (   arg)    OneArgumentFunctions [#arg] = arg