libgpiod
|
Wrapper around unsigned int for representing line offsets. More...
#include <line.hpp>
Public Member Functions | |
offset (unsigned int off=0) | |
Constructor with implicit conversion from unsigned int. More... | |
offset (const offset &other)=default | |
Copy constructor. More... | |
offset (offset &&other)=default | |
Move constructor. More... | |
~offset ()=default | |
offset & | operator= (const offset &other)=default |
Assignment operator. More... | |
offset & | operator= (offset &&other) noexcept=default |
Move assignment operator. More... | |
operator unsigned int () const noexcept | |
Conversion operator to unsigned int . More... | |
Wrapper around unsigned int for representing line offsets.
|
inline |
Constructor with implicit conversion from unsigned int.
off | Line offset. |
|
default |
Copy constructor.
other | Object to copy. |
|
default |
Move constructor.
other | Object to move. |
|
default |
|
inlinenoexcept |
Conversion operator to unsigned int
.
Assignment operator.
other | Object to copy. |
Move assignment operator.
other | Object to move. |