dnp3 (C++ API) 1.1.0
|
Iterator over DoubleBitBinaryInput instances. More...
#include <dnp3.hpp>
Public Member Functions | |
DoubleBitBinaryInputIterator (DoubleBitBinaryInputIterator &&)=default | |
move constructor for the iterator More... | |
bool | next () |
move the iterator to the next value More... | |
DoubleBitBinaryInput | get () |
retrieve the current value More... | |
Friends | |
class | CppDoubleBitBinaryInputIteratorFriend |
Iterator over DoubleBitBinaryInput instances.
Always use this pattern to extract values from the iterator:
while(iter.next()) { DoubleBitBinaryInput value = iter.get(); }
Calling get() when no value is available will throw std::logic_error
|
default |
move constructor for the iterator
DoubleBitBinaryInput dnp3::DoubleBitBinaryInputIterator::get | ( | ) |
bool dnp3::DoubleBitBinaryInputIterator::next | ( | ) |
move the iterator to the next value