28 inline std::string
GetTypeName ()
const {
return std::string( this->get_type().get_name() ); }
42 template<
typename TargetType >
43 TargetType*
DynamicCast () {
return rttr::rttr_cast< TargetType* >( this ); }
Interface for deserializers.
Definition: Deserializer.h:38
Serializers interface.
Definition: Serializer.h:35
TypeID GetType() const
Definition: EngineObject.h:27
Plik zawiera definicje podstawowych typów zmiennych.
virtual void Deserialize(IDeserializer *deser)
Implements default deserialization.
Definition: EngineObject.cpp:23
std::string GetTypeName() const
Definition: EngineObject.h:28
TargetType * DynamicCast()
Definition: EngineObject.h:43
size_t Size
Definition: TypesDefinitions.h:35
Klasa bazowa dla obiektów, które mają być dostępne w edytorze poprzez rttr. Należy po niej odziedzicz...
Definition: EngineObject.h:22
rttr::type TypeID
Definition: RTTR.h:32
virtual Size MemorySize()
Definition: EngineObject.h:40
virtual void Serialize(ISerializer *ser) const
Implements default serialization. Serializes only declared properties.
Definition: EngineObject.cpp:16