Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UItokenNum::yystype Struct Reference

#include <G4UItokenNum.hh>

Public Member Functions

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

Public Attributes

tokenNum type
 
G4double D
 
G4int I
 
G4long L
 
char C
 
G4String S
 

Detailed Description

Definition at line 65 of file G4UItokenNum.hh.

Constructor & Destructor Documentation

◆ yystype() [1/2]

G4UItokenNum::yystype::yystype ( )
inline

Definition at line 74 of file G4UItokenNum.hh.

76 , D(0.0)
77 , I(0)
78 , L(0)
79 , C(' ')
80 , S("")
81 {}

◆ yystype() [2/2]

G4UItokenNum::yystype::yystype ( const yystype right)
inline

Definition at line 98 of file G4UItokenNum.hh.

98{ *this = right; }

Member Function Documentation

◆ operator=()

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

Definition at line 86 of file G4UItokenNum.hh.

87 {
88 if(&right == this)
89 return *this;
90 type = right.type;
91 D = right.D;
92 I = right.I;
93 L = right.L;
94 C = right.C;
95 S = right.S;
96 return *this;
97 }

◆ operator==()

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

Definition at line 82 of file G4UItokenNum.hh.

83 {
84 return (this == &right) ? 1 : 0;
85 }

Member Data Documentation

◆ C

char G4UItokenNum::yystype::C

Definition at line 71 of file G4UItokenNum.hh.

Referenced by operator=().

◆ D

G4double G4UItokenNum::yystype::D

Definition at line 68 of file G4UItokenNum.hh.

Referenced by operator=().

◆ I

G4int G4UItokenNum::yystype::I

Definition at line 69 of file G4UItokenNum.hh.

Referenced by operator=().

◆ L

G4long G4UItokenNum::yystype::L

Definition at line 70 of file G4UItokenNum.hh.

Referenced by operator=().

◆ S

G4String G4UItokenNum::yystype::S

Definition at line 72 of file G4UItokenNum.hh.

Referenced by operator=().

◆ type

tokenNum G4UItokenNum::yystype::type

Definition at line 67 of file G4UItokenNum.hh.

Referenced by operator=().


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