#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/status.h>
#include <google/protobuf/stubs/statusor.h>
Go to the source code of this file.
Namespaces | |
google::protobuf | |
google::protobuf::util | |
Macros | |
#define | ASSIGN_OR_RETURN(lhs, rexpr) |
#define | ASSIGN_OR_RETURN_IMPL(status, lhs, rexpr) |
#define | RETURN_IF_ERROR(expr) |
#define | STATUS_MACROS_CONCAT_NAME(x, y) STATUS_MACROS_CONCAT_NAME_INNER(x, y) |
#define | STATUS_MACROS_CONCAT_NAME_INNER(x, y) x##y |
Functions | |
template<typename T > | |
Status | google::protobuf::util::DoAssignOrReturn (T &lhs, StatusOr< T > result) |
#define ASSIGN_OR_RETURN | ( | lhs, | |
rexpr | |||
) |
Definition at line 81 of file protobuf/src/google/protobuf/stubs/status_macros.h.
#define ASSIGN_OR_RETURN_IMPL | ( | status, | |
lhs, | |||
rexpr | |||
) |
Definition at line 68 of file protobuf/src/google/protobuf/stubs/status_macros.h.
#define RETURN_IF_ERROR | ( | expr | ) |
Definition at line 49 of file protobuf/src/google/protobuf/stubs/status_macros.h.
#define STATUS_MACROS_CONCAT_NAME | ( | x, | |
y | |||
) | STATUS_MACROS_CONCAT_NAME_INNER(x, y) |
Definition at line 58 of file protobuf/src/google/protobuf/stubs/status_macros.h.