Blender V4.3
blender::bke::idprop::IDPDoubleSerializer Class Reference

IDPSerializer for IDP_DOUBLE. More...

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

Public Member Functions

constexpr IDPDoubleSerializer ()=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_DOUBLE.

Definition at line 441 of file idprop_serialize.cc.

Constructor & Destructor Documentation

◆ IDPDoubleSerializer()

blender::bke::idprop::IDPDoubleSerializer::IDPDoubleSerializer ( )
constexprdefault

Member Function Documentation

◆ entry_to_idprop()

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

◆ idprop_to_dictionary()

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

◆ property_type()

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

return the IDPropertyType for (de)serializing.

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

Definition at line 450 of file idprop_serialize.cc.

References IDP_DOUBLE.

◆ type_name()

std::string blender::bke::idprop::IDPDoubleSerializer::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 445 of file idprop_serialize.cc.

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


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