#include <statusor.h>
Classes | |
| struct | IsNull |
| struct | IsNull< U * > |
Public Member Functions | |
| T | ConsumeValueOrDie () |
| bool | ok () const |
| StatusOr & | operator= (const StatusOr &other) |
| template<typename U > | |
| StatusOr & | operator= (const StatusOr< U > &other) |
| template<typename U > | |
| StatusOr & | operator= (StatusOr< U > &&other) |
| const Status & | status () const |
| StatusOr () | |
| StatusOr (const Status &status) | |
| StatusOr (const T &value) | |
| StatusOr (const StatusOr &other) | |
| template<typename U > | |
| StatusOr (const StatusOr< U > &other) | |
| StatusOr (T &&value) | |
| template<typename U > | |
| StatusOr (StatusOr< U > &&other) | |
| const T & | ValueOrDie () const |
Private Member Functions | |
| void | CheckValueNotNull (const T &value) |
Private Attributes | |
| Status | status_ |
| T | value_ |
Friends | |
| class | StatusOr |
Definition at line 93 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | ) |
| util::StatusOr< T >::StatusOr | ( | const Status & | status | ) | [inline] |
Definition at line 227 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | const T & | value | ) | [inline] |
Definition at line 236 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | const StatusOr< T > & | other | ) | [inline] |
Definition at line 246 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | const StatusOr< U > & | other | ) | [inline] |
Definition at line 259 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | T && | value | ) | [inline] |
Definition at line 292 of file statusor.h.
| util::StatusOr< T >::StatusOr | ( | StatusOr< U > && | other | ) | [inline] |
Definition at line 308 of file statusor.h.
| void util::StatusOr< T >::CheckValueNotNull | ( | const T & | value | ) | [inline, private] |
Definition at line 323 of file statusor.h.
| T util::StatusOr< T >::ConsumeValueOrDie | ( | ) | [inline] |
Definition at line 299 of file statusor.h.
| bool util::StatusOr< T >::ok | ( | ) | const [inline] |
Definition at line 277 of file statusor.h.
| StatusOr< T > & util::StatusOr< T >::operator= | ( | const StatusOr< T > & | other | ) | [inline] |
Definition at line 251 of file statusor.h.
| StatusOr< T > & util::StatusOr< T >::operator= | ( | const StatusOr< U > & | other | ) | [inline] |
Definition at line 265 of file statusor.h.
| StatusOr< T > & util::StatusOr< T >::operator= | ( | StatusOr< U > && | other | ) | [inline] |
Definition at line 316 of file statusor.h.
| const Status & util::StatusOr< T >::status | ( | ) | const [inline] |
Definition at line 272 of file statusor.h.
| const T & util::StatusOr< T >::ValueOrDie | ( | ) | const [inline] |
Definition at line 282 of file statusor.h.
util::StatusOr< T >::StatusOr [friend] |
Definition at line 94 of file statusor.h.
Status util::StatusOr< T >::status_ [private] |
Definition at line 189 of file statusor.h.
T util::StatusOr< T >::value_ [private] |
Definition at line 190 of file statusor.h.