41 #ifndef HepRanshiEngine_h
42 #define HepRanshiEngine_h
66 void flatArray(
const int size,
double* vect);
72 void setSeeds(
const long* seeds,
int);
76 void saveStatus(
const char filename[] =
"RanshiEngine.conf")
const;
79 void restoreStatus(
const char filename[] =
"RanshiEngine.conf");
88 operator unsigned int();
90 virtual std::ostream &
put (std::ostream & os)
const;
91 virtual std::istream &
get (std::istream & is);
93 virtual std::istream &
getState ( std::istream & is );
95 std::string
name()
const;
98 std::vector<unsigned long>
put ()
const;
99 bool get (
const std::vector<unsigned long> & v);
100 bool getState (
const std::vector<unsigned long> & v);
115 #endif // HepRanshiEngine_h
void setSeeds(const long *seeds, int)
static const unsigned int VECTOR_STATE_SIZE
static std::string engineName()
static std::string beginTag()
void saveStatus(const char filename[]="RanshiEngine.conf") const
void setSeed(long seed, int)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void flatArray(const int size, double *vect)
virtual std::istream & getState(std::istream &is)
std::vector< unsigned long > put() const
void restoreStatus(const char filename[]="RanshiEngine.conf")
unsigned int buffer[numBuff]