Blender  V3.3
Public Member Functions | List of all members
blender::bke::tests::TestableAssetCatalogDefinitionFile Class Reference
Inheritance diagram for blender::bke::tests::TestableAssetCatalogDefinitionFile:
blender::bke::AssetCatalogDefinitionFile

Public Member Functions

Map< CatalogID, AssetCatalog * > get_catalogs ()
 
- Public Member Functions inherited from blender::bke::AssetCatalogDefinitionFile
 AssetCatalogDefinitionFile ()=default
 
bool write_to_disk () const
 
bool write_to_disk (const CatalogFilePath &dest_file_path) const
 
bool contains (CatalogID catalog_id) const
 
void add_overwrite (AssetCatalog *catalog)
 
void add_new (AssetCatalog *catalog)
 
void forget (CatalogID catalog_id)
 
void parse_catalog_file (const CatalogFilePath &catalog_definition_file_path, AssetCatalogParsedFn callback)
 
std::unique_ptr< AssetCatalogDefinitionFilecopy_and_remap (const OwningAssetCatalogMap &catalogs, const OwningAssetCatalogMap &deleted_catalogs) const
 

Additional Inherited Members

- Public Types inherited from blender::bke::AssetCatalogDefinitionFile
using AssetCatalogParsedFn = FunctionRef< bool(std::unique_ptr< AssetCatalog >)>
 
- Public Attributes inherited from blender::bke::AssetCatalogDefinitionFile
CatalogFilePath file_path
 
- Static Public Attributes inherited from blender::bke::AssetCatalogDefinitionFile
static const int SUPPORTED_VERSION = 1
 
static const std::string VERSION_MARKER = "VERSION "
 
static const std::string HEADER
 
- Protected Member Functions inherited from blender::bke::AssetCatalogDefinitionFile
bool parse_version_line (StringRef line)
 
std::unique_ptr< AssetCatalogparse_catalog_line (StringRef line)
 
bool write_to_disk_unsafe (const CatalogFilePath &dest_file_path) const
 
bool ensure_directory_exists (const CatalogFilePath directory_path) const
 
- Protected Attributes inherited from blender::bke::AssetCatalogDefinitionFile
Map< CatalogID, AssetCatalog * > catalogs_
 

Detailed Description

Definition at line 1416 of file asset_catalog_test.cc.

Member Function Documentation

◆ get_catalogs()

Map<CatalogID, AssetCatalog *> blender::bke::tests::TestableAssetCatalogDefinitionFile::get_catalogs ( )
inline

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