Loading...
Searching...
No Matches
VdfReadWriteIteratorRange Class Reference

This class allows for construction of iterable ranges of input/output values. More...

#include <readWriteIteratorRange.h>

Detailed Description

This class allows for construction of iterable ranges of input/output values.

The underlying iterator used is VdfReadWriteIterator. The VdfReadWriteIteratorRange::begin() and VdfReadIteatorRange::end() methods return an instance of VdfReadWriteIterator<T> denoting the iterable range. The class satisfies the STL API requirements that make it suitable for use in range-based for loops.

For example:

for (const double x : range) {
...
}
This class allows for construction of iterable ranges of input/output values.

This class can also be used to copy ranges of input/output values into STL containers. It can be used in range constructors, for example.

std::vector<double> values(range.begin(), range.end());

It can also be used in STL algorithms that modify the iterated values:

std::copy(values.begin(), values.end(), range.begin());

The documentation for this class was generated from the following file: