Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Item Struct Reference

Public Types

enum  { UNKNOWN , VARIABLE , EXPRESSION , FUNCTION }
 

Public Member Functions

 Item ()
 
 Item (double x)
 
 Item (string x)
 
 Item (voidfuncptr x)
 

Public Attributes

enum Item:: { ... }  what
 
double variable
 
string expression
 
voidfuncptr function
 

Detailed Description

Definition at line 24 of file Evaluator.cc.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNKNOWN 
VARIABLE 
EXPRESSION 
FUNCTION 

Definition at line 25 of file Evaluator.cc.

@ VARIABLE
Definition: Evaluator.cc:25
@ EXPRESSION
Definition: Evaluator.cc:25
@ UNKNOWN
Definition: Evaluator.cc:25
@ FUNCTION
Definition: Evaluator.cc:25
enum Item::@12 what

Constructor & Destructor Documentation

◆ Item() [1/4]

Item::Item ( )
inline

Definition at line 33 of file Evaluator.cc.

voidfuncptr function
Definition: Evaluator.cc:31
string expression
Definition: Evaluator.cc:27
double variable
Definition: Evaluator.cc:26

◆ Item() [2/4]

Item::Item ( double  x)
inline

Definition at line 34 of file Evaluator.cc.

◆ Item() [3/4]

Item::Item ( string  x)
inline

Definition at line 35 of file Evaluator.cc.

◆ Item() [4/4]

Item::Item ( voidfuncptr  x)
inline

Definition at line 36 of file Evaluator.cc.

Member Data Documentation

◆ expression

string Item::expression

Definition at line 27 of file Evaluator.cc.

◆ function

voidfuncptr Item::function

Definition at line 31 of file Evaluator.cc.

◆ variable

double Item::variable

Definition at line 26 of file Evaluator.cc.

◆ 

enum { ... } Item::what

The documentation for this struct was generated from the following file: