libgpiod 2.1.3
Public Member Functions
gpiod::bad_mapping Class Referencefinal

Exception thrown when the core C library returns an invalid value for any of the line_info properties. More...

#include <exception.hpp>

Inheritance diagram for gpiod::bad_mapping:
Inheritance graph
[legend]
Collaboration diagram for gpiod::bad_mapping:
Collaboration graph
[legend]

Public Member Functions

 bad_mapping (const ::std::string &what)
 Constructor. More...
 
 bad_mapping (const bad_mapping &other) noexcept
 Copy constructor. More...
 
 bad_mapping (bad_mapping &&other) noexcept
 Move constructor. More...
 
bad_mappingoperator= (const bad_mapping &other) noexcept
 Assignment operator. More...
 
bad_mappingoperator= (bad_mapping &&other) noexcept
 Move assignment operator. More...
 

Detailed Description

Exception thrown when the core C library returns an invalid value for any of the line_info properties.

Definition at line 113 of file exception.hpp.

Constructor & Destructor Documentation

◆ bad_mapping() [1/3]

gpiod::bad_mapping::bad_mapping ( const ::std::string &  what)
explicit

Constructor.

Parameters
whatHuman readable reason for error.

◆ bad_mapping() [2/3]

gpiod::bad_mapping::bad_mapping ( const bad_mapping other)
noexcept

Copy constructor.

Parameters
otherObject to copy from.

◆ bad_mapping() [3/3]

gpiod::bad_mapping::bad_mapping ( bad_mapping &&  other)
noexcept

Move constructor.

Parameters
otherObject to move.

Member Function Documentation

◆ operator=() [1/2]

bad_mapping & gpiod::bad_mapping::operator= ( bad_mapping &&  other)
noexcept

Move assignment operator.

Parameters
otherObject to move.
Returns
Reference to self.

◆ operator=() [2/2]

bad_mapping & gpiod::bad_mapping::operator= ( const bad_mapping other)
noexcept

Assignment operator.

Parameters
otherObject to copy from.
Returns
Reference to self.

The documentation for this class was generated from the following file: