Blender
V3.3
|
Public Member Functions | |
Map< CatalogID, AssetCatalog * > | get_catalogs () |
![]() | |
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< AssetCatalogDefinitionFile > | copy_and_remap (const OwningAssetCatalogMap &catalogs, const OwningAssetCatalogMap &deleted_catalogs) const |
Additional Inherited Members | |
![]() | |
using | AssetCatalogParsedFn = FunctionRef< bool(std::unique_ptr< AssetCatalog >)> |
![]() | |
CatalogFilePath | file_path |
![]() | |
static const int | SUPPORTED_VERSION = 1 |
static const std::string | VERSION_MARKER = "VERSION " |
static const std::string | HEADER |
![]() | |
bool | parse_version_line (StringRef line) |
std::unique_ptr< AssetCatalog > | parse_catalog_line (StringRef line) |
bool | write_to_disk_unsafe (const CatalogFilePath &dest_file_path) const |
bool | ensure_directory_exists (const CatalogFilePath directory_path) const |
![]() | |
Map< CatalogID, AssetCatalog * > | catalogs_ |
Definition at line 1416 of file asset_catalog_test.cc.
|
inline |
Definition at line 1418 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogDefinitionFile::catalogs_.
Referenced by blender::bke::tests::TEST_F().