C++ mpi module for stochmagnet_main Package
EXPR_Object.h
1 #ifndef EXPR_Object_H
2 #define EXPR_Object_H
3 
4 //inherited header
5 #include "CORE_Object.h"
6 
7 //smart pointes header
8 #include "shared_pointer.h"
9 
10 //std::array header
11 #include <array>
12 
13 //std::valarray header
14 #include <valarray>
15 
16 //std::map header
17 #include <map>
18 
27 class EXPR_Object : public virtual CORE_Object {
28 
29 
30 private:
31  //attributes
32 private:
33  //associations
34 protected:
35  //builders
36 
39  EXPR_Object(void);
40  //deleters
43  virtual ~EXPR_Object(void);
44 
45 public:
46  //methods
47 
48 
49  //MEMORY
50  //======
58  virtual tMemSize getMemorySize() const override {
59  return sizeof(*this)+getContentsMemorySize();
60  }
61 
70  virtual tMemSize getContentsMemorySize() const override {
72  return mem;
73  }
74 
75 
76 };
77 
78 
79 
80 
81 #endif
abstract base class for most classes.
Definition: CORE_Object.h:65
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is the base class of all the parser package.
Definition: EXPR_Object.h:27
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_Object.h:58
EXPR_Object(void)
create the class
Definition: EXPR_Object.cpp:3
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_Object.h:70
virtual ~EXPR_Object(void)
delete the class
Definition: EXPR_Object.cpp:6