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