GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::StatusOr< T > Class Template Reference

#include <status_or.h>

Public Member Functions

 StatusOr ()
 StatusOr (const StatusOr &)=default
 StatusOr (StatusOr &&)=default
 StatusOr (const Status &status)
 StatusOr (const T &value)
 StatusOr (T &&value)
 StatusOr (const Status &status, const T &value)
const Status & status () const
const T & value () const &
const T && value () const &&
T && value () &&
const T & ValueOrDie () const &
T && ValueOrDie () &&
bool ok () const

Constructor & Destructor Documentation

◆ StatusOr() [1/7]

template<class T>
draco::StatusOr< T >::StatusOr ( )
inline
Here is the caller graph for this function:

◆ StatusOr() [2/7]

template<class T>
draco::StatusOr< T >::StatusOr ( const StatusOr< T > & )
default

◆ StatusOr() [3/7]

template<class T>
draco::StatusOr< T >::StatusOr ( StatusOr< T > && )
default

◆ StatusOr() [4/7]

template<class T>
draco::StatusOr< T >::StatusOr ( const Status & status)
inline

◆ StatusOr() [5/7]

template<class T>
draco::StatusOr< T >::StatusOr ( const T & value)
inline

◆ StatusOr() [6/7]

template<class T>
draco::StatusOr< T >::StatusOr ( T && value)
inline

◆ StatusOr() [7/7]

template<class T>
draco::StatusOr< T >::StatusOr ( const Status & status,
const T & value )
inline

Member Function Documentation

◆ ok()

template<class T>
bool draco::StatusOr< T >::ok ( ) const
inline

◆ status()

template<class T>
const Status & draco::StatusOr< T >::status ( ) const
inline
Here is the caller graph for this function:

◆ value() [1/3]

template<class T>
T && draco::StatusOr< T >::value ( ) &&
inline

◆ value() [2/3]

template<class T>
const T & draco::StatusOr< T >::value ( ) const &
inline
Here is the caller graph for this function:

◆ value() [3/3]

template<class T>
const T && draco::StatusOr< T >::value ( ) const &&
inline

◆ ValueOrDie() [1/2]

template<class T>
T && draco::StatusOr< T >::ValueOrDie ( ) &&
inline

◆ ValueOrDie() [2/2]

template<class T>
const T & draco::StatusOr< T >::ValueOrDie ( ) const &
inline

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