Blender V4.3
blender::ed::outliner::TreeElementOverridesBase Class Referencefinal

#include <tree_element_overrides.hh>

Inherits blender::ed::outliner::AbstractTreeElement.

Public Member Functions

Base Element

Represents an ID that has overridden properties. The expanding will invoke building of tree elements for the full RNA path of the property.

 TreeElementOverridesBase (TreeElement &legacy_te, ID &id)
 
void expand (SpaceOutliner &) const override
 
StringRefNull get_warning () const override
 
- Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
 
virtual bool expand_poll (const SpaceOutliner &) const
 
TreeElementget_legacy_element ()
 
virtual std::optional< BIFIconIDget_icon () const
 
void print_path ()
 

Public Attributes

IDid
 

Additional Inherited Members

- Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static std::unique_ptr< AbstractTreeElementcreate_from_type (int type, TreeElement &legacy_te, ID *owner_id, void *create_data)
 
static void uncollapse_by_default (TreeElement *legacy_te)
 
- Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
 
TreeElementadd_element (ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) const
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElementlegacy_te_
 
AbstractTreeDisplaydisplay_
 

Detailed Description

Definition at line 37 of file tree_element_overrides.hh.

Constructor & Destructor Documentation

◆ TreeElementOverridesBase()

Member Function Documentation

◆ expand()

◆ get_warning()

StringRefNull blender::ed::outliner::TreeElementOverridesBase::get_warning ( ) const
overridevirtual

By letting this return a warning message, the tree element will display a warning icon with the message in the tooltip.

Reimplemented from blender::ed::outliner::AbstractTreeElement.

Definition at line 77 of file tree_element_overrides.cc.

References flag, ID_FLAG_LIB_OVERRIDE_RESYNC_LEFTOVER, ID_IS_OVERRIDE_LIBRARY_REAL, ID_REAL_USERS, and RPT_.

Member Data Documentation

◆ id

ID& blender::ed::outliner::TreeElementOverridesBase::id

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