Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Item Struct Reference
Collaboration diagram for Item:

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
Enumerator
UNKNOWN 
VARIABLE 
EXPRESSION 
FUNCTION 

Definition at line 23 of file Evaluator.cc.

Constructor & Destructor Documentation

Item::Item ( )
inline

Definition at line 31 of file Evaluator.cc.

31 : what(UNKNOWN), variable(0),expression(), function(0) {}
string expression
Definition: Evaluator.cc:25
double variable
Definition: Evaluator.cc:24
enum Item::@24 what
Item::Item ( double  x)
inline

Definition at line 32 of file Evaluator.cc.

32 : what(VARIABLE), variable(x),expression(), function(0) {}
tuple x
Definition: test.py:50
string expression
Definition: Evaluator.cc:25
double variable
Definition: Evaluator.cc:24
enum Item::@24 what
Item::Item ( string  x)
inline

Definition at line 33 of file Evaluator.cc.

33 : what(EXPRESSION),variable(0),expression(x),function(0) {}
tuple x
Definition: test.py:50
string expression
Definition: Evaluator.cc:25
double variable
Definition: Evaluator.cc:24
enum Item::@24 what
Item::Item ( voidfuncptr  x)
inline

Definition at line 34 of file Evaluator.cc.

34 : what(FUNCTION), variable(0),expression(), function(x) {}
tuple x
Definition: test.py:50
string expression
Definition: Evaluator.cc:25
double variable
Definition: Evaluator.cc:24
enum Item::@24 what

Member Data Documentation

string Item::expression

Definition at line 25 of file Evaluator.cc.

voidfuncptr Item::function

Definition at line 29 of file Evaluator.cc.

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: