|
Blender V5.3
|
#include <node_intern.hh>
Public Member Functions | |
| MutableNodeAndSocket (bNode &node, const StringRef socket_identifier, const eNodeSocketInOut in_out, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| MutableNodeAndSocket (bNode &node, bNodeSocket &socket, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| MutableNodeAndSocket (bNodeSocket &socket, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| NodeAndSocket | operator() () const |
| bool | is_input () const |
| bool | is_output () const |
| const bNodeSocket * | find_socket_in_node (const bNode &other_node) const |
| bNodeSocket * | find_socket_in_node (bNode &other_node) const |
| bNodeSocket * | find_socket () const |
Public Attributes | |
| bNode & | node |
| std::string | socket_identifier |
| eNodeSocketInOut | in_out |
| bool | link_muted |
| std::optional< int > | multi_input_sort_id |
Friends | |
| bool | operator== (const MutableNodeAndSocket &a, const MutableNodeAndSocket &b) |
Utility for referencing a mutable socket and its owner node.
Definition at line 121 of file node_intern.hh.
|
inline |
Definition at line 128 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
Referenced by operator==.
|
inline |
Definition at line 140 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
|
inline |
Definition at line 151 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
|
inline |
Definition at line 180 of file node_intern.hh.
References find_socket_in_node().
| bNodeSocket * blender::MutableNodeAndSocket::find_socket_in_node | ( | bNode & | other_node | ) | const |
Definition at line 80 of file node_copy_util.cc.
References find_socket_in_node().
| const bNodeSocket * blender::MutableNodeAndSocket::find_socket_in_node | ( | const bNode & | other_node | ) | const |
Definition at line 71 of file node_copy_util.cc.
References blender::BLI_findstring(), in_out, blender::bNode::inputs, offsetof, blender::bNode::outputs, blender::SOCK_IN, and socket_identifier.
Referenced by find_socket(), and find_socket_in_node().
|
inline |
Definition at line 167 of file node_intern.hh.
References in_out, and blender::SOCK_IN.
|
inline |
Definition at line 172 of file node_intern.hh.
References in_out, and blender::SOCK_OUT.
|
inline |
Definition at line 162 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
|
friend |
Definition at line 185 of file node_intern.hh.
References b, in_out, link_muted, multi_input_sort_id, MutableNodeAndSocket(), node, and socket_identifier.
| eNodeSocketInOut blender::MutableNodeAndSocket::in_out |
Definition at line 124 of file node_intern.hh.
Referenced by find_socket_in_node(), is_input(), is_output(), MutableNodeAndSocket(), MutableNodeAndSocket(), MutableNodeAndSocket(), blender::DefaultHash< MutableNodeAndSocket >::operator()(), operator()(), and operator==.
| bool blender::MutableNodeAndSocket::link_muted |
Definition at line 125 of file node_intern.hh.
Referenced by MutableNodeAndSocket(), MutableNodeAndSocket(), MutableNodeAndSocket(), blender::DefaultHash< MutableNodeAndSocket >::operator()(), operator()(), and operator==.
| std::optional<int> blender::MutableNodeAndSocket::multi_input_sort_id |
Definition at line 126 of file node_intern.hh.
Referenced by MutableNodeAndSocket(), MutableNodeAndSocket(), MutableNodeAndSocket(), blender::DefaultHash< MutableNodeAndSocket >::operator()(), operator()(), and operator==.
| bNode& blender::MutableNodeAndSocket::node |
Definition at line 122 of file node_intern.hh.
Referenced by MutableNodeAndSocket(), MutableNodeAndSocket(), MutableNodeAndSocket(), blender::DefaultHash< MutableNodeAndSocket >::operator()(), operator()(), and operator==.
| std::string blender::MutableNodeAndSocket::socket_identifier |
Definition at line 123 of file node_intern.hh.
Referenced by find_socket_in_node(), MutableNodeAndSocket(), MutableNodeAndSocket(), MutableNodeAndSocket(), blender::DefaultHash< MutableNodeAndSocket >::operator()(), operator()(), and operator==.