Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::bke::idprop::DictionaryEntryParser Struct Reference

Helper class for parsing DictionaryValues. More...

Public Member Functions

 DictionaryEntryParser (const DictionaryValue &value)
 
std::optional< eIDPropertyTypeget_type () const
 
std::optional< eIDPropertyTypeget_subtype () const
 
std::optional< std::string > get_name () const
 
std::optional< std::string > get_string_value () const
 
std::optional< int32_tget_int_value () const
 
std::optional< floatget_float_value () const
 
std::optional< doubleget_double_value () const
 
const ArrayValueget_array_value () const
 
std::optional< Vector< int32_t > > get_array_int_value () const
 
std::optional< Vector< float > > get_array_float_value () const
 
std::optional< Vector< double > > get_array_double_value () const
 

Public Attributes

const DictionaryValue::Lookup lookup
 

Detailed Description

Helper class for parsing DictionaryValues.

Definition at line 101 of file idprop_serialize.cc.

Constructor & Destructor Documentation

◆ DictionaryEntryParser()

blender::bke::idprop::DictionaryEntryParser::DictionaryEntryParser ( const DictionaryValue value)
inlineexplicit

Definition at line 105 of file idprop_serialize.cc.

Member Function Documentation

◆ get_array_double_value()

std::optional<Vector<double> > blender::bke::idprop::DictionaryEntryParser::get_array_double_value ( ) const
inline

Definition at line 159 of file idprop_serialize.cc.

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

◆ get_array_float_value()

std::optional<Vector<float> > blender::bke::idprop::DictionaryEntryParser::get_array_float_value ( ) const
inline

Definition at line 154 of file idprop_serialize.cc.

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

◆ get_array_int_value()

std::optional<Vector<int32_t> > blender::bke::idprop::DictionaryEntryParser::get_array_int_value ( ) const
inline

Definition at line 149 of file idprop_serialize.cc.

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

◆ get_array_value()

const ArrayValue* blender::bke::idprop::DictionaryEntryParser::get_array_value ( ) const
inline

◆ get_double_value()

std::optional<double> blender::bke::idprop::DictionaryEntryParser::get_double_value ( ) const
inline

◆ get_float_value()

std::optional<float> blender::bke::idprop::DictionaryEntryParser::get_float_value ( ) const
inline

◆ get_int_value()

std::optional<int32_t> blender::bke::idprop::DictionaryEntryParser::get_int_value ( ) const
inline

◆ get_name()

std::optional<std::string> blender::bke::idprop::DictionaryEntryParser::get_name ( ) const
inline

◆ get_string_value()

std::optional<std::string> blender::bke::idprop::DictionaryEntryParser::get_string_value ( ) const
inline

◆ get_subtype()

std::optional<eIDPropertyType> blender::bke::idprop::DictionaryEntryParser::get_subtype ( ) const
inline

◆ get_type()

std::optional<eIDPropertyType> blender::bke::idprop::DictionaryEntryParser::get_type ( ) const
inline

Member Data Documentation

◆ lookup

const DictionaryValue::Lookup blender::bke::idprop::DictionaryEntryParser::lookup

Definition at line 102 of file idprop_serialize.cc.


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