Geant4 10.7.0
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 21 of file Evaluator.cc.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNKNOWN 
VARIABLE 
EXPRESSION 
FUNCTION 

Definition at line 22 of file Evaluator.cc.

enum Item::@13 what
@ VARIABLE
Definition: Evaluator.cc:22
@ EXPRESSION
Definition: Evaluator.cc:22
@ UNKNOWN
Definition: Evaluator.cc:22
@ FUNCTION
Definition: Evaluator.cc:22

Constructor & Destructor Documentation

◆ Item() [1/4]

Item::Item ( )
inline

Definition at line 30 of file Evaluator.cc.

voidfuncptr function
Definition: Evaluator.cc:28
string expression
Definition: Evaluator.cc:24
double variable
Definition: Evaluator.cc:23

◆ Item() [2/4]

Item::Item ( double  x)
inline

Definition at line 31 of file Evaluator.cc.

◆ Item() [3/4]

Item::Item ( string  x)
inline

Definition at line 32 of file Evaluator.cc.

◆ Item() [4/4]

Item::Item ( voidfuncptr  x)
inline

Definition at line 33 of file Evaluator.cc.

Member Data Documentation

◆ expression

string Item::expression

Definition at line 24 of file Evaluator.cc.

◆ function

voidfuncptr Item::function

Definition at line 28 of file Evaluator.cc.

◆ variable

double Item::variable

Definition at line 23 of file Evaluator.cc.

◆ 

enum { ... } Item::what

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