Geant4-11
Functions
G4fissionerr.cc File Reference
#include <iostream>
#include <sstream>
#include "G4fissionEvent.hh"

Go to the source code of this file.

Functions

std::string itoa (const G4int &x)
 

Function Documentation

◆ itoa()

std::string itoa ( const G4int x)

Definition at line 103 of file G4fissionerr.cc.

104{
105 std::ostringstream o;
106 if (!(o << x)) return "ERROR";
107 return o.str();
108}

Referenced by G4fissionEvent::G4fissionerr().