Lodestar
An integrated real-time control package in C++
ls::core::StatusOr< TType > Class Template Reference
Collaboration diagram for ls::core::StatusOr< TType >:
[legend]

Public Types

using type = TType
 

Public Member Functions

 StatusOr (const Status &status)
 
 StatusOr (const TType &value)
 
 StatusOr (const StatusOr &other)
 
template<typename TTypeOther >
 StatusOr (const StatusOr< TTypeOther > &other, typename std::enable_if< std::is_convertible< TTypeOther, TType >::value >::type *=nullptr)
 
template<typename TTypeOther >
 StatusOr (const StatusOr< TTypeOther > &other, typename std::enable_if<!std::is_convertible< TTypeOther, TType >::value >::type *=nullptr)
 
StatusOroperator= (const StatusOr &other)
 
template<typename TTypeOther >
std::enable_if< std::is_convertible< TTypeOther, TType >::value, StatusOr & >::type operator= (const StatusOr< TTypeOther > &other)
 
template<typename TTypeOther >
std::enable_if<!std::is_convertible< TTypeOther, TType >::value, StatusOr & >::type operator= (const StatusOr< TTypeOther > &other)
 
const Statusstatus () const
 
bool ok () const
 
 operator bool () const
 
const TType & value () const
 

Protected Attributes

Status status_
 
TType value_
 

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