GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloObjCreator.h
gehe zur Dokumentation dieser Datei
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 für Persistent
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:80
Abstrakte Oberklasse für Instanziierungsfunktionen der persistenten Klassen. Von dieser Klasse wird g...
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
Die Basisklasse der persistenten Klassen. Von dieser Klasse müssen alle persistenten Klassen abgeleit...
Definition GloPersistent.h:221
Definition GloAbstractBaseLot.h:42