webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
google::protobuf::util::StatusOr< T > Class Template Reference

#include <statusor.h>

Public Member Functions

 StatusOr ()
 
 StatusOr (const Status &status)
 
 StatusOr (const T &value)
 
 StatusOr (const StatusOr &other)
 
template<typename U >
 StatusOr (const StatusOr< U > &other)
 
StatusOroperator= (const StatusOr &other)
 
template<typename U >
StatusOroperator= (const StatusOr< U > &other)
 
const Statusstatus () const
 
bool ok () const
 
const TValueOrDie () const
 
template<typename T >
 StatusOr (const StatusOr< T > &other)
 
template<typename T >
StatusOr< T > & operator= (const StatusOr< T > &other)
 
template<typename U >
StatusOr< T > & operator= (const StatusOr< U > &other)
 

Friends

template<typename U >
class StatusOr
 

Constructor & Destructor Documentation

◆ StatusOr() [1/6]

template<typename T >
google::protobuf::util::StatusOr< T >::StatusOr ( )
inline

◆ StatusOr() [2/6]

template<typename T >
google::protobuf::util::StatusOr< T >::StatusOr ( const Status status)
inline

◆ StatusOr() [3/6]

template<typename T >
google::protobuf::util::StatusOr< T >::StatusOr ( const T value)
inline

◆ StatusOr() [4/6]

template<typename T>
google::protobuf::util::StatusOr< T >::StatusOr ( const StatusOr< T > &  other)

◆ StatusOr() [5/6]

template<typename T >
template<typename U >
google::protobuf::util::StatusOr< T >::StatusOr ( const StatusOr< U > &  other)
inline

◆ StatusOr() [6/6]

template<typename T>
template<typename T >
google::protobuf::util::StatusOr< T >::StatusOr ( const StatusOr< T > &  other)
inline

Member Function Documentation

◆ ok()

template<typename T >
bool google::protobuf::util::StatusOr< T >::ok ( ) const
inline

◆ operator=() [1/4]

template<typename T>
StatusOr& google::protobuf::util::StatusOr< T >::operator= ( const StatusOr< T > &  other)

◆ operator=() [2/4]

template<typename T>
template<typename U >
StatusOr& google::protobuf::util::StatusOr< T >::operator= ( const StatusOr< U > &  other)

◆ operator=() [3/4]

template<typename T>
template<typename T >
StatusOr<T>& google::protobuf::util::StatusOr< T >::operator= ( const StatusOr< T > &  other)
inline

◆ operator=() [4/4]

template<typename T>
template<typename U >
StatusOr<T>& google::protobuf::util::StatusOr< T >::operator= ( const StatusOr< U > &  other)
inline

◆ status()

template<typename T >
const Status & google::protobuf::util::StatusOr< T >::status ( ) const
inline

◆ ValueOrDie()

template<typename T >
const T & google::protobuf::util::StatusOr< T >::ValueOrDie ( ) const
inline

Friends And Related Function Documentation

◆ StatusOr

template<typename T>
template<typename U >
friend class StatusOr
friend

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