|
Blender V5.3
|
#include <tree_element_id_base.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
| TreeElementIDBase (TreeElement &legacy_te) | |
| Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| virtual | ~AbstractTreeElement ()=default |
| virtual bool | expand_poll (const SpaceOutliner &) const |
| TreeElement & | get_legacy_element () |
| virtual StringRefNull | get_warning () const |
| virtual std::optional< BIFIconID > | get_icon () const |
| void | print_path () |
Static Public Attributes | |
| static constexpr eTreeStoreElemType | element_type = TSE_ID_BASE |
| static constexpr bool | allow_null_identity = true |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
| Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| virtual void | expand (SpaceOutliner &) const |
| template<typename ElementType, typename... Args> | |
| TreeElement * | add_element (const TreeElementAddParams ¶ms, Args &&...args) const |
| TreeElement * | add_id_element (const TreeElementAddParams ¶ms, ID *id) const |
| Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 19 of file tree_element_id_base.hh.
| blender::ed::outliner::TreeElementIDBase::TreeElementIDBase | ( | TreeElement & | legacy_te | ) |
Definition at line 15 of file tree_element_id_base.cc.
References blender::ed::outliner::AbstractTreeElement::AbstractTreeElement(), blender::BLI_assert(), blender::ed::outliner::TreeElement::name, blender::ed::outliner::TreeElement::store_elem, blender::TSE_ID_BASE, and blender::TreeStoreElem::type.
|
staticconstexpr |
ID base elements are usually identified by a pointer the caller nominates (the ListBase of the IDs, the Main, ...), but some are pure placeholders with nothing to identify them by.
Definition at line 27 of file tree_element_id_base.hh.
|
staticconstexpr |
Definition at line 22 of file tree_element_id_base.hh.