HDK
|
#include <graph_nodes.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = T |
using | difference_type = typename std::iterator_traits< TIterator >::difference_type |
using | pointer = T * |
using | reference = T & |
using | const_reference = const T & |
Public Member Functions | |
NodeIterator (const TIterator current, const TIterator end, const NodeFilterFunc &filter_fn) noexcept | |
bool | operator== (const NodeIterator< TIterator > &other) const noexcept |
bool | operator!= (const NodeIterator< TIterator > &other) const noexcept |
void | operator++ () |
NodeIterator< TIterator > | operator++ (int) |
reference | operator* () const |
pointer | operator-> () const |
Iterator to provide const and non-const access to valid Node instances in a Graph.
Definition at line 22 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::const_reference = const T& |
Definition at line 100 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::difference_type = typename std::iterator_traits<TIterator>::difference_type |
Definition at line 97 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::iterator_category = std::input_iterator_tag |
Definition at line 95 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::pointer = T* |
Definition at line 98 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::reference = T& |
Definition at line 99 of file graph_nodes.h.
using onnxruntime::ValidNodes< TNodesContainer >::NodeIterator< TIterator >::value_type = T |
Definition at line 96 of file graph_nodes.h.
|
inlinenoexcept |
Construct a NodeInterator and move to the first valid node.
Definition at line 103 of file graph_nodes.h.
|
inlinenoexcept |
Definition at line 116 of file graph_nodes.h.
|
inline |
Return the current Node&. This will be const if the iterator was returned from a const GraphNodes instance.
Definition at line 137 of file graph_nodes.h.
|
inline |
Definition at line 120 of file graph_nodes.h.
|
inline |
Definition at line 129 of file graph_nodes.h.
|
inline |
Definition at line 143 of file graph_nodes.h.
|
inlinenoexcept |
Definition at line 112 of file graph_nodes.h.