|
| UN_Port (UN_GraphData *graph_data, UN_PortIndex port_index, UN_PortID port_id) |
| Convenience constructor for the port handle. More...
|
|
UN_Node | node () const |
| Returns the parent of this node. More...
|
|
UN_PortKind | kind () const |
| Returns the kind of a port. Ie, if a port is an input or an output. More...
|
|
UT_StringHolder | name () const |
| Returns the name of the port. More...
|
|
UT_StringHolder | typeName () const |
| Returns name of the type of the port. More...
|
|
UN_Wire | connectSource (const UN_Port &src_port) const |
|
void | disconnectSource (const UN_Port &src_port) const |
| Disconnects this port from the given source. More...
|
|
void | disconnectSources () const |
| Disconnect this port from all its connected sources. More...
|
|
void | disconnectDestinations () const |
|
UT_Array< UN_Wire > | sourceWires () const |
|
UT_Array< UN_Wire > | destinationWires () const |
|
UN_Port | sourcePort () const |
|
SourcePortRange | sourcePortRange () const |
| Returns a range for iterating over this port's source ports. More...
|
|
DestinationPortRange | destinationPortRange () const |
| Returns a range for iterating over this port's destination ports. More...
|
|
void | destroy () const |
| Deletes this port. More...
|
|
UN_PortIndex | portIndex () const |
| Returns the port data index this handle refers to. More...
|
|
UN_PortID | portID () const |
| Returns the unique ID of the port data this handle refers to. More...
|
|
|
| UN_Port () |
| Default destructor, constructors and assignment operators. More...
|
|
| ~UN_Port () |
| Default destructor, constructors and assignment operators. More...
|
|
| UN_Port (const UN_Port &) |
| Default destructor, constructors and assignment operators. More...
|
|
| UN_Port (UN_Port &&) |
| Default destructor, constructors and assignment operators. More...
|
|
UN_Port & | operator= (const UN_Port &) |
| Default destructor, constructors and assignment operators. More...
|
|
UN_Port & | operator= (UN_Port &&) |
| Default destructor, constructors and assignment operators. More...
|
|
|
bool | isValid () const |
| Returns true if the parameter exists; false otherwise. More...
|
|
| operator bool () const |
| Returns true if the parameter exists; false otherwise. More...
|
|
|
bool | operator== (const UN_Port &other) const |
| Comparison operators. More...
|
|
bool | operator!= (const UN_Port &other) const |
| Comparison operators. More...
|
|
Public Member Functions inherited from UN_Handle |
| UN_Handle (UN_GraphData *graph_data, UN_DataIndex data_index, UN_DataID data_id) |
| Convenience constructor. More...
|
|
| UN_Handle () |
| Default constructor. More...
|
|
UN_DataIndex | dataIndex () const |
|
UN_DataID | dataID () const |
| The unique ID of a data object during the lifespan of the owner graph. More...
|
|
| ~UN_Handle ()=default |
| Default destructor, constructors and assignment operators. More...
|
|
| UN_Handle (const UN_Handle &)=default |
| Default destructor, constructors and assignment operators. More...
|
|
| UN_Handle (UN_Handle &&)=default |
| Default destructor, constructors and assignment operators. More...
|
|
UN_Handle & | operator= (const UN_Handle &)=default |
| Default destructor, constructors and assignment operators. More...
|
|
UN_Handle & | operator= (UN_Handle &&)=default |
| Default destructor, constructors and assignment operators. More...
|
|
bool | operator== (const UN_Handle &other) const |
| Comparison operators. More...
|
|
bool | operator!= (const UN_Handle &other) const |
| Comparison operators. More...
|
|
A light-weight handle for a port data object.
The actual port data (UN_PortData) is owned and managed by UN_GraphData, and UN_Port serves as a handle for clients to refer to that port data.
Definition at line 30 of file UN_Port.h.