OTB
9.0.0
Orfeo Toolbox
|
#include <otbNotNull.h>
Public Member Functions | |
constexpr T | get () const |
NotNull (std::nullptr_t)=delete | |
constexpr | NotNull (T p) |
constexpr | operator T () const |
constexpr decltype(auto) | operator* () const |
NotNull & | operator++ ()=delete |
NotNull | operator++ (int)=delete |
NotNull & | operator+= (std::ptrdiff_t)=delete |
NotNull & | operator-- ()=delete |
NotNull | operator-- (int)=delete |
NotNull & | operator-= (std::ptrdiff_t)=delete |
constexpr T | operator-> () const |
NotNull & | operator= (std::nullptr_t)=delete |
void | operator[] (std::ptrdiff_t) const =delete |
Private Attributes | |
T | m_p |
Simplified version of GSL::not_null
.
Permits to holds pointers that shall never be null.
GSL::not_null
is under MIT licence
Definition at line 37 of file otbNotNull.h.
|
inlineconstexpr |
Definition at line 40 of file otbNotNull.h.
|
delete |
|
inlineconstexpr |
Definition at line 45 of file otbNotNull.h.
Referenced by otb::NotNull< T >::operator T(), otb::NotNull< PixelType * >::operator*(), and otb::NotNull< PixelType * >::operator->().
|
inlineconstexpr |
Definition at line 51 of file otbNotNull.h.
References otb::NotNull< T >::get().
|
inlineconstexpr |
Definition at line 53 of file otbNotNull.h.
|
delete |
|
delete |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlineconstexpr |
Definition at line 52 of file otbNotNull.h.
|
delete |
|
delete |
|
private |
Definition at line 65 of file otbNotNull.h.
Referenced by otb::NotNull< PixelType * >::get().