yystype Struct Reference

#include <G4UItokenNum.hh>


Public Member Functions

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

Data Fields

tokenNum type
G4double D
G4int I
char C
G4String S


Detailed Description

Definition at line 60 of file G4UItokenNum.hh.


Constructor & Destructor Documentation

yystype::yystype (  )  [inline]

Definition at line 68 of file G4UItokenNum.hh.

00068               : type(NONE), D(0.0), I(0), C(' '), S("")
00069     {
00070     }

yystype::yystype ( const yystype right  )  [inline]

Definition at line 85 of file G4UItokenNum.hh.

00086     {
00087       *this=right;
00088     }


Member Function Documentation

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

Definition at line 75 of file G4UItokenNum.hh.

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

00076     {
00077       if (&right==this) return *this;
00078       type = right.type;
00079       D = right.D;
00080       I = right.I;
00081       C = right.C;
00082       S = right.S;
00083       return *this;
00084     }

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

Definition at line 71 of file G4UItokenNum.hh.

00072     {
00073       return (this == &right)?1:0;
00074     }


Field Documentation

char yystype::C

Definition at line 65 of file G4UItokenNum.hh.

Referenced by operator=().

G4double yystype::D

Definition at line 63 of file G4UItokenNum.hh.

Referenced by operator=().

G4int yystype::I

Definition at line 64 of file G4UItokenNum.hh.

Referenced by operator=().

G4String yystype::S

Definition at line 66 of file G4UItokenNum.hh.

Referenced by operator=().

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:
Generated on Mon May 27 17:54:04 2013 for Geant4 by  doxygen 1.4.7