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());
static HepRandomEngine * getTheEngine()
static std::istream & restoreFullState(std::istream &is)
static std::istream & restoreDistState(std::istream &is)
static HepRandomEngine * newEngine(std::istream &is)
static void setTheEngine(HepRandomEngine *theNewEngine)
static std::istream & restoreDistState(std::istream &is)
static std::ostream & saveDistState(std::ostream &os)
static std::ostream & saveFullState(std::ostream &os)
static std::ostream & save(std::ostream &os)
static std::istream & restore(std::istream &is)
virtual std::string name() const =0