Blender V5.3
blender::ed::outliner::TreeElementIDBase Struct Referencefinal

#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 &params, Args &&...args) const
TreeElement * add_id_element (const TreeElementAddParams &params, ID *id) const
Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElement & legacy_te_
AbstractTreeDisplay * display_

Detailed Description

Definition at line 19 of file tree_element_id_base.hh.

Constructor & Destructor Documentation

◆ TreeElementIDBase()

Member Data Documentation

◆ allow_null_identity

bool blender::ed::outliner::TreeElementIDBase::allow_null_identity = true
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.

◆ element_type

eTreeStoreElemType blender::ed::outliner::TreeElementIDBase::element_type = TSE_ID_BASE
staticconstexpr

Definition at line 22 of file tree_element_id_base.hh.


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