Geant4  10.02.p03
yystype Struct Reference

#include <G4UItokenNum.hh>

Collaboration diagram for yystype:

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  }
G4String S
Definition: G4UItokenNum.hh:66
G4int I
Definition: G4UItokenNum.hh:64
tokenNum type
Definition: G4UItokenNum.hh:62
G4double D
Definition: G4UItokenNum.hh:63
Here is the caller graph for this function:

◆ yystype() [2/2]

yystype::yystype ( const yystype right)
inline

Definition at line 85 of file G4UItokenNum.hh.

86  {
87  *this=right;
88  }
Here is the call graph for this function:

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  }
G4String S
Definition: G4UItokenNum.hh:66
G4int I
Definition: G4UItokenNum.hh:64
tokenNum type
Definition: G4UItokenNum.hh:62
G4double D
Definition: G4UItokenNum.hh:63

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

◆ D

G4double yystype::D

Definition at line 63 of file G4UItokenNum.hh.

◆ I

G4int yystype::I

Definition at line 64 of file G4UItokenNum.hh.

◆ S

G4String yystype::S

Definition at line 66 of file G4UItokenNum.hh.

◆ type

tokenNum yystype::type

Definition at line 62 of file G4UItokenNum.hh.


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