Blender V4.3
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
13struct ListBase;
14struct SpaceOutliner;
15
16namespace blender::ed::outliner {
17
18struct TreeElement;
19
20namespace tree_iterator {
21
23
28void all(const SpaceOutliner &space_outliner, VisitorFn visitor);
29void all(const ListBase &subtree, VisitorFn visitor);
30
35void all_open(const SpaceOutliner &, VisitorFn visitor);
36void all_open(const SpaceOutliner &, const ListBase &subtree, VisitorFn visitor);
37
38} // namespace tree_iterator
39} // namespace blender::ed::outliner
void all_open(const SpaceOutliner &space_outliner, const VisitorFn visitor)
void all(const SpaceOutliner &space_outliner, const VisitorFn visitor)