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