Blender  V3.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::ed::outliner::TreeElementID Class Reference

#include <tree_element_id.hh>

Inheritance diagram for blender::ed::outliner::TreeElementID:
blender::ed::outliner::AbstractTreeElement blender::ed::outliner::TreeElementIDLibrary blender::ed::outliner::TreeElementIDScene

Public Member Functions

 TreeElementID (TreeElement &legacy_te, ID &id)
 
bool expandPoll (const SpaceOutliner &) const override
 
bool isExpandValid () const override
 
ID & get_ID ()
 
- Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
 
TreeElement & getLegacyElement ()
 
virtual StringRefNull getWarning () const
 
virtual std::optional< BIFIconID > getIcon () const
 

Static Public Member Functions

static std::unique_ptr< TreeElementID > createFromID (TreeElement &legacy_te, ID &id)
 
- Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static std::unique_ptr< AbstractTreeElement > createFromType (int type, TreeElement &legacy_te, void *idv)
 
static void uncollapse_by_default (TreeElement *legacy_te)
 

Protected Member Functions

void expand_animation_data (SpaceOutliner &, const AnimData *) const
 
- Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
 
virtual void expand (SpaceOutliner &) const
 

Protected Attributes

ID & id_
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElement & legacy_te_
 

Detailed Description

Definition at line 18 of file tree_element_id.hh.

Constructor & Destructor Documentation

◆ TreeElementID()

blender::ed::outliner::TreeElementID::TreeElementID ( TreeElement &  legacy_te,
ID &  id 
)

Member Function Documentation

◆ createFromID()

std::unique_ptr< TreeElementID > blender::ed::outliner::TreeElementID::createFromID ( TreeElement &  legacy_te,
ID &  id 
)
static

◆ expand_animation_data()

void blender::ed::outliner::TreeElementID::expand_animation_data ( SpaceOutliner &  space_outliner,
const AnimData *  anim_data 
) const
protected

◆ expandPoll()

bool blender::ed::outliner::TreeElementID::expandPoll ( const SpaceOutliner &  ) const
overridevirtual

◆ get_ID()

ID& blender::ed::outliner::TreeElementID::get_ID ( )
inline

Definition at line 38 of file tree_element_id.hh.

References id_.

Referenced by outliner_draw_overrides_restrictbuts().

◆ isExpandValid()

bool blender::ed::outliner::TreeElementID::isExpandValid ( ) const
inlineoverridevirtual

Expanding not implemented for all types yet. Once it is, this can be set to true or AbstractTreeElement::expandValid() can be removed altogether.

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

Reimplemented in blender::ed::outliner::TreeElementIDScene, and blender::ed::outliner::TreeElementIDLibrary.

Definition at line 33 of file tree_element_id.hh.

Member Data Documentation

◆ id_

ID& blender::ed::outliner::TreeElementID::id_
protected

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