File indexing completed on 2026-04-09 07:49:33
0001 #pragma once
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <string>
0012 #include "plog/Severity.h"
0013 #include "SYSRAP_API_EXPORT.hh"
0014
0015 struct SYSRAP_API SCurandStateMonolithic
0016 {
0017 typedef unsigned long long ULL ;
0018 static constexpr const ULL M = 1000000ull ;
0019
0020 static const plog::Severity LEVEL ;
0021 static const char* RNGDIR ;
0022 static const char* NAME_PREFIX ;
0023 static const char* DEFAULT_PATH ;
0024
0025 static std::string Desc() ;
0026 static const char* Path() ;
0027 static std::string Stem_(ULL num, ULL seed, ULL offset);
0028 static std::string Path_(ULL num, ULL seed, ULL offset);
0029 static long RngMax() ;
0030 static long RngMax(const char* path) ;
0031
0032
0033 SCurandStateMonolithic(const char* spec);
0034 SCurandStateMonolithic(ULL num, ULL seed, ULL offset) ;
0035 void init();
0036
0037 std::string desc() const ;
0038
0039 const char* spec ;
0040 ULL num ;
0041 ULL seed ;
0042 ULL offset ;
0043 std::string path ;
0044 bool exists ;
0045 long rngmax ;
0046
0047 };
0048
0049
0050