Public Member Functions | Private Attributes | List of all members
librealsense::optional_value< T > Class Template Reference

#include <types.h>

Public Member Functions

bool has_value () const
 
 operator bool () const
 
bool operator!= (const T &other) const
 
const T & operator* () const &
 
T & operator* ()&
 
T && operator* ()&&
 
const T * operator-> () const
 
T * operator-> ()
 
T & operator= (const T &v)
 
bool operator== (const T &other) const
 
 optional_value ()
 
 optional_value (const T &v)
 
T & value ()&
 
T && value ()&&
 

Private Attributes

bool _valid
 
_value
 

Detailed Description

template<typename T>
class librealsense::optional_value< T >

Definition at line 1717 of file src/types.h.

Constructor & Destructor Documentation

template<typename T>
librealsense::optional_value< T >::optional_value ( )
inline

Definition at line 1720 of file src/types.h.

template<typename T>
librealsense::optional_value< T >::optional_value ( const T &  v)
inlineexplicit

Definition at line 1721 of file src/types.h.

Member Function Documentation

template<typename T>
bool librealsense::optional_value< T >::has_value ( ) const
inline

Definition at line 1727 of file src/types.h.

template<typename T>
librealsense::optional_value< T >::operator bool ( ) const
inline

Definition at line 1723 of file src/types.h.

template<typename T>
bool librealsense::optional_value< T >::operator!= ( const T &  other) const
inline

Definition at line 1777 of file src/types.h.

template<typename T>
const T& librealsense::optional_value< T >::operator* ( ) const
inline

Definition at line 1759 of file src/types.h.

template<typename T>
T& librealsense::optional_value< T >::operator* ( )
inline

Definition at line 1763 of file src/types.h.

template<typename T>
T&& librealsense::optional_value< T >::operator* ( )
inline

Definition at line 1767 of file src/types.h.

template<typename T>
const T* librealsense::optional_value< T >::operator-> ( ) const
inline

Definition at line 1751 of file src/types.h.

template<typename T>
T* librealsense::optional_value< T >::operator-> ( )
inline

Definition at line 1755 of file src/types.h.

template<typename T>
T& librealsense::optional_value< T >::operator= ( const T &  v)
inline

Definition at line 1732 of file src/types.h.

template<typename T>
bool librealsense::optional_value< T >::operator== ( const T &  other) const
inline

Definition at line 1772 of file src/types.h.

template<typename T>
T& librealsense::optional_value< T >::value ( )
inline

Definition at line 1739 of file src/types.h.

template<typename T>
T&& librealsense::optional_value< T >::value ( )
inline

Definition at line 1745 of file src/types.h.

Member Data Documentation

template<typename T>
bool librealsense::optional_value< T >::_valid
private

Definition at line 1782 of file src/types.h.

template<typename T>
T librealsense::optional_value< T >::_value
private

Definition at line 1783 of file src/types.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37