Blender V5.3
blender::ed::outliner::TreeElementStrip Class Reference

#include <tree_element_seq.hh>

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

Public Member Functions

 TreeElementStrip (TreeElement &legacy_te, Strip &strip)
bool expand_poll (const SpaceOutliner &) const override
void expand (SpaceOutliner &) const override
Strip & get_strip () const
std::optional< BIFIconID > get_icon () const override
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
TreeElement & get_legacy_element ()
virtual StringRefNull get_warning () const
void print_path ()

Static Public Member Functions

static const void * persistent_ptr (Strip &strip)
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static void uncollapse_by_default (TreeElement *legacy_te)

Static Public Attributes

static constexpr eTreeStoreElemType element_type = TSE_STRIP

Additional Inherited Members

Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
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 22 of file tree_element_seq.hh.

Constructor & Destructor Documentation

◆ TreeElementStrip()

Member Function Documentation

◆ expand()

void blender::ed::outliner::TreeElementStrip::expand ( SpaceOutliner & ) const
overridevirtual

Let the type add its own children.

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

Definition at line 34 of file tree_element_seq.cc.

References blender::ed::outliner::AbstractTreeElement::add_element(), and blender::STRIP_TYPE_META.

◆ expand_poll()

bool blender::ed::outliner::TreeElementStrip::expand_poll ( const SpaceOutliner & ) const
overridevirtual

Check if the type is expandable in current context.

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

Definition at line 29 of file tree_element_seq.cc.

◆ get_icon()

◆ get_strip()

◆ persistent_ptr()

const void * blender::ed::outliner::TreeElementStrip::persistent_ptr ( Strip & strip)
inlinestatic

Strips have no owner ID, identify them by the strip itself.

Definition at line 31 of file tree_element_seq.hh.

Member Data Documentation

◆ element_type

eTreeStoreElemType blender::ed::outliner::TreeElementStrip::element_type = TSE_STRIP
staticconstexpr

Definition at line 26 of file tree_element_seq.hh.


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