PhotosDebugRandom.h
00001 #ifndef _PhotosDebugRandom_included_
00002 #define _PhotosDebugRandom_included_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "PhotosRandom.h"
00021
00022 namespace Photospp
00023 {
00024
00025 class PhotosDebugRandom : PhotosRandom
00026 {
00027 public:
00028
00029 static void saveState();
00030
00031
00032 static void restoreState();
00033
00034
00035 static void setState(int i, int j, double c, double list[97]);
00036
00037
00038 static void setSaveState(int i, int j, double c, double list[97]);
00039
00040
00041 static void print();
00042
00043 private:
00044 static int i97_saved;
00045 static int j97_saved;
00046 static double uran_saved[97];
00047 static double cran_saved;
00048 };
00049
00050 }
00051 #endif