C++ main module for emicrom Package  1.0
MATH_PolynomialClassFactory.h
Go to the documentation of this file.
1 #ifndef MATH_PolynomialClassFactory_H
2 #define MATH_PolynomialClassFactory_H
3 
4 
5 #include "CORE_ClassFactory.h"
6 
7 
14 
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 ~MATH_PolynomialClassFactory(void);
48 
49 
50 
51 
52 
53 public:
54  // NEW
57  inline static SP::MATH_PolynomialClassFactory New() {
58  SP::MATH_PolynomialClassFactory p(new MATH_PolynomialClassFactory(),
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
MATH_PolynomialClassFactory()
build a EMM_ClassFactory
Definition: MATH_PolynomialClassFactory.cpp:9
virtual SP::CORE_Object NewInstance(const tString &name) const
create an instance of a class
Definition: MATH_PolynomialClassFactory.h:87
virtual SP::CORE_Object NewInstance(const tString &name, const SVC::CORE_Object &newParameters) const
create an instance of a class
Definition: MATH_PolynomialClassFactory.cpp:16
virtual ~MATH_PolynomialClassFactory(void)
destroy a EMM_ClassFactory
Definition: MATH_PolynomialClassFactory.cpp:13
this class describes a class factory to generate generic classes for the core module of the microm Pa...
Definition: MATH_PolynomialClassFactory.h:15
SP_OBJECT(MATH_PolynomialClassFactory)
#define tString
Definition: types.h:135
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
DEFINE_SPTR(MATH_PolynomialClassFactory)
static SP::MATH_PolynomialClassFactory New()
create a shared pointer to the class factory
Definition: MATH_PolynomialClassFactory.h:57
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141