HDK
|
#include <UN_Iterator.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = UN_Wire |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
UN_NodeWireIterator (UN_GraphData *graph_data, UN_NodeID node_id) | |
Constructor for the start and end iterator for node's wires. More... | |
UN_NodeWireIterator (UN_GraphData *graph_data) | |
Constructor for the end iterator. More... | |
UN_NodeWireIterator & | operator++ () |
Increment operator. More... | |
bool | operator!= (const UN_NodeWireIterator &other) const |
Comparison operator. More... | |
UN_Wire | operator* () const |
Dereferencing operator, returns the handle to the wire inside the node. More... | |
Iterator for traversing the wires inside the given node. The iterator dereferences as a handle to the wire data object. Used for iterating wires inside a node.
Definition at line 206 of file UN_Iterator.h.
using UN_NodeWireIterator< CHILD_ONLY >::difference_type = std::ptrdiff_t |
Definition at line 211 of file UN_Iterator.h.
using UN_NodeWireIterator< CHILD_ONLY >::iterator_category = std::input_iterator_tag |
Definition at line 209 of file UN_Iterator.h.
using UN_NodeWireIterator< CHILD_ONLY >::pointer = value_type* |
Definition at line 212 of file UN_Iterator.h.
using UN_NodeWireIterator< CHILD_ONLY >::reference = value_type& |
Definition at line 213 of file UN_Iterator.h.
using UN_NodeWireIterator< CHILD_ONLY >::value_type = UN_Wire |
Definition at line 210 of file UN_Iterator.h.
|
inline |
Constructor for the start and end iterator for node's wires.
Definition at line 216 of file UN_Iterator.h.
|
inline |
Constructor for the end iterator.
Definition at line 224 of file UN_Iterator.h.
|
inline |
Comparison operator.
Definition at line 237 of file UN_Iterator.h.
UN_Wire UN_NodeWireIterator< CHILD_ONLY >::operator* | ( | ) | const |
Dereferencing operator, returns the handle to the wire inside the node.
|
inline |
Increment operator.
Definition at line 230 of file UN_Iterator.h.