Blender V4.3
blender::asset_system::tests::TestableAssetCatalogDefinitionFile Class Reference

Inherits blender::asset_system::AssetCatalogDefinitionFile.

Public Member Functions

Map< CatalogID, AssetCatalog * > get_catalogs ()
 
- Public Member Functions inherited from blender::asset_system::AssetCatalogDefinitionFile
 AssetCatalogDefinitionFile (const CatalogFilePath &file_path)
 
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 catalog_loaded_callback)
 
std::unique_ptr< AssetCatalogDefinitionFilecopy_and_remap (const OwningAssetCatalogMap &catalogs, const OwningAssetCatalogMap &deleted_catalogs) const
 

Additional Inherited Members

- Public Types inherited from blender::asset_system::AssetCatalogDefinitionFile
using AssetCatalogParsedFn = FunctionRef<bool(std::unique_ptr<AssetCatalog>)>
 
- Public Attributes inherited from blender::asset_system::AssetCatalogDefinitionFile
const CatalogFilePath file_path
 
- Static Public Attributes inherited from blender::asset_system::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::asset_system::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::asset_system::AssetCatalogDefinitionFile
Map< CatalogID, AssetCatalog * > catalogs_
 

Detailed Description

Definition at line 1164 of file asset_catalog_test.cc.

Member Function Documentation

◆ get_catalogs()

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

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