Blender V5.0
blender::asset_system::tests::TestableAssetCatalogCollection Class Reference

Inherits blender::asset_system::AssetCatalogCollection.

Public Member Functions

OwningAssetCatalogMapget_catalogs ()
OwningAssetCatalogMapget_deleted_catalogs ()
AssetCatalogDefinitionFileget_catalog_definition_file ()
AssetCatalogDefinitionFileallocate_catalog_definition_file (StringRef file_path)
Public Member Functions inherited from blender::asset_system::AssetCatalogCollection
 AssetCatalogCollection ()=default
 AssetCatalogCollection (const AssetCatalogCollection &other)=delete
 AssetCatalogCollection (AssetCatalogCollection &&other) noexcept=default
bool is_empty () const
std::unique_ptr< AssetCatalogCollectiondeep_copy () const
void add_catalogs_from_existing (const AssetCatalogCollection &other, OnDuplicateCatalogIdFn on_duplicate_items)

Additional Inherited Members

Public Types inherited from blender::asset_system::AssetCatalogCollection
using OnDuplicateCatalogIdFn
Static Protected Member Functions inherited from blender::asset_system::AssetCatalogCollection
static OwningAssetCatalogMap copy_catalog_map (const OwningAssetCatalogMap &orig)
Protected Attributes inherited from blender::asset_system::AssetCatalogCollection
OwningAssetCatalogMap catalogs_
OwningAssetCatalogMap deleted_catalogs_
std::unique_ptr< AssetCatalogDefinitionFilecatalog_definition_file_
bool has_unsaved_changes_ = false
friend AssetCatalogService
friend AssetLibraryService

Detailed Description

Definition at line 1112 of file asset_catalog_test.cc.

Member Function Documentation

◆ allocate_catalog_definition_file()

AssetCatalogDefinitionFile * blender::asset_system::tests::TestableAssetCatalogCollection::allocate_catalog_definition_file ( StringRef file_path)
inline

◆ get_catalog_definition_file()

AssetCatalogDefinitionFile * blender::asset_system::tests::TestableAssetCatalogCollection::get_catalog_definition_file ( )
inline

◆ get_catalogs()

OwningAssetCatalogMap & blender::asset_system::tests::TestableAssetCatalogCollection::get_catalogs ( )
inline

◆ get_deleted_catalogs()

OwningAssetCatalogMap & blender::asset_system::tests::TestableAssetCatalogCollection::get_deleted_catalogs ( )
inline

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