36 class DerivedNodeTree;
80 const NodeRef *node_ref_ =
nullptr;
92 operator bool()
const;
119 operator bool()
const;
176 std::string
to_dot()
const;
189 namespace derived_node_tree_types {
190 using namespace node_tree_ref_types;
210 return parent_context_;
220 return children_.lookup_default(&
node,
nullptr);
225 return *derived_tree_;
230 return parent_context_ ==
nullptr;
238 : context_(
context), node_ref_(node_ref)
255 return a.context_ == b.context_ &&
a.node_ref_ == b.node_ref_;
263 inline DNode::operator bool()
const
265 return node_ref_ !=
nullptr;
283 : context_(
context), socket_ref_(socket_ref)
289 :
DSocket(input_socket.context_, input_socket.socket_ref_)
294 :
DSocket(output_socket.context_, output_socket.socket_ref_)
318 inline DSocket::operator bool()
const
320 return socket_ref_ !=
nullptr;
393 return *root_context_;
398 return used_node_tree_refs_;
const DTreeContext * context() const
const NodeRef * operator->() const
friend bool operator==(const DNode &a, const DNode &b)
const NodeRef * node_ref() const
friend bool operator!=(const DNode &a, const DNode &b)
void foreach_target_socket(FunctionRef< void(DInputSocket)> target_fn, FunctionRef< void(DSocket)> skipped_fn) const
DInputSocket get_corresponding_group_node_input() const
DInputSocket get_active_corresponding_group_output_socket() const
const OutputSocketRef * operator->() const
const OutputSocketRef * socket_ref() const
const SocketRef * socket_ref_
const SocketRef * socket_ref() const
const DTreeContext * context() const
const SocketRef * operator->() const
const DTreeContext * context_
friend bool operator==(const DSocket &a, const DSocket &b)
friend bool operator!=(const DSocket &a, const DSocket &b)
const DTreeContext * parent_context() const
const DTreeContext * child_context(const NodeRef &node) const
const NodeRef * parent_node() const
const DerivedNodeTree & derived_tree() const
const NodeTreeRef & tree() const
std::string to_dot() const
bool has_link_cycles() const
Span< const NodeTreeRef * > used_node_tree_refs() const
DerivedNodeTree(bNodeTree &btree, NodeTreeRefMap &node_tree_refs)
bool has_undefined_nodes_or_sockets() const
const DTreeContext & root_context() const
void foreach_node(FunctionRef< void(DNode)> callback) const
const NodeTreeRef & tree() const
const NodeRef & node() const
const NodeTreeRef & tree() const
DEGForeachIDComponentCallback callback
bool operator!=(const DNode &a, const DNode &b)
bool operator==(const DNode &a, const DNode &b)
uint64_t get_default_hash_2(const T1 &v1, const T2 &v2)
struct SELECTID_Context context
unsigned __int64 uint64_t