Blender
V4.5
source
blender
nodes
NOD_socket_interface_key.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2025 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include <string>
8
9
#include "
BLI_vector.hh
"
10
11
namespace
blender::nodes
{
12
19
class
SocketInterfaceKey
{
20
private
:
22
Vector<std::string>
identifiers_;
23
24
public
:
25
explicit
SocketInterfaceKey
(
Vector<std::string>
identifiers
);
26
explicit
SocketInterfaceKey
(std::string identifier);
27
28
bool
matches
(
const
SocketInterfaceKey
&other)
const
;
29
Span<std::string>
identifiers
()
const
;
30
};
31
32
}
// namespace blender::nodes
BLI_vector.hh
blender::Span
Definition
BLI_span.hh:74
blender::Vector
Definition
BLI_vector.hh:76
blender::nodes::SocketInterfaceKey::matches
bool matches(const SocketInterfaceKey &other) const
Definition
blenkernel/intern/geometry_nodes_bundle.cc:26
blender::nodes::SocketInterfaceKey::SocketInterfaceKey
SocketInterfaceKey(Vector< std::string > identifiers)
Definition
blenkernel/intern/geometry_nodes_bundle.cc:15
blender::nodes::SocketInterfaceKey::identifiers
Span< std::string > identifiers() const
Definition
blenkernel/intern/geometry_nodes_bundle.cc:21
blender::nodes
Definition
BKE_compute_contexts.hh:29
Generated on
for Blender by
doxygen
1.15.0