58 std::ostringstream os;
60 std::istringstream istst(os.str());
63 std::cerr <<
"???? Unexpected behavior in StaticRandomStates::restore:\n"
64 <<
"The new engine, which had been input successfully from istream\n"
65 <<
"has encountered a problem when used to set state of theEngine\n";
66 is.clear(std::ios::badbit | is.rdstate());
virtual std::string name() const =0
static HepRandomEngine * newEngine(std::istream &is)
static HepRandomEngine * getTheEngine()
static void setTheEngine(HepRandomEngine *theNewEngine)
static std::ostream & saveDistState(std::ostream &os)
static std::istream & restoreDistState(std::istream &is)
static std::istream & restoreFullState(std::istream &is)
static std::ostream & saveFullState(std::ostream &os)
static std::istream & restoreDistState(std::istream &is)
static std::istream & restore(std::istream &is)
static std::ostream & save(std::ostream &os)