IObject.h
Go to the documentation of this file.
1 #ifndef iser_IObject_included
2 #define iser_IObject_included
3 
4 
5 // ACF includes
6 #include <istd/TIFactory.h>
7 #include <iser/ISerializable.h>
8 
9 
10 namespace iser
11 {
12 
13 
19 class IObject: virtual public ISerializable
20 {
21 public:
22  virtual QByteArray GetFactoryId() const;
23 };
24 
25 
26 // public methods
27 
28 inline QByteArray IObject::GetFactoryId() const
29 {
30  static QByteArray emptyId;
31 
32  return emptyId;
33 }
34 
35 
36 // public typedefs
37 
39 
40 
41 } // namespace iser
42 
43 
44 #endif // !iser_IObject_included
45 
istd::TIFactory< IObject > IObjectFactory
Definition: IObject.h:38
virtual QByteArray GetFactoryId() const
Definition: IObject.h:28
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
Common interface for factorisable model objects.
Definition: IObject.h:19
Generic interface for a factory.
Definition: TIFactory.h:17

© 2007-2017 Witold Gantzke and Kirill Lepskiy