Blender V5.0
blender::bke::idprop::IDPGroupSerializer Class Reference

IDPSerializer for IDP_GROUP. More...

Inherits blender::bke::idprop::IDPropertySerializer.

Public Member Functions

constexpr IDPGroupSerializer ()=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< eIDPropertyTypeproperty_type () const override
 return the IDPropertyType for (de)serializing.
std::shared_ptr< DictionaryValueidprop_to_dictionary (const IDProperty *id_property) const override
 create dictionary containing the given id_property.
std::unique_ptr< IDProperty, IDPropertyDeleterentry_to_idprop (DictionaryEntryParser &entry_reader) const override
 convert the entry to an id property.
Public Member Functions inherited from blender::bke::idprop::IDPropertySerializer
constexpr IDPropertySerializer ()=default
virtual bool supports_serializing () const
 Can the serializer be used?

Additional Inherited Members

Protected Member Functions inherited from blender::bke::idprop::IDPropertySerializer
std::shared_ptr< DictionaryValuecreate_dictionary (const IDProperty *id_property) const
 Create a new DictionaryValue instance.

Detailed Description

IDPSerializer for IDP_GROUP.

Definition at line 631 of file idprop_serialize.cc.

Constructor & Destructor Documentation

◆ IDPGroupSerializer()

blender::bke::idprop::IDPGroupSerializer::IDPGroupSerializer ( )
constexprdefault

Member Function Documentation

◆ entry_to_idprop()

◆ idprop_to_dictionary()

◆ property_type()

std::optional< eIDPropertyType > blender::bke::idprop::IDPGroupSerializer::property_type ( ) const
inlineoverridevirtual

return the IDPropertyType for (de)serializing.

Implements blender::bke::idprop::IDPropertySerializer.

Definition at line 640 of file idprop_serialize.cc.

References IDP_GROUP.

◆ type_name()

std::string blender::bke::idprop::IDPGroupSerializer::type_name ( ) const
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 635 of file idprop_serialize.cc.

References blender::bke::idprop::IDP_PROPERTY_TYPENAME_GROUP().


The documentation for this class was generated from the following file: