36 UN_Port( UN_GraphData *graph_data, UN_PortID port_id );
49 explicit operator bool()
const
79 const UN_Port &src_port )
const;
82 void disconnectSrcPort(
83 const UN_Port &src_port )
const;
86 void disconnectAllSrcPorts()
const;
90 void disconnectAllDstPorts()
const;
125 void destroy()
const;
129 {
return UN_PortID(
dataID() ); }
132 UN_PortData * portData()
const;
UN_PortKind
Differentiates between input and output ports.
bool operator==(const UN_Handle &other) const
Comparison operators.
bool operator!=(const UN_Handle &other) const
Comparison operators.
UN_Handle & operator=(const UN_Handle &)=default
Default destructor, constructors and assignment operators.
UN_PortID portID() const
Returns the unique ID of the port data this handle refers to.
bool operator==(const UN_Port &other) const
Comparison operators.
bool operator!=(const UN_Port &other) const
Comparison operators.