|
Blender
V3.3
|
#include <BLI_serialize.hh>
Public Types | |
| using | LookupValue = std::shared_ptr< Value > |
| using | Lookup = Map< std::string, LookupValue > |
Public Types inherited from blender::io::serialize::ContainerValue< Vector< DictionaryElementType >, eValueType::Dictionary > | |
| using | Items = Vector< DictionaryElementType > |
| using | Item = ContainerItem |
Public Member Functions | |
| const Lookup | create_lookup () const |
Public Member Functions inherited from blender::io::serialize::ContainerValue< Vector< DictionaryElementType >, eValueType::Dictionary > | |
| ContainerValue () | |
| const Vector< DictionaryElementType > & | elements () const |
| Vector< DictionaryElementType > & | elements () |
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 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) | |
Object is a key-value container where the key must be a std::string. Internally it is stored in a blender::Vector to ensure the order of keys.
Definition at line 264 of file BLI_serialize.hh.
| using blender::io::serialize::DictionaryValue::Lookup = Map<std::string, LookupValue> |
Definition at line 268 of file BLI_serialize.hh.
| using blender::io::serialize::DictionaryValue::LookupValue = std::shared_ptr<Value> |
Definition at line 267 of file BLI_serialize.hh.
|
inline |
Return a lookup map to quickly lookup by key.
The lookup is owned by the caller.
Definition at line 275 of file BLI_serialize.hh.
References blender::io::serialize::ContainerValue< Vector< DictionaryElementType >, eValueType::Dictionary >::elements(), and result.
Referenced by blender::ed::asset::index::AssetIndex::get_version(), and blender::ed::asset::index::init_indexer_entries_from_value().