blob: 1415a5e21b70e28c3cc57695b7efbaf0c1048b9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "BLI_context_stack.hh"
namespace blender::bke {
class ModifierContextStack : public ContextStack {
private:
static constexpr const char *s_static_type = "MODIFIER";
std::string modifier_name_;
public:
ModifierContextStack(const ContextStack *parent, std::string modifier_name);
private:
void print_current_in_line(std::ostream &stream) const override;
};
class NodeGroupContextStack : public ContextStack {
private:
static constexpr const char *s_static_type = "NODE_GROUP";
std::string node_name_;
std::string debug_group_name_;
public:
NodeGroupContextStack(const ContextStack *parent,
std::string node_name,
std::string debug_group_name = "<unknown>");
StringRefNull node_name() const;
private:
void print_current_in_line(std::ostream &stream) const override;
};
} // namespace blender::bke
|