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 //-----------------------------------------------------------------------
219 virtual ObjCreator * getCopy() const = 0;
220 //-----------------------------------------------------------------------
221
222 private:
223 //============== Operatoren
224 //-----------------------------------------------------------------------
234 ObjCreator & operator= ( const ObjCreator & );
235 //-----------------------------------------------------------------------
236 };
237 //---------------------------------------------------------------------------
238} // namespace glo
239#endif
Header für Persistent
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
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
Die Basisklasse der persistenten Klassen. Von dieser Klasse müssen alle persistenten Klassen abgeleit...
Definition GloPersistent.h:242
Definition GloAbstractBaseLot.h:49