Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::bke::AssetCatalogFilter Class Reference

#include <BKE_asset_catalog.hh>

Public Member Functions

bool contains (CatalogID asset_catalog_id) const
 
bool is_known (CatalogID asset_catalog_id) const
 

Protected Member Functions

 AssetCatalogFilter (Set< CatalogID > &&matching_catalog_ids, Set< CatalogID > &&known_catalog_ids)
 

Protected Attributes

friend AssetCatalogService
 
const Set< CatalogIDmatching_catalog_ids
 
const Set< CatalogIDknown_catalog_ids
 

Detailed Description

Filter that can determine whether an asset should be visible or not, based on its catalog ID.

See also
AssetCatalogService::create_catalog_filter()

Definition at line 503 of file BKE_asset_catalog.hh.

Constructor & Destructor Documentation

◆ AssetCatalogFilter()

blender::bke::AssetCatalogFilter::AssetCatalogFilter ( Set< CatalogID > &&  matching_catalog_ids,
Set< CatalogID > &&  known_catalog_ids 
)
explicitprotected

Definition at line 1082 of file blenkernel/intern/asset_catalog.cc.

Member Function Documentation

◆ contains()

bool blender::bke::AssetCatalogFilter::contains ( CatalogID  asset_catalog_id) const

Definition at line 1089 of file blenkernel/intern/asset_catalog.cc.

References matching_catalog_ids.

◆ is_known()

bool blender::bke::AssetCatalogFilter::is_known ( CatalogID  asset_catalog_id) const

Definition at line 1094 of file blenkernel/intern/asset_catalog.cc.

References BLI_uuid_is_nil(), and known_catalog_ids.

Member Data Documentation

◆ AssetCatalogService

friend blender::bke::AssetCatalogFilter::AssetCatalogService
protected

Definition at line 511 of file BKE_asset_catalog.hh.

◆ known_catalog_ids

const Set<CatalogID> blender::bke::AssetCatalogFilter::known_catalog_ids
protected

Definition at line 513 of file BKE_asset_catalog.hh.

Referenced by is_known().

◆ matching_catalog_ids

const Set<CatalogID> blender::bke::AssetCatalogFilter::matching_catalog_ids
protected

Definition at line 512 of file BKE_asset_catalog.hh.

Referenced by contains().


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