libgpiod
1.6.2
|
Allows to iterate over all GPIO chips present on the system. More...
#include <gpiod.hpp>
Public Member Functions | |
GPIOD_API | chip_iter (void)=default |
Default constructor. More... | |
GPIOD_API | chip_iter (const chip_iter &other)=default |
Copy constructor. More... | |
GPIOD_API | chip_iter (chip_iter &&other)=default |
Move constructor. More... | |
GPIOD_API chip_iter & | operator= (const chip_iter &other)=default |
Assignment operator. More... | |
GPIOD_API chip_iter & | operator= (chip_iter &&other)=default |
Move assignment operator. More... | |
GPIOD_API | ~chip_iter (void)=default |
Destructor. | |
GPIOD_API chip_iter & | operator++ (void) |
Advance the iterator by one element. More... | |
GPIOD_API const chip & | operator* (void) const |
Dereference current element. More... | |
GPIOD_API const chip * | operator-> (void) const |
Member access operator. More... | |
GPIOD_API bool | operator== (const chip_iter &rhs) const noexcept |
Check if this operator points to the same element. More... | |
GPIOD_API bool | operator!= (const chip_iter &rhs) const noexcept |
Check if this operator doesn't point to the same element. More... | |
Friends | |
chip_iter | make_chip_iter (void) |
Create a new chip_iter. More... | |
Allows to iterate over all GPIO chips present on the system.
|
default |
Default constructor.
Creates the end iterator.
Copy constructor.
other | Other chip_iter. |
Move constructor.
other | Other chip_iter. |
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. |
|
friend |
Create a new chip_iter.