HDK
|
#include <UN_Iterator.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = UN_Port |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Types inherited from UN_DataArrayIterator< UN_Wire, UN_WireIDList > | |
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_WireArrayPortIterator (UN_GraphData *graph_data, UN_WireIDList &&data_ids, exint begin=0) | |
Constructor for the start iterator of the given data array. More... | |
UN_WireArrayPortIterator (UN_GraphData *graph_data, exint end) | |
Constructor for the end iterator. More... | |
UN_Port | operator* () const |
template<> | |
UN_API UN_Port | operator* () const |
template<> | |
UN_API UN_Port | operator* () const |
Public Member Functions inherited from UN_DataArrayIterator< UN_Wire, UN_WireIDList > | |
UN_DataArrayIterator (UN_GraphData *graph_data, UN_WireIDList &&data_ids, exint begin=0) | |
Constructor for the start iterator of the given data array. More... | |
UN_DataArrayIterator (UN_GraphData *graph_data, exint end) | |
Constructor for the end iterator. More... | |
UN_DataArrayIterator & | operator++ () |
Increment operator. More... | |
bool | operator!= (const UN_DataArrayIterator &other) const |
Comparison operator. More... | |
UN_Wire | operator* () const |
Dereferencing operator, returns the handle to the current data object. More... | |
UN_Wire | handle () const |
Returns the handle to the current data object. More... | |
Iterator for traversing the input or the output ports of wire objects in the given wire ID array. The iterator dereferences as a handle to the port data object. Used for iterating connected ports.
Definition at line 104 of file UN_Iterator.h.
using UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::difference_type = std::ptrdiff_t |
Definition at line 110 of file UN_Iterator.h.
using UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::iterator_category = std::input_iterator_tag |
Definition at line 108 of file UN_Iterator.h.
using UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::pointer = value_type* |
Definition at line 111 of file UN_Iterator.h.
using UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::reference = value_type& |
Definition at line 112 of file UN_Iterator.h.
using UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::value_type = UN_Port |
Definition at line 109 of file UN_Iterator.h.
|
inline |
Constructor for the start iterator of the given data array.
Definition at line 115 of file UN_Iterator.h.
|
inline |
Constructor for the end iterator.
Definition at line 123 of file UN_Iterator.h.
UN_Port UN_WireArrayPortIterator< IS_SOURCE_ITERATOR >::operator* | ( | ) | const |
Dereferencing operator, returns the handle to the connected port of the data object.
UN_API UN_Port UN_WireArrayPortIterator< true >::operator* | ( | ) | const |
UN_API UN_Port UN_WireArrayPortIterator< false >::operator* | ( | ) | const |