GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloObjCreator.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLODBOBJCREATOR_H
2#define INC_GLODBOBJCREATOR_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include "GloTypes.h"
45#include "GloPersistent.h"
46//-----------------------------------------------------------------------------
47namespace glo
48{
49 //---------------------------------------------------------------------------
50 // doxygen -> warning: unable to resolve reference to 'PAGE_GLO_DEVELOPER' for \ref command
51 // is a reference to the GlobalObjects-Manual.
52 //---------------------------------------------------------------------------
78 {
79 public:
80 //============== Konstruktoren
81 //-----------------------------------------------------------------------
92 {};
93 //-----------------------------------------------------------------------
103 virtual ~ObjCreator()
104 {};
105 //-----------------------------------------------------------------------
106
107 private:
108 //============== Konstruktoren
109 //-----------------------------------------------------------------------
121 //-----------------------------------------------------------------------
122
123 public:
124 //============== Methoden
125 //-----------------------------------------------------------------------
137 virtual std::string getBaseName() const = 0;
138 //-----------------------------------------------------------------------
152 virtual bool isKnownClassID( unsigned long ulClassID ) const = 0;
153 //-----------------------------------------------------------------------
183 virtual int getPersObject( Persistent *& prNewObject,
184 unsigned long ulClassID ) const = 0;
185 //-----------------------------------------------------------------------
203 virtual int getPersObject( std::shared_ptr< Persistent > & rNewObject, unsigned long ulClassID ) const = 0;
204 //-----------------------------------------------------------------------
222 virtual unsigned long getClassID( BaseAllSet * pAllSet ) const = 0;
223 //-----------------------------------------------------------------------
238 virtual ObjCreator * getCopy() const = 0;
239 //-----------------------------------------------------------------------
240
241 private:
242 //============== Operatoren
243 //-----------------------------------------------------------------------
253 ObjCreator & operator= ( const ObjCreator & );
254 //-----------------------------------------------------------------------
255 };
256 //---------------------------------------------------------------------------
257} // namespace glo
258#endif
Header für Persistent
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:87
Abstrakte Oberklasse für Instanziierungsfunktionen der persistenten Klassen. Von dieser Klasse wird g...
Definition GloObjCreator.h:78
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:103
virtual int getPersObject(std::shared_ptr< Persistent > &rNewObject, unsigned long ulClassID) const =0
ObjCreator()
Definition GloObjCreator.h:91
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:242
Definition GloAbstractBaseLot.h:49