Geant4 9.6.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 22 of file Evaluator.cc.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNKNOWN 
VARIABLE 
EXPRESSION 
FUNCTION 

Definition at line 23 of file Evaluator.cc.

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

Constructor & Destructor Documentation

◆ Item() [1/4]

Item::Item ( )
inline

Definition at line 31 of file Evaluator.cc.

voidfuncptr function
Definition: Evaluator.cc:29
string expression
Definition: Evaluator.cc:25
double variable
Definition: Evaluator.cc:24

◆ Item() [2/4]

Item::Item ( double  x)
inline

Definition at line 32 of file Evaluator.cc.

◆ Item() [3/4]

Item::Item ( string  x)
inline

Definition at line 33 of file Evaluator.cc.

◆ Item() [4/4]

Item::Item ( voidfuncptr  x)
inline

Definition at line 34 of file Evaluator.cc.

Member Data Documentation

◆ expression

string Item::expression

Definition at line 25 of file Evaluator.cc.

◆ function

voidfuncptr Item::function

Definition at line 29 of file Evaluator.cc.

◆ variable

double Item::variable

Definition at line 24 of file Evaluator.cc.

◆ 

enum { ... } Item::what

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