27 template <
typename BASE_CLASS,
38 : BASE_CLASS( graph_data, wire_id )
44 {
return BASE_CLASS::graphData(); }
46 {
return BASE_CLASS::constGraphData(); }
51 {
return UN_WireID( BASE_CLASS::dataID() ); }
55 {
return UN_WireUtils::isValid(
59 explicit operator bool()
const
87 UN_GraphData, UN_Port >
119 const UN_GraphData, UN_ConstPort >
GLboolean GLboolean GLboolean GLboolean a
bool operator==(const UN_ConstWire &other) const
Comparison operators.
UN_ConstWire(const UN_GraphData *graph_data, UN_WireID wire_id)
Constructs a handle referencing the given wire in the given graph.
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLboolean GLboolean GLboolean b
bool operator!=(const UN_ConstWire &other) const
Comparison operators.
bool isValid() const
Returns true if this wire is valid within the graph; false otherwise.
UN_ConstWire(const UN_Wire &wire)
Constructs a const handle from a mutable wire handle.
bool operator!=(const UN_ConstHandle &other) const
bool operator==(const UN_ConstHandle &other) const
UN_WireBase(GRAPH_DATA *graph_data, UN_WireID wire_id)
Constructs a handle that references the given wire in the given graph.
GRAPH_DATA * graphData() const
Returns the owner of the underlying graph data structures.
bool operator!=(const UN_Wire &other) const
Comparison operators.
const UN_GraphData * constGraphData() const
Returns the owner of the underlying graph data structures.
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
UN_Wire(UN_GraphData *graph_data, UN_WireID wire_id)
Constructs a handle referencing the given wire in the given graph.
UN_WireID wireID() const
Returns the unique ID of the wire this handle refers to.
bool operator==(const UN_Wire &other) const
Comparison operators.
UN_WireBase()=default
Constructs a handle for an invalid wire.