41 path = parent->name + std::string_view(
"/") + path;
44 std::cout << path << std::endl;
58 "Element not registered properly through AbstractTreeDisplay::add_element(), "
59 "cannot expand the tree further");
77 return display ? display->
add_id_element(resolved_params,
id) :
nullptr;
88 tree_element.
expand(space_outliner);
These structs are the foundation for all linked lists in the library system.
#define BLI_assert_msg(a, msg)
Base Class For Tree-Displays.
TreeElement * add_id_element(const TreeElementAddParams ¶ms, ID *id)
friend class AbstractTreeDisplay
AbstractTreeDisplay * display_
AbstractTreeElement(TreeElement &legacy_te)
virtual StringRefNull get_warning() const
friend void tree_element_expand(const AbstractTreeElement &tree_element, SpaceOutliner &space_outliner)
static void uncollapse_by_default(TreeElement *legacy_te)
virtual bool expand_poll(const SpaceOutliner &) const
virtual void expand(SpaceOutliner &) const
TreeElement * add_id_element(const TreeElementAddParams ¶ms, ID *id) const
virtual std::optional< BIFIconID > get_icon() const
Establish and manage Outliner trees for different display modes.