Geant4-11
Public Member Functions | Data Fields
G4UItokenNum::yystype Struct Reference

#include <G4UItokenNum.hh>

Public Member Functions

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

Data Fields

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

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 }

References C, D, I, L, S, and type.

◆ 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 }

Field Documentation

◆ C

char G4UItokenNum::yystype::C

Definition at line 71 of file G4UItokenNum.hh.

Referenced by operator=().

◆ D

G4double G4UItokenNum::yystype::D

◆ I

G4int G4UItokenNum::yystype::I

◆ L

G4long G4UItokenNum::yystype::L

◆ S

G4String G4UItokenNum::yystype::S

◆ type

tokenNum G4UItokenNum::yystype::type

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