status_code.h Source File

status_code.h Source File#

SDK qb Runtime Library: status_code.h Source File
SDK qb Runtime Library v0.28
MCS001-EN
status_code.h
Go to the documentation of this file.
1
4
5#ifndef MOBILINT_MACCEL_STATUS_CODE_H_
6#define MOBILINT_MACCEL_STATUS_CODE_H_
7
8namespace mobilint {
9
14
15// clang-format off
16// The maximum status code used is 59.
24enum class StatusCode {
25 OK = 0,
26
29 BadAlloc = 39,
30
36
52
55
88
90};
91// clang-format on
92
109inline bool operator!(StatusCode sc) { return static_cast<int>(sc) != 0; }
110
112
113} // namespace mobilint
114
115#endif
bool operator!(StatusCode sc)
Checks whether the given StatusCode represents an error.
StatusCode
Enumerates status codes for the maccel runtime.
Definition status_code.h:24
@ Model_NoGlobalCoreWithGlobalMultiMode
Definition status_code.h:75