libgpiod
1.6.2
|
Iterator for iterating over lines held by line_bulk. More...
#include <gpiod.hpp>
Public Member Functions | |
GPIOD_API | iterator (void)=default |
Default constructor. More... | |
GPIOD_API | iterator (const iterator &other)=default |
Copy constructor. More... | |
GPIOD_API | iterator (iterator &&other)=default |
Move constructor. More... | |
GPIOD_API iterator & | operator= (const iterator &other)=default |
Assignment operator. More... | |
GPIOD_API iterator & | operator= (iterator &&other)=default |
Move assignment operator. More... | |
GPIOD_API | ~iterator (void)=default |
Destructor. | |
GPIOD_API iterator & | operator++ (void) |
Advance the iterator by one element. More... | |
GPIOD_API const line & | operator* (void) const |
Dereference current element. More... | |
GPIOD_API const line * | operator-> (void) const |
Member access operator. More... | |
GPIOD_API bool | operator== (const iterator &rhs) const noexcept |
Check if this operator points to the same element. More... | |
GPIOD_API bool | operator!= (const iterator &rhs) const noexcept |
Check if this operator doesn't point to the same element. More... | |
|
default |
Default constructor.
Builds an empty iterator object.
Copy constructor.
other | Other line_bulk iterator. |
Move constructor.
other | Other line_bulk iterator. |
Check if this operator doesn't point to the same element.
rhs | Right-hand side of the equation. |
Dereference current element.
Advance the iterator by one element.
Member access operator.
Move assignment operator.
other | Other line_bulk iterator. |
Check if this operator points to the same element.
rhs | Right-hand side of the equation. |