Blender
V4.3
source
blender
editors
space_outliner
tree
tree_iterator.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#include "
BLI_function_ref.hh
"
12
13
struct
ListBase
;
14
struct
SpaceOutliner
;
15
16
namespace
blender::ed::outliner
{
17
18
struct
TreeElement;
19
20
namespace
tree_iterator {
21
22
using
VisitorFn
=
FunctionRef
<void(
TreeElement
*)>;
23
28
void
all
(
const
SpaceOutliner
&space_outliner,
VisitorFn
visitor);
29
void
all
(
const
ListBase
&subtree,
VisitorFn
visitor);
30
35
void
all_open
(
const
SpaceOutliner
&,
VisitorFn
visitor);
36
void
all_open
(
const
SpaceOutliner
&,
const
ListBase
&subtree,
VisitorFn
visitor);
37
38
}
// namespace tree_iterator
39
}
// namespace blender::ed::outliner
BLI_function_ref.hh
blender::FunctionRef
Definition
BLI_function_ref.hh:74
blender::ed::outliner::tree_iterator::all_open
void all_open(const SpaceOutliner &space_outliner, const VisitorFn visitor)
Definition
tree_iterator.cc:37
blender::ed::outliner::tree_iterator::all
void all(const SpaceOutliner &space_outliner, const VisitorFn visitor)
Definition
tree_iterator.cc:19
blender::ed::outliner
Definition
outliner_collections.cc:42
ListBase
Definition
DNA_listBase.h:32
SpaceOutliner
Definition
DNA_space_types.h:289
blender::ed::outliner::TreeElement
Definition
outliner_intern.hh:84
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0