C++ mpi module for stochmagnet_main Package
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
EXPR_Run Class Reference

This class is the runner class for the generic package of the expr module of math package. More...

#include <EXPR_Run.h>

Inheritance diagram for EXPR_Run:
Inheritance graph
[legend]
Collaboration diagram for EXPR_Run:
Collaboration graph
[legend]

Public Member Functions

 EXPR_Run (void)
 create
 
virtual ~EXPR_Run (void)
 destroy
 
virtual tMemSize getMemorySize () const override
 return the memory size of the class More...
 
- Public Member Functions inherited from CORE_Run
 CORE_Run (void)
 create
 
virtual ~CORE_Run (void)
 destroy
 
virtual tMemSize getContentsMemorySize () const override
 return the memory size in byte More...
 
void setOptionsClassName (const tString &c)
 set the options class name More...
 
void initOptions (CORE_OptionsList &options) const
 default initialization of the options More...
 
virtual void setLogOptions (const CORE_OptionsList &options) const
 
virtual void getManCommands (std::map< tString, tString > &commandsMan) const
 return the man of commands More...
 
tBoolean executeRun (int argc, char *argv[]) const
 run the program from main class More...
 
virtual tBoolean makeRun (const tString &command, const CORE_OptionsList &options) const
 make Run command More...
 
virtual tBoolean printHelp (const CORE_OptionsList &options) const
 print the help More...
 
- Public Member Functions inherited from CORE_Object
template<class T >
std::shared_ptr< T > getSharedPointer ()
 return the shared pointer for this More...
 
template<class T >
std::shared_ptr< const T > getConstSharedPointer () const
 return a const shared pointer for this More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tString getClassName () const
 return the name of the class More...
 
tString getPointerString () const
 retrun the pointer of the class as a string More...
 
tString getIdentityString () const
 retrun the string identification of the class More...
 
virtual tString toString () const
 return the string representation of the object node More...
 

Static Public Member Functions

static CORE_UniquePointer< EXPR_RunNew ()
 create a run class More...
 
- Static Public Member Functions inherited from CORE_Run
static void SetSoftName (const tString &soft)
 set soft name More...
 
static const tString & GetSoftName ()
 get soft name More...
 
static void SetVersion (const tString &version)
 set the version More...
 
static const tString & GetVersion ()
 get the version More...
 
static tBoolean Is64Architecture ()
 return true if the machine is a 64 bits machine More...
 
static tBoolean Is32Architecture ()
 return true if the machine is a 32 bits machine More...
 
static void InitSeed (const unsigned int &seed)
 init the seed for uniform random generator More...
 
static void InitSeed ()
 init the seed for uniform random generator
 
static CORE_OutOut ()
 return the output stream More...
 
static CORE_OutgetOut ()
 return the output stream More...
 
static CORE_ClassFactoryGetClassFactory ()
 return the class factory More...
 
static tString ReadPath (const CORE_OptionsList &options, const tString &optName)
 read the path from options with optName More...
 
static void ReadOutputOptions (const CORE_OptionsList &options, tString &outputPath, tString &outputPrefix)
 read the output path &prefix from options More...
 
static void ReadInputOptions (const CORE_OptionsList &options, tString &inputPath, tString &inputPrefix)
 read the input path & prefix from options More...
 
static void SetLogOptions (const CORE_OptionsList &options)
 
static void SetDebugOptions (const CORE_OptionsList &options)
 set the log options More...
 
- Static Public Member Functions inherited from CORE_Object
static tBoolean EnableMemoryStack (const tBoolean &isMemoryChecked)
 enable the memory stack More...
 
static void EnableMemoryStack ()
 enable the memory stack
 
static void DisableMemoryStack ()
 disable the memory stack
 
static tBoolean IsMemoryStackEnabled ()
 return trur if the memory stack is enabled
 
static tString MemoryStackToString ()
 get the memory stack in string More...
 
static tIndex GetRegisteredClassesNumber ()
 get the memory stack in string More...
 

Protected Member Functions

virtual tBoolean makeTests (const CORE_OptionsList &options) const override
 run the tests More...
 
virtual void createClassFactories (const CORE_OptionsList &options) const override
 create the class factories as mentioned in options More...
 
- Protected Member Functions inherited from CORE_Object
 CORE_Object ()
 build an instance of the object
 
virtual ~CORE_Object ()
 destroy the instance of object std

 

Detailed Description

This class is the runner class for the generic package of the expr module of math package.

Author
Stephane Despreaux
Version
1.0

Member Function Documentation

◆ createClassFactories()

void EXPR_Run::createClassFactories ( const CORE_OptionsList options) const
overrideprotectedvirtual

create the class factories as mentioned in options

Parameters
[in]optionsoptions values

Reimplemented from CORE_Run.

◆ getMemorySize()

virtual tMemSize EXPR_Run::getMemorySize ( ) const
inlineoverridevirtual

return the memory size of the class

Returns
the memory size of the class in bytes 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo

Reimplemented from CORE_Run.

◆ makeTests()

tBoolean EXPR_Run::makeTests ( const CORE_OptionsList options) const
overrideprotectedvirtual

run the tests

Parameters
[in]optionsoptions values

Reimplemented from CORE_Run.

◆ New()

static CORE_UniquePointer<EXPR_Run> EXPR_Run::New ( )
inlinestatic

create a run class

Returns
a unique pointer to the class this

The documentation for this class was generated from the following files: