24 #ifndef MTwistEngine_h
25 #define MTwistEngine_h
49 void flatArray(
const int size,
double* vect);
55 void setSeeds(
const long * seeds,
int);
59 void saveStatus(
const char filename[] =
"MTwist.conf")
const;
70 operator unsigned int();
72 virtual std::ostream &
put (std::ostream & os)
const;
73 virtual std::istream &
get (std::istream & is);
75 virtual std::istream &
getState ( std::istream & is );
77 std::string
name()
const;
80 std::vector<unsigned long>
put ()
const;
81 bool get (
const std::vector<unsigned long> & v);
82 bool getState (
const std::vector<unsigned long> & v);
97 #endif // MTwistEngine_h
static std::string engineName()
void setSeed(long seed, int)
virtual std::istream & getState(std::istream &is)
void saveStatus(const char filename[]="MTwist.conf") const
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void restoreStatus(const char filename[]="MTwist.conf")
static const unsigned int VECTOR_STATE_SIZE
std::vector< unsigned long > put() const
static std::string beginTag()
void setSeeds(const long *seeds, int)
void flatArray(const int size, double *vect)