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