Blender
V5.3
source
blender
editors
space_outliner
tree
tree_element_view_collection.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
8
9
#pragma once
10
11
#include "
DNA_outliner_types.h
"
12
13
#include "
tree_element.hh
"
14
15
namespace
blender
{
16
17
struct
Scene
;
18
19
namespace
ed::outliner
{
20
21
class
TreeElementViewCollectionBase
final
:
public
AbstractTreeElement
{
22
/* Not needed right now, avoid unused member variable warning. */
23
// Scene &scene_;
24
25
public
:
26
static
constexpr
eTreeStoreElemType
element_type
=
TSE_VIEW_COLLECTION_BASE
;
27
28
TreeElementViewCollectionBase
(
TreeElement
&legacy_te,
Scene
&scene);
29
32
static
ID
*
owner_id
(
Scene
&scene);
33
};
34
35
}
// namespace ed::outliner
36
}
// namespace blender
final
#define final(a, b, c)
Definition
BLI_hash_c.hh:21
DNA_outliner_types.h
blender::ed::outliner::AbstractTreeElement::AbstractTreeElement
AbstractTreeElement(TreeElement &legacy_te)
Definition
tree_element.hh:101
blender::ed::outliner::TreeElementViewCollectionBase::element_type
static constexpr eTreeStoreElemType element_type
Definition
tree_element_view_collection.hh:26
blender::ed::outliner::TreeElementViewCollectionBase::owner_id
static ID * owner_id(Scene &scene)
Definition
tree_element_view_collection.cc:28
blender::ed::outliner::TreeElementViewCollectionBase::TreeElementViewCollectionBase
TreeElementViewCollectionBase(TreeElement &legacy_te, Scene &scene)
Definition
tree_element_view_collection.cc:20
blender::ed::outliner
Definition
outliner_collections.cc:51
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::eTreeStoreElemType
eTreeStoreElemType
Definition
DNA_outliner_types.h:39
blender::TSE_VIEW_COLLECTION_BASE
@ TSE_VIEW_COLLECTION_BASE
Definition
DNA_outliner_types.h:91
blender::ID
Definition
DNA_ID.h:415
blender::Scene
Definition
DNA_scene_types.h:2876
blender::ed::outliner::TreeElement
Definition
outliner_intern.hh:111
tree_element.hh
Generated on
for Blender by
doxygen
1.18.0