|
Blender V4.3
|
Dummy serializer for unknown and unsupported types. More...
Inherits blender::bke::idprop::IDPropertySerializer.
Public Member Functions | |
| constexpr | IDPUnknownSerializer ()=default |
| std::string | type_name () const override |
return the type name for (de)serializing. Type name is stored in the type or subtype attribute of the serialized id_property. | |
| std::optional< eIDPropertyType > | property_type () const override |
| return the IDPropertyType for (de)serializing. | |
| std::shared_ptr< DictionaryValue > | idprop_to_dictionary (const IDProperty *) const override |
| create dictionary containing the given id_property. | |
| bool | supports_serializing () const override |
| Can the serializer be used? | |
| std::unique_ptr< IDProperty, IDPropertyDeleter > | entry_to_idprop (DictionaryEntryParser &) const override |
| convert the entry to an id property. | |
Public Member Functions inherited from blender::bke::idprop::IDPropertySerializer | |
| constexpr | IDPropertySerializer ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from blender::bke::idprop::IDPropertySerializer | |
| std::shared_ptr< DictionaryValue > | create_dictionary (const IDProperty *id_property) const |
| Create a new DictionaryValue instance. | |
Dummy serializer for unknown and unsupported types.
Definition at line 692 of file idprop_serialize.cc.
|
constexprdefault |
|
inlineoverridevirtual |
convert the entry to an id property.
Implements blender::bke::idprop::IDPropertySerializer.
Definition at line 716 of file idprop_serialize.cc.
|
inlineoverridevirtual |
create dictionary containing the given id_property.
Implements blender::bke::idprop::IDPropertySerializer.
Definition at line 704 of file idprop_serialize.cc.
References BLI_assert_unreachable.
|
inlineoverridevirtual |
return the IDPropertyType for (de)serializing.
Implements blender::bke::idprop::IDPropertySerializer.
Definition at line 699 of file idprop_serialize.cc.
|
inlineoverridevirtual |
Can the serializer be used?
IDP_ID and IDP_IDPARRAY aren't supported for serialization.
Reimplemented from blender::bke::idprop::IDPropertySerializer.
Definition at line 711 of file idprop_serialize.cc.
|
inlineoverridevirtual |
return the type name for (de)serializing. Type name is stored in the type or subtype attribute of the serialized id_property.
Implements blender::bke::idprop::IDPropertySerializer.
Definition at line 695 of file idprop_serialize.cc.
References blender::bke::idprop::IDP_PROPERTY_TYPENAME_UNKNOWN().