|
| | UN_Node ()=default |
| | Constructs a handle for an invalid node. More...
|
| |
| | UN_Node (UN_GraphData *graph_data, UN_NodeID node_id) |
| | Constructs a handle referencing the given node in the given graph. More...
|
| |
| UN_Graph | graph () const |
| | Returns the graph within which this node exists. More...
|
| |
| void | setName (const UT_StringRef &name) const |
| | Sets the node name that differentiates it among its siblings. More...
|
| |
| void | setTypeName (const UT_StringRef &type_name) const |
| | Sets the node's type that determines its functional behavour. More...
|
| |
| void | setSignature (const UT_StringRef &signature_name) const |
| | Sets the signature on the node. More...
|
| |
| void | setComment (const UT_StringRef &comment) const |
| | Sets the comment on the node. The comment can show up in network editor. More...
|
| |
| void | setPosition (const UT_Vector2D &position) const |
| | Sets the node's location. Used for the node position in network editor. More...
|
| |
| void | setColor (const UT_Color &color) const |
| | Sets the node's color. The color is used in network editor. More...
|
| |
| void | setTags (const UT_StringArray &tags) const |
| | Sets the tags for the node (copy-assignment). More...
|
| |
| void | setTags (UT_StringArray &&tags) const |
| | Sets the tags for the node (move-assignment). More...
|
| |
| UT_StringArray | stealTags () const |
| |
| template<typename OP > |
| void | updateTags (const OP &op) const |
| |
| void | setMetadata (const UN_MetadataHolder &metadata) const |
| | Sets the metadata for the node (copy-assignment). More...
|
| |
| void | setMetadata (UN_MetadataHolder &&metadata) const |
| | Sets the metadata for the node (move-assignment). More...
|
| |
| UN_MetadataHolder | stealMetadata () const |
| | Returns the metadata moved out of the node. More...
|
| |
| template<typename OP > |
| void | updateMetadata (const OP &op) const |
| |
| void | updateMetadata (const UT_StringHolder &key, UT_OptionEntryPtr &&value) |
| | Simpler method to update a single metadata value in-place. More...
|
| |
| void | destroy () const |
| | Deletes this node from the graph. More...
|
| |
| UN_Parm | createParm (const UT_StringRef &parm_name, const UT_StringRef &parm_type_name=UN_UNDEFINED_PARM_TYPE_NAME.asRef()) const |
| |
| UN_Port | createPort (UN_PortKind port_kind, const UT_StringRef &port_name=UT_StringRef(), const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef(), const UT_Optional< exint > &index=std::nullopt) const |
| |
| UN_Port | findOrCreatePort (UN_PortKind port_kind, const UT_StringRef &port_name, const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef()) const |
| |
| UN_Port | createInputPort (const UT_StringRef &port_name=UT_StringRef(), const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef(), const UT_Optional< exint > &index=std::nullopt) const |
| |
| UN_Port | findOrCreateInputPort (const UT_StringRef &port_name, const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef()) const |
| |
| UN_Port | createOutputPort (const UT_StringRef &port_name=UT_StringRef(), const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef(), const UT_Optional< exint > &index=std::nullopt) const |
| |
| UN_Port | findOrCreateOutputPort (const UT_StringRef &port_name, const UT_StringRef &port_type_name=UN_UNDEFINED_PORT_TYPE_NAME.asRef(), const UT_StringRef &port_label=UT_StringRef()) const |
| |
| UN_Node | createChildNode (const UT_StringRef &child_name=UT_StringRef(), const UT_StringRef &child_type=UT_StringRef(), const UT_StringRef &child_category=UT_StringRef()) const |
| | Creates and returns a new node that is a child of this node. More...
|
| |
| void | deleteChildNode (const UT_StringRef &child_name) const |
| | Deletes the child node from the graph (removing it from this network). More...
|
| |
| UN_StickyNote | createChildStickyNote (const UT_StringRef ¬e_name=UT_StringRef(), const UT_StringRef ¬e_text=UT_StringRef()) const |
| | Creates and returns a new sticky note that is a child of this node. More...
|
| |
| void | deleteChildStickyNote (const UT_StringRef &sticky_note_name) const |
| |
| void | setFromOptions (const UN_Options &node_opts) const |
| | Configure the node based on the given options. More...
|
| |
|
| bool | operator== (const UN_Node &other) const |
| | Comparison operators. More...
|
| |
| bool | operator!= (const UN_Node &other) const |
| | Comparison operators. More...
|
| |
| UN_NodeID | nodeID () const |
| | Returns the unique ID of the node this handle refers to. More...
|
| |
| UN_Node | parent () const |
| |
| UN_Node | nonRootParent () const |
| |
| const UT_StringHolder & | name () const |
| | Returns the node name that differentiates it among its siblings. More...
|
| |
| const UT_StringHolder & | typeName () const |
| | Returns the node's type that determines its functional behavour. More...
|
| |
| const UT_StringHolder & | categoryName () const |
| |
| const UT_StringHolder & | signatureName () const |
| | Returns the signature for the node. More...
|
| |
| UT_StringHolder | path () const |
| | Returns the node path. More...
|
| |
| const UT_StringHolder & | comment () const |
| | Returns the comment for the node. More...
|
| |
| const UT_Vector2D & | position () const |
| | Returns the node's position in the node editor. More...
|
| |
| const UT_Color & | color () const |
| | Returns the node's color. More...
|
| |
| const UT_StringArray & | tags () const |
| | Returns the node's tags. More...
|
| |
| const UN_MetadataHolder & | metadata () const |
| | Returns the node's metadata. More...
|
| |
| UT_Array< UT_StringHolder > | parmNames () const |
| | Returns the names of the node parameters. More...
|
| |
| UT_Array< UT_StringHolder > | parmTypeNames () const |
| | Returns the type names of the node parameters. More...
|
| |
| UN_Parm | findParm (const UT_StringRef &parm_name) const |
| | Returns a parameter by the given name, or an invalid parm if not found. More...
|
| |
| ParmRange | parmRange () const |
| | Returns a range for iterating over node parameters. More...
|
| |
| UT_Array< UN_Parm > | parms () const |
| | Returns the parameters of this node. More...
|
| |
| UT_Array< UT_StringHolder > | portNames (UN_PortKind port_kind) const |
| | Returns the names of the node ports of a given kind. More...
|
| |
| UT_Array< UT_StringHolder > | portTypeNames (UN_PortKind port_kind) const |
| | Returns the type names of the node ports of a given kind. More...
|
| |
| UN_Port | findPort (UN_PortKind port_kind, const UT_StringRef &port_name) const |
| |
| PortRange | portRange (UN_PortKind port_kind) const |
| |
| PortReverseRange | portReverseRange (UN_PortKind port_kind) const |
| |
| UT_Array< UN_Port > | ports (UN_PortKind port_kind) const |
| | Returns this node's ports of the given kind. More...
|
| |
| bool | isAnyInputPortConnectedToSrc () const |
| |
| UT_Array< UT_StringHolder > | inputPortNames () const |
| | Returns the names of the node input ports. More...
|
| |
| UT_Array< UT_StringHolder > | inputPortTypeNames () const |
| | Returns the type names of the node input ports. More...
|
| |
| UN_Port | findInputPort (const UT_StringRef &port_name) const |
| |
| PortRange | inputPortRange () const |
| |
| PortReverseRange | inputPortReverseRange () const |
| |
| UT_Array< UN_Port > | inputPorts () const |
| | Returns this node's input ports of the given kind. More...
|
| |
| bool | isAnyOutputPortConnectedToDst () const |
| |
| UT_Array< UT_StringHolder > | outputPortNames () const |
| | Returns the names of the node output ports. More...
|
| |
| UT_Array< UT_StringHolder > | outputPortTypeNames () const |
| | Returns the type names of the node output ports. More...
|
| |
| UN_Port | findOutputPort (const UT_StringRef &port_name) const |
| |
| PortRange | outputPortRange () const |
| |
| PortReverseRange | outputPortReverseRange () const |
| |
| UT_Array< UN_Port > | outputPorts () const |
| | Returns this node's output ports of the given kind. More...
|
| |
| UT_StringHolder | findValidUniqueChildNodeName (const UT_StringRef &child_name) const |
| | Returns a node name that is not taken by any of this nodes' children. More...
|
| |
| bool | isSubnet () const |
| | Returns true if the node can have child nodes inside. More...
|
| |
| UT_Array< UT_StringHolder > | childNodeNames () const |
| | Returns the names of the node children nodes. More...
|
| |
| UN_Node | findChildNode (const UT_StringRef &child_name) const |
| |
| UN_Node | findNode (const UT_StringRef &node_path) const |
| |
| ChildNodeRange | childNodeRange () const |
| | Returns a range for iterating over node's immediate children. More...
|
| |
| UT_Array< UN_Node > | childNodes () const |
| | Returns the children nodes directly inside this node. More...
|
| |
| DescendantNodeRange | descendantNodeRange () const |
| |
| ChildWireRange | childWireRange () const |
| |
| UT_Array< UN_Wire > | childWires () const |
| |
| DescendantWireRange | descendantWireRange () const |
| |
| UN_StickyNote | findChildStickyNote (const UT_StringRef &child_name) const |
| |
| UT_Array< UN_StickyNote > | childStickyNotes () const |
| | Returns the child sticky notes directly inside this node. More...
|
| |
| UN_OptionsPtr | asOptions () const |
| |
| UN_GraphData * | graphData () const |
| | Returns the owner of the underlying graph data structures. More...
|
| |
| const UN_GraphData * | constGraphData () const |
| | Returns the owner of the underlying graph data structures. More...
|
| |
| bool | isValid () const |
| | Returns true if this node is valid within the graph; false otherwise. More...
|
| |
| | operator bool () const |
| | Returns true if this node is valid within the graph; false otherwise. More...
|
| |
Public Member Functions inherited from UN_Handle |
| | UN_Handle () |
| | Constructs a reference handle for an invalid entity in the graph. More...
|
| |
| | UN_Handle (UN_GraphData *graph_data, UN_DataID data_id) |
| | Constructs reference handle to the data for a given entity in the graph. More...
|
| |
| UN_GraphData * | graphData () const |
| | Returns the graph that owns, manages, and operates on the data object. More...
|
| |
| const UN_GraphData * | constGraphData () const |
| | Returns the graph that owns, manages, and operates on the data object. More...
|
| |
Public Member Functions inherited from UN_ConstHandle |
| | UN_ConstHandle () |
| | Constructs a reference handle for an invalid entity in the graph. More...
|
| |
| | UN_ConstHandle (const UN_GraphData *graph_data, UN_DataID data_id) |
| | Constructs reference handle to the data for a given entity in the graph. More...
|
| |
| UN_DataID | dataID () const |
| |
| const UN_GraphData * | graphData () const |
| | Returns the underlying graph data object. More...
|
| |
| const UN_GraphData * | constGraphData () const |
| | Returns the underlying graph data object. More...
|
| |
A handle that references a mutable node in a graph. It abstracts the APIs that operate on this node's data, which is stored inside graph's data containers. It is a non-const (read-write) handle, so allows both queries and mutations of the node's data.
Definition at line 524 of file UN_Node.h.