libgpiod
1.6.2
|
Allows to iterate over all lines owned by a GPIO chip. More...
#include <gpiod.hpp>
Public Member Functions | |
GPIOD_API | line_iter (void)=default |
Default constructor. More... | |
GPIOD_API | line_iter (const chip &owner) |
Constructor. More... | |
GPIOD_API | line_iter (const line_iter &other)=default |
Copy constructor. More... | |
GPIOD_API | line_iter (line_iter &&other)=default |
Move constructor. More... | |
GPIOD_API line_iter & | operator= (const line_iter &other)=default |
Assignment operator. More... | |
GPIOD_API line_iter & | operator= (line_iter &&other)=default |
Move assignment operator. More... | |
GPIOD_API | ~line_iter (void)=default |
Destructor. | |
GPIOD_API line_iter & | 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 line_iter &rhs) const noexcept |
Check if this operator points to the same element. More... | |
GPIOD_API bool | operator!= (const line_iter &rhs) const noexcept |
Check if this operator doesn't point to the same element. More... | |
|
default |
Default constructor.
Creates the end iterator.
Constructor.
Creates the begin iterator.
owner | Chip owning the GPIO lines over which we want to iterate. |
Copy constructor.
other | Other line iterator. |
Move constructor.
other | Other line 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.
Check if this operator points to the same element.
rhs | Right-hand side of the equation. |