157 inline static void InitSeed(
const unsigned int& seed) {
163 std::srand(time(NULL));
199 virtual void initOptions(std::map<tString,tString>& options)
const;
this class describes a class factory to generate classes
Definition: CORE_ClassFactory.h:22
abstract base class for most classes.
Definition: CORE_Object.h:48
this class describes the output stream by default write on standart output
Definition: CORE_Out.h:28
This class is an outpput results generator for stoch magnet program.
Definition: CORE_Run.h:36
static void InitSeed()
init the seed for uniform random generator
Definition: CORE_Run.h:162
tBoolean printHelp(const std::map< tString, tString > &options) const
print the help
Definition: CORE_Run.cpp:331
virtual ~CORE_Run(void)
destroy
Definition: CORE_Run.cpp:30
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: CORE_Run.h:79
static CORE_UniquePointer< CORE_ClassFactory > mClassFactory
Definition: CORE_Run.h:51
static tBoolean Is64Architecture()
return true if the machine is a 64 bits machine
Definition: CORE_Run.h:140
static CORE_ClassFactory & GetClassFactory()
return the class factory
Definition: CORE_Run.h:213
static tBoolean mIsProfiling
Definition: CORE_Run.h:54
static void SetVersion(const tString &version)
set the version
Definition: CORE_Run.h:113
virtual tMemSize getContentsMemorySize() const override
return the memory size in byte
Definition: CORE_Run.h:90
static tBoolean Is32Architecture()
return true if the machine is a 32 bits machine
Definition: CORE_Run.h:147
static void SetOutputOptions(const std::map< tString, tString > &option)
create the output stream from the options
Definition: CORE_Run.cpp:67
virtual tBoolean makeTests(const std::map< tString, tString > &options) const
make tests command
Definition: CORE_Run.cpp:321
static void SetSoftName(const tString &soft)
set soft name
Definition: CORE_Run.h:99
static tString mSoftName
Definition: CORE_Run.h:42
virtual void initManOptions(std::map< tString, std::map< tString, tString > > &options) const
init the man of the options
Definition: CORE_Run.cpp:145
static CORE_UniquePointer< CORE_Out > mOut
Definition: CORE_Run.h:48
static const tString & GetSoftName()
get soft name
Definition: CORE_Run.h:105
virtual void initOptions(std::map< tString, tString > &options) const
default initialization of the options
Definition: CORE_Run.cpp:168
static tString mVersion
Definition: CORE_Run.h:45
static CORE_Out & Out()
return the output stream
Definition: CORE_Run.h:174
static void InitSeed(const unsigned int &seed)
init the seed for uniform random generator
Definition: CORE_Run.h:157
tBoolean executeRun(int argc, char *argv[]) const
run the program from main class
Definition: CORE_Run.cpp:196
static const tBoolean & IsProfiling()
retun true if the code is in profing mode
Definition: CORE_Run.h:129
virtual tBoolean makeRun(const tString &command, const std::map< tString, tString > &options) const
make Run command
Definition: CORE_Run.cpp:314
static void SetDebugOptions(const std::map< tString, tString > &option)
create the debug data from options
Definition: CORE_Run.cpp:41
virtual void createClassFactories(const std::map< tString, tString > &options) const
create the class factories from options
Definition: CORE_Run.cpp:138
CORE_Run(void)
create
Definition: CORE_Run.cpp:26
static const tString & GetVersion()
get the version
Definition: CORE_Run.h:119
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tLDouble
Definition: types.h:70
#define tString
Definition: types.h:147
#define tMemSize
Definition: types.h:166
#define tBoolean
Definition: types.h:151