IsOk接口 接口功能判断状态对象状态是否是成功的。 接口格式bool IsOk() const; 接口参数无。 使用样例status = Status(Error::Code::ERROR, "Engine init model failed: new modelBackend failed"); if (!status.IsOk()) { return; } 返回值true:返回正常,代表返回状态成功。false:返回异常,代表返回状态失败。 父主题: Status