C++ mpi module for stochmagnet_main Package
SM_MonteCarloOptions.h
1 #ifndef SM_MonteCarloOptions_H
2 #define SM_MonteCarloOptions_H
3 
4 //supez class header
5 #include "SM_Options.h"
6 
15 class SM_MonteCarloOptions : public virtual SM_Options {
16 
17  //attributes
18 private :
19 
20 
21 
22 protected:
23  // CONSTRUCTORS
27  }//end constructor method
28 
29  // DESTRUCTORS
32  virtual ~SM_MonteCarloOptions(void) {
33  }//end destructor method
34 
35 
36 
37 public :
38  //MEMORY
39 
53  virtual tMemSize getMemorySize() const override{
54  return sizeof(*this)+getContentsMemorySize();
55  }//end getMemorySize Method
56 
57 
58  //shared pointer methods
59  //======================
60 
64  static inline CORE_UniquePointer<SM_MonteCarloOptions> New() {
65  return CORE_UniquePointer<SM_MonteCarloOptions>(new SM_MonteCarloOptions(),
67  }//end New method
68 
69 
70  // MAIN Method
71 
72 public:
73 
74 public:
78  virtual void initManOptions(CORE_OptionsList& options) const override {
79 
81  tString tab="\n\t\t\t";
82 
83 
84 
85 
86  }//end initManOptions method
87 
91  virtual void initOptions(CORE_OptionsList& options) const override {
92  SM_Options::initOptions(options);
93 
94 
95 
96 
97 
98 
99  }//end initOptions method
100 
101 
102 
103 };//end class method
104 
105 
106 #endif
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is an list of options.
Definition: CORE_OptionsList.h:36
This class is the options of the package.
Definition: SM_MonteCarloOptions.h:15
static CORE_UniquePointer< SM_MonteCarloOptions > New()
return a new unique pointer of this
Definition: SM_MonteCarloOptions.h:64
virtual tMemSize getMemorySize() const override
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_MonteCarloOptions.h:53
virtual void initOptions(CORE_OptionsList &options) const override
default initialization of the options
Definition: SM_MonteCarloOptions.h:91
SM_MonteCarloOptions(void)
create class instance
Definition: SM_MonteCarloOptions.h:26
virtual void initManOptions(CORE_OptionsList &options) const override
init the man of the options
Definition: SM_MonteCarloOptions.h:78
virtual ~SM_MonteCarloOptions(void)
destroy class instance
Definition: SM_MonteCarloOptions.h:32
This class is the options of the package.
Definition: SM_Options.h:14
virtual void initManOptions(CORE_OptionsList &options) const override
init the man of the options
Definition: SM_Options.h:79
virtual void initOptions(CORE_OptionsList &options) const override
default initialization of the options
Definition: SM_Options.h:205