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//-----------------------------------------------------------------------------
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 for Persistent
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Is the base class of template AllSets and the generic AllSet.
Definition GloBaseAllSet.h:87
Abstract superclass for instantiation functions of persistent classes. From this class a subclass is ...
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
The base class of the persistent classes. All persistent classes must be derived from this class to b...
Definition GloPersistent.h:242
Definition GloAbstractBaseLot.h:49