Blender  V3.3
Public Member Functions | List of all members
blender::bke::idprop::IDPGroupSerializer Class Reference

IDPSerializer for IDP_GROUP. More...

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

Additional Inherited Members

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

Detailed Description

IDPSerializer for IDP_GROUP.

Definition at line 591 of file idprop_serialize.cc.

Constructor & Destructor Documentation

◆ IDPGroupSerializer()

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

Member Function Documentation

◆ entry_to_idprop()

std::unique_ptr<IDProperty, IDPropertyDeleter> blender::bke::idprop::IDPGroupSerializer::entry_to_idprop ( DictionaryEntryParser entry_reader) const
inlineoverridevirtual

◆ idprop_to_dictionary()

std::shared_ptr<DictionaryValue> blender::bke::idprop::IDPGroupSerializer::idprop_to_dictionary ( const struct IDProperty id_property) const
inlineoverridevirtual

◆ 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 600 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 595 of file idprop_serialize.cc.

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


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