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

Typedefs

using yystype = yystype { tokenNum type{ tokenNum::NONE }
 

Enumerations

enum  tokenNum {
  NONE = 0 , IDENTIFIER = 257 , CONSTINT = 258 , CONSTDOUBLE = 259 ,
  CONSTCHAR = 260 , CONSTSTRING = 261 , GT = 262 , GE = 263 ,
  LT = 264 , LE = 265 , EQ = 266 , NE = 267 ,
  CONSTLONG = 268 , LOGICALOR = 269 , LOGICALAND = 270 , SCAREAMER = 33 ,
  LPAREN = 40 , PLUS = 43 , MINUS = 45
}
 

Functions

G4bool operator== (const yystype &right) const
 
yystypeoperator= (const yystype &right)
 
 yystype (const yystype &right)
 

Variables

G4double D { 0.0 }
 
G4int I { 0 }
 
G4long L { 0 }
 
char C { ' ' }
 
G4String S
 

Typedef Documentation

◆ yystype

Definition at line 65 of file G4UItokenNum.hh.

Enumeration Type Documentation

◆ tokenNum

Enumerator
NONE 
IDENTIFIER 
CONSTINT 
CONSTDOUBLE 
CONSTCHAR 
CONSTSTRING 
GT 
GE 
LT 
LE 
EQ 
NE 
CONSTLONG 
LOGICALOR 
LOGICALAND 
SCAREAMER 
LPAREN 
PLUS 
MINUS 

Definition at line 41 of file G4UItokenNum.hh.

42 {
43 NONE = 0,
44 IDENTIFIER = 257,
45 CONSTINT = 258,
46 CONSTDOUBLE = 259,
47 CONSTCHAR = 260,
48 CONSTSTRING = 261,
49 GT = 262,
50 GE = 263,
51 LT = 264,
52 LE = 265,
53 EQ = 266,
54 NE = 267,
55 // LOGICALNOT = 268,
56 CONSTLONG = 268,
57 LOGICALOR = 269,
58 LOGICALAND = 270,
59 SCAREAMER = 33,
60 LPAREN = 40,
61 PLUS = 43,
62 MINUS = 45
63 };
@ GT
Definition: Evaluator.cc:68
@ LT
Definition: Evaluator.cc:68
@ NE
Definition: Evaluator.cc:68
@ GE
Definition: Evaluator.cc:68
@ LE
Definition: Evaluator.cc:68
@ PLUS
Definition: Evaluator.cc:69
@ EQ
Definition: Evaluator.cc:68
@ MINUS
Definition: Evaluator.cc:69

Function Documentation

◆ operator=()

yystype & G4UItokenNum::operator= ( const yystype right)

Definition at line 78 of file G4UItokenNum.hh.

79 {
80 if(&right == this)
81 {
82 return *this;
83 }
84 type = right.type;
85 D = right.D;
86 I = right.I;
87 L = right.L;
88 C = right.C;
89 S = right.S;
90 return *this;
91 }
G4double S(G4double temp)
G4double D(G4double temp)

◆ operator==()

G4bool G4UItokenNum::operator== ( const yystype right) const

Definition at line 77 of file G4UItokenNum.hh.

77{ return this == &right; }

◆ yystype()

G4UItokenNum::yystype ( const yystype right)

Definition at line 92 of file G4UItokenNum.hh.

92{ *this = right; }

Variable Documentation

◆ C

char G4UItokenNum::C { ' ' }

Definition at line 71 of file G4UItokenNum.hh.

Referenced by operator=().

◆ D

G4double G4UItokenNum::D { 0.0 }

Definition at line 68 of file G4UItokenNum.hh.

Referenced by operator=().

◆ I

G4int G4UItokenNum::I { 0 }

Definition at line 69 of file G4UItokenNum.hh.

Referenced by operator=().

◆ L

G4long G4UItokenNum::L { 0 }

Definition at line 70 of file G4UItokenNum.hh.

Referenced by operator=().

◆ S

G4String G4UItokenNum::S

Definition at line 72 of file G4UItokenNum.hh.

Referenced by operator=().