Sleeping Wombat Common Library  0.50.0
swCommonLibrary
BaseObject.h
Go to the documentation of this file.
1 #pragma once
2 
10 
12 
13 
14 
15 namespace sw
16 {
17 
18 
19 // ================================ //
20 //
21 class BaseObject : public EngineObject
22 {
23  RTTR_ENABLE( EngineObject )
24  RTTR_REGISTRATION_FRIEND
25 public:
26 
27  StructWithSimpleTypes m_simpleStruct1;
28 
29 protected:
30 public:
31  explicit BaseObject () = default;
32  ~BaseObject () = default;
33 
34 };
35 
36 
37 // ================================ //
38 //
39 class DerivedObject : public BaseObject
40 {
41  RTTR_ENABLE( BaseObject )
42  RTTR_REGISTRATION_FRIEND
43 public:
44 
45  StructWithSimpleTypes m_simpleStruct2;
46 
47 protected:
48 public:
49  explicit DerivedObject () = default;
50  ~DerivedObject () = default;
51 
52 };
53 
54 // ================================ //
55 //
56 class NotRelated : public EngineObject
57 {
58  RTTR_ENABLE( EngineObject )
59  RTTR_REGISTRATION_FRIEND
60 public:
61 
62  StructWithSimpleTypes m_simpleStruct1;
63 
64 protected:
65 public:
66  explicit NotRelated () = default;
67  ~NotRelated () = default;
68 
69 };
70 
71 
72 
73 } // sw
74 
75 
Definition: Exception.h:11
Base class for serializable objects.
Definition: EngineObject.h:24
Definition: StructWithSimpleTypes.h:18
Definition: BaseObject.h:21
Definition: BaseObject.h:39