libgpiod
Public Member Functions | List of all members
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:

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...
 
 ~bad_mapping ()
 

Detailed Description

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

Constructor & Destructor Documentation

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

Constructor.

Parameters
whatHuman readable reason for error.
gpiod::bad_mapping::bad_mapping ( const bad_mapping other)
noexcept

Copy constructor.

Parameters
otherObject to copy from.
gpiod::bad_mapping::bad_mapping ( bad_mapping &&  other)
noexcept

Move constructor.

Parameters
otherObject to move.
gpiod::bad_mapping::~bad_mapping ( )

Member Function Documentation

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

Assignment operator.

Parameters
otherObject to copy from.
Returns
Reference to self.
bad_mapping& gpiod::bad_mapping::operator= ( bad_mapping &&  other)
noexcept

Move assignment operator.

Parameters
otherObject to move.
Returns
Reference to self.

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