|
Blender V4.3
|
#include <BLI_serialize.hh>
Inherits blender::io::serialize::Value.
Public Member Functions | |
| ArrayValue () | |
| void | append (std::shared_ptr< Value > value) |
| void | append_bool (bool value) |
| void | append_int (int value) |
| void | append_double (double value) |
| void | append_str (std::string value) |
| void | append_null () |
| std::shared_ptr< DictionaryValue > | append_dict () |
| std::shared_ptr< ArrayValue > | append_array () |
| Span< std::shared_ptr< Value > > | elements () const |
Public Member Functions inherited from blender::io::serialize::Value | |
| virtual | ~Value ()=default |
| eValueType | type () const |
| const StringValue * | as_string_value () const |
| const IntValue * | as_int_value () const |
| const DoubleValue * | as_double_value () const |
| const BooleanValue * | as_boolean_value () const |
| const EnumValue * | as_enum_value () const |
| const ArrayValue * | as_array_value () const |
| const DictionaryValue * | as_dictionary_value () const |
Additional Inherited Members | |
Protected Member Functions inherited from blender::io::serialize::Value | |
| Value ()=delete | |
| Value (eValueType type) | |
Definition at line 209 of file BLI_serialize.hh.
|
inline |
Definition at line 213 of file BLI_serialize.hh.
| void blender::io::serialize::ArrayValue::append | ( | std::shared_ptr< Value > | value | ) |
Definition at line 208 of file serialize.cc.
| std::shared_ptr< ArrayValue > blender::io::serialize::ArrayValue::append_array | ( | ) |
Definition at line 245 of file serialize.cc.
References append.
Referenced by blender::ed::asset::index::init_value_from_file_indexer_entry().
| void blender::io::serialize::ArrayValue::append_bool | ( | bool | value | ) |
Definition at line 213 of file serialize.cc.
References append.
Referenced by blender::io::serialize::json::testing::TEST().
| std::shared_ptr< DictionaryValue > blender::io::serialize::ArrayValue::append_dict | ( | ) |
Definition at line 238 of file serialize.cc.
References append.
| void blender::io::serialize::ArrayValue::append_double | ( | double | value | ) |
Definition at line 223 of file serialize.cc.
References append.
| void blender::io::serialize::ArrayValue::append_int | ( | int | value | ) |
Definition at line 218 of file serialize.cc.
References append.
Referenced by blender::io::serialize::json::testing::TEST().
| void blender::io::serialize::ArrayValue::append_null | ( | ) |
Definition at line 233 of file serialize.cc.
References append.
Referenced by blender::io::serialize::json::testing::TEST().
| void blender::io::serialize::ArrayValue::append_str | ( | std::string | value | ) |
Definition at line 228 of file serialize.cc.
References append.
Referenced by blender::ed::asset::index::init_value_from_file_indexer_entry(), and blender::io::serialize::json::testing::TEST().
Definition at line 224 of file BLI_serialize.hh.
Referenced by blender::bke::bake::deserialize_typed_array(), blender::ed::asset::index::init_indexer_entries_from_value(), blender::bke::bake::load_attributes(), blender::bke::bake::load_materials(), blender::bke::idprop::tests::test_array_to_value(), blender::bke::bake::try_load_grease_pencil(), and blender::bke::bake::try_load_instances().