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

#include <G4UItokenNum.hh>

Public Member Functions

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

Public Attributes

tokenNum type
 
G4double D
 
G4int I
 
char C
 
G4String S
 

Detailed Description

Definition at line 60 of file G4UItokenNum.hh.

Constructor & Destructor Documentation

◆ yystype() [1/2]

yystype::yystype ( )
inline

Definition at line 68 of file G4UItokenNum.hh.

68 : type(NONE), D(0.0), I(0), C(' '), S("")
69 {
70 }
@ NONE
Definition: G4UItokenNum.hh:38
G4int I
Definition: G4UItokenNum.hh:64
tokenNum type
Definition: G4UItokenNum.hh:62
G4double D
Definition: G4UItokenNum.hh:63
G4String S
Definition: G4UItokenNum.hh:66

◆ yystype() [2/2]

yystype::yystype ( const yystype right)
inline

Definition at line 85 of file G4UItokenNum.hh.

86 {
87 *this=right;
88 }

Member Function Documentation

◆ operator=()

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

Definition at line 75 of file G4UItokenNum.hh.

76 {
77 if (&right==this) return *this;
78 type = right.type;
79 D = right.D;
80 I = right.I;
81 C = right.C;
82 S = right.S;
83 return *this;
84 }

◆ operator==()

G4int yystype::operator== ( const yystype right) const
inline

Definition at line 71 of file G4UItokenNum.hh.

72 {
73 return (this == &right)?1:0;
74 }

Member Data Documentation

◆ C

char yystype::C

Definition at line 65 of file G4UItokenNum.hh.

Referenced by operator=().

◆ D

G4double yystype::D

Definition at line 63 of file G4UItokenNum.hh.

Referenced by operator=().

◆ I

G4int yystype::I

Definition at line 64 of file G4UItokenNum.hh.

Referenced by operator=().

◆ S

G4String yystype::S

Definition at line 66 of file G4UItokenNum.hh.

Referenced by operator=().

◆ type

tokenNum yystype::type

Definition at line 62 of file G4UItokenNum.hh.

Referenced by operator=().


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