Blender V5.0
blender::ed::outliner::TreeElementRNAProperty Class Reference

#include <tree_element_rna.hh>

Inherits blender::ed::outliner::TreeElementRNACommon.

Public Member Functions

 TreeElementRNAProperty (TreeElement &legacy_te, PointerRNA &rna_ptr, int index)
void expand (SpaceOutliner &space_outliner) const override
PropertyRNAget_property_rna () const override
Public Member Functions inherited from blender::ed::outliner::TreeElementRNACommon
 TreeElementRNACommon (TreeElement &legacy_te, PointerRNA &rna_ptr)
bool expand_poll (const SpaceOutliner &) const override
const PointerRNAget_pointer_rna () const
bool is_rna_valid () const
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
TreeElementget_legacy_element ()
virtual StringRefNull get_warning () const
virtual std::optional< BIFIconIDget_icon () const
void print_path ()

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::TreeElementRNACommon
PointerRNA rna_ptr_
Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElementlegacy_te_
AbstractTreeDisplaydisplay_
Static Protected Attributes inherited from blender::ed::outliner::TreeElementRNACommon
static constexpr int max_index = std::numeric_limits<short>::max()

Detailed Description

Definition at line 53 of file tree_element_rna.hh.

Constructor & Destructor Documentation

◆ TreeElementRNAProperty()

Member Function Documentation

◆ expand()

◆ get_property_rna()

PropertyRNA * blender::ed::outliner::TreeElementRNAProperty::get_property_rna ( ) const
overridevirtual

If this element represents a property or is part of a property (array element), this returns the property. Otherwise nullptr.

Reimplemented from blender::ed::outliner::TreeElementRNACommon.

Definition at line 206 of file tree_element_rna.cc.

Referenced by blender::ed::outliner::TreeElementRNAStruct::expand(), and blender::ed::outliner::TreeElementRNAArrayElement::get_property_rna().


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