Blender
V3.3
source
blender
editors
space_outliner
tree
tree_iterator.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
7
#pragma once
8
9
#include "
BLI_function_ref.hh
"
10
11
struct
ListBase
;
12
struct
SpaceOutliner
;
13
struct
TreeElement
;
14
15
namespace
blender::ed::outliner
{
16
namespace
tree_iterator {
17
18
using
VisitorFn
=
FunctionRef
<
void
(
TreeElement
*)>;
19
24
void
all
(
const
SpaceOutliner
&space_outliner,
VisitorFn
visitor);
25
void
all
(
const
ListBase
&subtree,
VisitorFn
visitor);
26
31
void
all_open
(
const
SpaceOutliner
&,
VisitorFn
visitor);
32
void
all_open
(
const
SpaceOutliner
&,
const
ListBase
&subtree,
VisitorFn
visitor);
33
34
}
// namespace tree_iterator
35
}
// namespace blender::ed::outliner
BLI_function_ref.hh
blender::FunctionRef
Definition:
BLI_function_ref.hh:73
void
SyclQueue void void size_t num_bytes void
Definition:
dll_interface_template.h:38
blender::ed::outliner::tree_iterator::all_open
void all_open(const SpaceOutliner &space_outliner, const VisitorFn visitor)
Definition:
tree_iterator.cc:35
blender::ed::outliner::tree_iterator::all
void all(const SpaceOutliner &space_outliner, const VisitorFn visitor)
Definition:
tree_iterator.cc:17
blender::ed::outliner
Definition:
outliner_intern.hh:40
ListBase
Definition:
DNA_listBase.h:30
SpaceOutliner
Definition:
DNA_space_types.h:259
TreeElement
Definition:
outliner_intern.hh:79
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1