Blender
V3.3
|
Single entry inside a #AssetIndexFile for reading. More...
Public Member Functions | |
AssetEntryReader (const DictionaryValue &entry) | |
ID_Type | get_idcode () const |
StringRef | get_name () const |
bool | has_description () const |
StringRefNull | get_description () const |
bool | has_author () const |
StringRefNull | get_author () const |
StringRefNull | get_catalog_name () const |
CatalogID | get_catalog_id () const |
void | add_tags_to_meta_data (AssetMetaData *asset_data) const |
void | add_properties_to_meta_data (AssetMetaData *asset_data) const |
Single entry inside a #AssetIndexFile for reading.
Definition at line 132 of file asset_indexer.cc.
|
inline |
Definition at line 145 of file asset_indexer.cc.
|
inline |
Definition at line 209 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_PROPERTIES(), BLI_assert, blender::bke::idprop::convert_from_serialize_value(), blender::bke::attribute_accessor_functions::lookup(), and AssetMetaData::properties.
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 194 of file asset_indexer.cc.
References blender::io::serialize::Value::as_array_value(), blender::ed::asset::index::ATTRIBUTE_ENTRIES_TAGS(), BKE_asset_metadata_tag_add(), blender::StringRefNull::c_str(), blender::io::serialize::ContainerValue< Container, V, ContainerItem >::elements(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 176 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_AUTHOR(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 186 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_CATALOG_ID(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 181 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_CATALOG_NAME(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 166 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_DESCRIPTION(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 149 of file asset_indexer.cc.
References blender::StringRefNull::c_str(), and GS.
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 155 of file asset_indexer.cc.
References blender::StringRefBase::substr().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 171 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_AUTHOR(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().
|
inline |
Definition at line 161 of file asset_indexer.cc.
References blender::ed::asset::index::ATTRIBUTE_ENTRIES_DESCRIPTION(), and blender::bke::attribute_accessor_functions::lookup().
Referenced by blender::ed::asset::index::init_indexer_entry_from_value().