![]() |
|
This class enables iteration over subranges of input values, where each subrange contains values originating from one unique topological source. More...
#include <subrangeView.h>
This class enables iteration over subranges of input values, where each subrange contains values originating from one unique topological source.
These data sources may be from unique outputs in the network, or from unique sources that have been combined into a single boxed value.
For example, when iterating over values on an input that is connected to multiple outputs, VdfReadIterator visits these values in sequential order. The VdfReadIterator does not differentiate between the multiple data sources, so long as there is a dependency on the input values that these data sources provide. Usually, this is the desired behavior. Sometimes, however, the client code may want to differentiate between the values based on the data source. This is important, for example, when the client code wants to associate input values of variable length, provided on two or more inputs that source from the same number of unique data sources.
The VdfSubrangeView provides an iterator range for each unique data source. It may be used like this:
Definition at line 28 of file subrangeView.h.