Blender V4.3
blender::asset_system::AssetCatalogTree Class Reference

#include <AS_asset_catalog_tree.hh>

Public Member Functions

void insert_item (const AssetCatalog &catalog)
 
void foreach_item (ItemIterFn callback) const
 
void foreach_root_item (ItemIterFn callback) const
 
bool is_empty () const
 
const AssetCatalogTreeItemfind_item (const AssetCatalogPath &path) const
 
const AssetCatalogTreeItemfind_root_item (const AssetCatalogPath &path) const
 

Detailed Description

Definition at line 76 of file AS_asset_catalog_tree.hh.

Member Function Documentation

◆ find_item()

const AssetCatalogTreeItem * blender::asset_system::AssetCatalogTree::find_item ( const AssetCatalogPath & path) const

◆ find_root_item()

const AssetCatalogTreeItem * blender::asset_system::AssetCatalogTree::find_root_item ( const AssetCatalogPath & path) const

◆ foreach_item()

◆ foreach_root_item()

void blender::asset_system::AssetCatalogTree::foreach_root_item ( ItemIterFn callback) const

Iterate over root items calling callback for each of them, but do not recurse into their children.

Definition at line 123 of file asset_catalog_tree.cc.

References callback.

Referenced by blender::ed::asset::shelf::AssetCatalogSelectorTree::build_tree(), blender::ed::asset::shelf::AssetCatalogTreeView::build_tree(), blender::ed::asset_browser::AssetCatalogTreeView::build_tree(), and find_root_item().

◆ insert_item()

◆ is_empty()

bool blender::asset_system::AssetCatalogTree::is_empty ( ) const

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