C++ main module for emicrom Package  1.0
EMM_TensorsClassFactory.h
Go to the documentation of this file.
1 #ifndef EMM_TensorsClassFactory_H
2 #define EMM_TensorsClassFactory_H
3 
4 
5 #include "CORE_ClassFactory.h"
6 
7 
14 
15 class EMM_TensorsClassFactory : public CORE_ClassFactory { // class
16 
17  // THIS Shared pointer definition
19 
20 
21  // ASSOCIATION
22 
23  // ATTRIBUTES
24 
25 private:
26 
27 
28  // ASSOCIATIONS
29 
30 
31  // METHODS
32 
33 
34 protected:
35  // CONSTRUCTORS
39 
40 
41 
42 
43  // DESTRUCTORS
47  virtual ~EMM_TensorsClassFactory(void);
48 
49 
50 
51 
52 
53 public:
54  // NEW
57  inline static SP::EMM_TensorsClassFactory New() {
58  SP::EMM_TensorsClassFactory p(new EMM_TensorsClassFactory(),
60  p->setThis(p);
61  return p;
62  }
63 
64  // SET
65 
66 
67 
68 
69  // GET
70 
71 
72  // OTHERS
79  virtual SP::CORE_Object NewInstance(const tString& name,
80  const SVC::CORE_Object& newParameters) const;
81 
87  virtual SP::CORE_Object NewInstance(const tString& name) const {
88  SVC::CORE_Object args;
89  return NewInstance(name,args);
90  };
91 
92 
93 
94 };
95 
96 #endif
virtual ~EMM_TensorsClassFactory(void)
destroy a EMM_ClassFactory
Definition: EMM_TensorsClassFactory.cpp:11
virtual SP::CORE_Object NewInstance(const tString &name) const
create an instance of a class
Definition: EMM_TensorsClassFactory.h:87
this class describes a class factory to generate generic classes for the core module of the microm Pa...
Definition: EMM_TensorsClassFactory.h:15
EMM_TensorsClassFactory()
build a EMM_ClassFactory
Definition: EMM_TensorsClassFactory.cpp:7
DEFINE_SPTR(EMM_TensorsClassFactory)
static SP::EMM_TensorsClassFactory New()
create a shared pointer to the class factory
Definition: EMM_TensorsClassFactory.h:57
SP_OBJECT(EMM_TensorsClassFactory)
#define tString
Definition: types.h:135
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
virtual SP::CORE_Object NewInstance(const tString &name, const SVC::CORE_Object &newParameters) const
create an instance of a class
Definition: EMM_TensorsClassFactory.cpp:14
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141