GlobalObjects
Loading...
Searching...
No Matches
GloObjCreator.h
Go to the documentation of this file.
1#ifndef INC_GLODBOBJCREATOR_H
2#define INC_GLODBOBJCREATOR_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include "GloTypes.h"
38#include "GloPersistent.h"
39//-----------------------------------------------------------------------------
40namespace glo
41{
42 //---------------------------------------------------------------------------
43 // doxygen -> warning: unable to resolve reference to 'PAGE_GLO_DEVELOPER' for \ref command
44 // is a reference to the GlobalObjects-Manual.
45 //---------------------------------------------------------------------------
71 {
72 public:
73 //============== Konstruktoren
74 //-----------------------------------------------------------------------
85 {};
86 //-----------------------------------------------------------------------
96 virtual ~ObjCreator()
97 {};
98 //-----------------------------------------------------------------------
99
100 private:
101 //============== Konstruktoren
102 //-----------------------------------------------------------------------
114 //-----------------------------------------------------------------------
115
116 public:
117 //============== Methoden
118 //-----------------------------------------------------------------------
130 virtual std::string getBaseName() const = 0;
131 //-----------------------------------------------------------------------
145 virtual bool isKnownClassID( unsigned long ulClassID ) const = 0;
146 //-----------------------------------------------------------------------
176 virtual int getPersObject( Persistent *& prNewObject,
177 unsigned long ulClassID ) const = 0;
178 //-----------------------------------------------------------------------
196 virtual int getPersObject( std::shared_ptr< Persistent > & rNewObject, unsigned long ulClassID ) const = 0;
197 //-----------------------------------------------------------------------
215 virtual unsigned long getClassID( BaseAllSet * pAllSet ) const = 0;
216 //-----------------------------------------------------------------------
231 virtual ObjCreator * getCopy() const = 0;
232 //-----------------------------------------------------------------------
233
234 private:
235 //============== Operatoren
236 //-----------------------------------------------------------------------
246 ObjCreator & operator= ( const ObjCreator & );
247 //-----------------------------------------------------------------------
248 };
249 //---------------------------------------------------------------------------
250} // namespace glo
251#endif
Header for Persistent
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:63
Is the base class of template AllSets and the generic AllSet.
Definition GloBaseAllSet.h:80
Abstract superclass for instantiation functions of persistent classes. From this class a subclass is ...
Definition GloObjCreator.h:71
virtual int getPersObject(Persistent *&prNewObject, unsigned long ulClassID) const =0
ObjCreator(const ObjCreator &)
virtual ObjCreator * getCopy() const =0
virtual std::string getBaseName() const =0
virtual bool isKnownClassID(unsigned long ulClassID) const =0
virtual ~ObjCreator()
Definition GloObjCreator.h:96
virtual int getPersObject(std::shared_ptr< Persistent > &rNewObject, unsigned long ulClassID) const =0
ObjCreator()
Definition GloObjCreator.h:84
virtual unsigned long getClassID(BaseAllSet *pAllSet) const =0
The base class of the persistent classes. All persistent classes must be derived from this class to b...
Definition GloPersistent.h:221
Definition GloAbstractBaseLot.h:42