Apollo 10.0
自动驾驶开放平台
status.h 文件参考
status.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::hdmap
 apollo::hdmap
 
namespace  apollo::hdmap::adapter
 

宏定义

#define RETURN_IF_ERROR(expr)
 

宏定义说明

◆ RETURN_IF_ERROR

#define RETURN_IF_ERROR (   expr)
值:
do { \
const apollo::common::Status status_ = (expr); \
if (!status_.ok()) return status_; \
} while (0)
A general class to denote the return status of an API call.
Definition status.h:43
bool ok() const
check whether the return status is OK.
Definition status.h:67

在文件 status.h25 行定义.

26 { \
27 const apollo::common::Status status_ = (expr); \
28 if (!status_.ok()) return status_; \
29 } while (0)