USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-gaea0e2de
UHD and USRP Manual
uhd::narrowing_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::narrowing_error:
uhd::value_error uhd::exception

Public Member Functions

 narrowing_error (const std::string &what)
 
virtual unsigned code (void) const
 
virtual narrowing_errordynamic_clone (void) const
 
virtual void dynamic_throw (void) const
 
- Public Member Functions inherited from uhd::value_error
 value_error (const std::string &what)
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

Raised when a value is inappropriate because it can't be narrowed as required.

Mostly raised by uhd::narrow()

Constructor & Destructor Documentation

◆ narrowing_error()

uhd::narrowing_error::narrowing_error ( const std::string &  what)

Member Function Documentation

◆ code()

virtual unsigned uhd::narrowing_error::code ( void  ) const
virtual

Reimplemented from uhd::value_error.

◆ dynamic_clone()

virtual narrowing_error* uhd::narrowing_error::dynamic_clone ( void  ) const
virtual

Reimplemented from uhd::value_error.

◆ dynamic_throw()

virtual void uhd::narrowing_error::dynamic_throw ( void  ) const
virtual

Reimplemented from uhd::value_error.


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