Sleeping Wombat Common Library  0.50.0
swCommonLibrary
EngineObject.h
Go to the documentation of this file.
1 #pragma once
2 
10 
11 
12 
13 class ISerializer;
14 class IDeserializer;
15 
16 
17 
18 namespace sw
19 {
20 
24 class EngineObject : public Object
25 {
26  RTTR_ENABLE( Object )
27 
28 public:
29 
32  virtual void Serialize ( ISerializer& ser ) const;
33 
35  virtual void Deserialize ( const IDeserializer& deser );
36 };
37 
38 
39 } // sw
40 
Interface for deserializers.
Definition: Deserializer.h:39
Definition: Exception.h:11
Serializers interface.
Definition: Serializer.h:31
Base class for serializable objects.
Definition: EngineObject.h:24
virtual void Serialize(ISerializer &ser) const
Implements default serialization. Serializes only declared properties.
Definition: EngineObject.cpp:28
virtual void Deserialize(const IDeserializer &deser)
Implements default deserialization.
Definition: EngineObject.cpp:35
Base clas for all objects in sleeping wombat libraries.
Definition: Object.h:42