Public Member Functions | Private Attributes | Friends | List of all members
google::protobuf::util::StatusOr< T > Class Template Reference

#include <statusor.h>

Public Member Functions

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

Private Attributes

Status status_
 
T value_
 

Friends

template<typename U >
class StatusOr
 

Detailed Description

template<typename T>
class google::protobuf::util::StatusOr< T >

Definition at line 99 of file bloaty/third_party/protobuf/src/google/protobuf/stubs/statusor.h.

Constructor & Destructor Documentation

◆ StatusOr() [1/5]

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

◆ StatusOr() [2/5]

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

◆ StatusOr() [3/5]

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

◆ StatusOr() [4/5]

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

◆ StatusOr() [5/5]

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

Member Function Documentation

◆ ok()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ status()

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

◆ ValueOrDie()

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

Friends And Related Function Documentation

◆ StatusOr

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

Member Data Documentation

◆ status_

template<typename T >
Status google::protobuf::util::StatusOr< T >::status_
private

◆ value_

template<typename T >
T google::protobuf::util::StatusOr< T >::value_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:29