GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloObjectMaker.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOOBJECTMAKER_H
2#define INC_GLOOBJECTMAKER_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include "GloTypes.h"
45#include "GloSchemaInterface.h"
46#include "GloObjCreator.h"
47#include <string>
48//-----------------------------------------------------------------------------
49namespace glo
50{
51 //---------------------------------------------------------------------------
52 /* Forwards */
53 class ObjCreator;
54 //---------------------------------------------------------------------------
70 {
71 private:
72 //============== Attribute
73 //-----------------------------------------------------------------------
86 //-----------------------------------------------------------------------
99 //-----------------------------------------------------------------------
100
101 //============== Konstruktoren
102 //-----------------------------------------------------------------------
113 //-----------------------------------------------------------------------
114
115 public:
116 //============== Konstruktoren
117 //-----------------------------------------------------------------------
141 ObjectMaker( const std::string & rstrSchemaNameWithPath,
142 ObjCreator & rCreator );
143 //-----------------------------------------------------------------------
153 virtual ~ObjectMaker();
154 //-----------------------------------------------------------------------
155
156 private:
157 //============== Konstruktoren
158 //-----------------------------------------------------------------------
169 //-----------------------------------------------------------------------
170
171 public:
172 //============== Methoden
173 //-----------------------------------------------------------------------
190 bool isKnownClassID( unsigned long ulClassID ) const;
191 //-----------------------------------------------------------------------
223 int makeNewPersObject( Persistent *& prNewObject,
224 Record & rRecord,
225 Base * pBase ) const;
226 //-----------------------------------------------------------------------
254 Record & rRecord,
255 Base * pBase ) const;
256 //-----------------------------------------------------------------------
275 int makeNewRecord( Record *& prNewRecord, unsigned long ulClassID ) const;
276 //-----------------------------------------------------------------------
294 int makeNewRecord( Record *& prNewRecord, Persistent & rObject ) const;
295 //-----------------------------------------------------------------------
328 int fillRecord( Record & rRecord, Persistent & rObject, bool bWithRefRecords = false ) const;
329 //-----------------------------------------------------------------------
344 //-----------------------------------------------------------------------
360 unsigned long getClassID( BaseAllSet * pAllSet ) const;
361 //-----------------------------------------------------------------------
362
363 private:
364 //============== Operatoren
365 //-----------------------------------------------------------------------
375 ObjectMaker & operator= ( const ObjectMaker & );
376 //-----------------------------------------------------------------------
377 };
378 //---------------------------------------------------------------------------
379} // namespace glo
380#endif
Header für ObjCreator
Header für SchemaInterface
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
Definition GloBase.h:263
Abstrakte Oberklasse für Instanziierungsfunktionen der persistenten Klassen. Von dieser Klasse wird g...
Definition GloObjCreator.h:78
Diese Klasse kann aus einem Datensatz ein persistentes Objekt instanziieren bzw. ein persistentes Obj...
Definition GloObjectMaker.h:70
int makeNewRecord(Record *&prNewRecord, unsigned long ulClassID) const
ObjCreator * m_pObjCreator
Definition GloObjectMaker.h:98
const SchemaInterface * getSchema()
int fillPersObject(Persistent &rObject, Record &rRecord, Base *pBase) const
bool isKnownClassID(unsigned long ulClassID) const
virtual ~ObjectMaker()
ObjectMaker(const ObjectMaker &)
ObjectMaker(const std::string &rstrSchemaNameWithPath, ObjCreator &rCreator)
int makeNewPersObject(Persistent *&prNewObject, Record &rRecord, Base *pBase) const
int fillRecord(Record &rRecord, Persistent &rObject, bool bWithRefRecords=false) const
unsigned long getClassID(BaseAllSet *pAllSet) const
int makeNewRecord(Record *&prNewRecord, Persistent &rObject) const
SchemaInterface * m_pSchema
Definition GloObjectMaker.h:85
Die Basisklasse der persistenten Klassen. Von dieser Klasse müssen alle persistenten Klassen abgeleit...
Definition GloPersistent.h:242
Objekte dieser Klasse transportieren die Daten von den Tabellen ins persistente Objekt und von diesen...
Definition GloRecord.h:108
Diese Klasse ist die Schnittstelle zu einem GlobalObjects-Schema. Sie beinhaltet alle Klasseninformat...
Definition GloSchemaInterface.h:91
Definition GloAbstractBaseLot.h:49