G4BetaDecayType.cc File Reference

#include "G4BetaDecayType.hh"

Go to the source code of this file.

Functions

std::istream & operator>> (std::istream &strm, G4BetaDecayType &q)


Function Documentation

std::istream& operator>> ( std::istream &  strm,
G4BetaDecayType q 
)

Definition at line 29 of file G4BetaDecayType.cc.

References allowed, firstForbidden, notImplemented, secondForbidden, thirdForbidden, uniqueFirstForbidden, uniqueSecondForbidden, and uniqueThirdForbidden.

00030 {
00031   G4String a;
00032   strm >> a;
00033 
00034   if (a == "allowed")
00035     {q = allowed;}
00036   else if (a == "firstForbidden")
00037     {q = firstForbidden;}
00038   else if (a == "uniqueFirstForbidden")
00039     {q = uniqueFirstForbidden;}
00040   else if (a == "secondForbidden")
00041     {q = secondForbidden;}
00042   else if (a == "uniqueSecondForbidden")
00043     {q = uniqueSecondForbidden;}
00044   else if (a == "thirdForbidden")
00045     {q = thirdForbidden;}
00046   else if (a == "uniqueThirdForbidden")
00047     {q = uniqueThirdForbidden;}
00048   else
00049     {q = notImplemented;}
00050 
00051   return strm;
00052 }


Generated on Mon May 27 17:50:38 2013 for Geant4 by  doxygen 1.4.7