|
static std::vector< rttr::property > & | GetTypeFilteredProperties (rttr::type objType, SerializationContext *context) |
|
static bool | ShouldSave (const rttr::property &prop, MetaDataType saveFlag) |
|
static bool | IsPolymorphicType (TypeID type) |
| We support only polymorphic types derived from EngineObject.
|
|
static void | DefaultSerialize (ISerializer &ser, const EngineObject *object) |
|
static void | DefaultDeserialize (const IDeserializer &deser, EngineObject *object) |
|
static void | DefaultSerializeImpl (ISerializer &ser, const rttr::instance &object, rttr::type dynamicType) |
|
static void | DefaultDeserializeImpl (const IDeserializer &deser, const rttr::instance &object, rttr::type dynamicType) |
|
static void | SerializePolymorphic (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static void | SerializePropertiesVec (ISerializer &ser, const rttr::instance &object, std::vector< rttr::property > &properties) |
|
static void | DeserializePolymorphic (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
|
static void | DeserializeNotPolymorphic (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
|
static rttr::variant | CreateAndSetObjectProperty (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop, TypeID dynamicType) |
|
static rttr::variant | CreateInstance (TypeID type) |
|
static std::string | WstringToUTF (const std::wstring &str) |
|
static std::wstring | UTFToWstring (const std::string &str) |
|
template<typename PropertyType > |
static PropertyType | GetPropertyValue (rttr::property prop, const rttr::instance &object) |
| Returns typed property value.
|
|
template<typename PropertyType > |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
| Serializuje właściwość podanego typu. More...
|
|
template<typename PropertyType > |
static void | SerializeProperty (ISerializer &ser, rttr::string_view name, const rttr::variant &propertyValue) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::string_view name, const rttr::variant &propertyValue) |
|
template<typename PropertyType > |
static void | SetPropertyValue (rttr::property prop, const rttr::instance &object, PropertyType value) |
| Ustawia wartość podanej właściwości.
|
|
template<typename PropertyType > |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
| Deserializuje właściwość podanego typu. More...
|
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
static TypeID | GetRealType (const rttr::instance &object) |
| Gets real type of the object that means most derived and wrapped type.
|
|
static TypeID | GetWrappedType (TypeID type) |
| Gets wrapped type. If type isn't wrapper it returns it unmodified.
|
|
static TypeID | GetRawWrappedType (TypeID type) |
| First extracts wrapped type and then returns raw type.
|
|
static SerializationContext * | Context (const IDeserializer &deser) |
| Returns SerialziationContext from deserializer.
|
|
static void | DestroyObject (rttr::variant &object) |
| Destroy object in variant.
|
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::property prop, const rttr::instance &object) |
|
template<> |
static void | SerializeProperty (ISerializer &ser, rttr::string_view name, const rttr::variant &propertyValue) |
|
template<> |
static void | DeserializeProperty (const IDeserializer &deser, rttr::property prop, const rttr::instance &object) |
|
|
static bool | SerializeBasicTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
| Serialize basic arithemtic types and bool.
|
|
static bool | SerializeVectorTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static bool | SerializeStringTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static bool | SerializeEnumTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static bool | SerializeArrayTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static bool | SerializeObjectTypes (ISerializer &ser, const rttr::instance &object, rttr::property &prop) |
|
static bool | SerializeBasicTypes (ISerializer &ser, rttr::string_view name, const rttr::variant &propertyValue) |
|
|
static bool | DeserializeBasicTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserialize basic arithemtic types and bool. More...
|
|
static bool | DeserializeVectorTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserializuje typy DirectXMath. More...
|
|
static bool | DeserializeStringTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserializuje std::string i std::wstring. More...
|
|
static bool | DeserializeEnumTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserializes enum properties from string. More...
|
|
static bool | DeserializeArrayTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserializes arrays. More...
|
|
static bool | DeserializeObjectTypes (const IDeserializer &deser, const rttr::instance &object, rttr::property &prop) |
| Deserializes structures and generic objects. More...
|
|
Core serialization/deserialization functions.
This class is usefull only if you write your own serialization implementation.