A header file that provides macros to handle no exception methods.
More...
Go to the source code of this file.
|
#define |
CALL_STATUS_FNC(function, ...) |
|
#define |
CALL_STATUS_FNC_NO_ARGS(function) |
|
#define |
CALL_FNC(function, ...) |
|
#define |
CALL_FNC_REF(function, ...) |
|
#define |
CALL_FNC_NO_ARGS(function) |
|
#define |
CALL_FNC_NO_ARGS_REF(function) |
|
A header file that provides macros to handle no exception methods.
§ CALL_FNC
#define CALL_FNC |
( |
|
function, |
|
|
|
... |
|
) |
|
|
Value:
ResponseDesc resp;\
auto result = actual->function(__VA_ARGS__, &resp);\
if (resp.msg[0] != '\0') {\
THROW_IE_EXCEPTION << resp.msg;\
}\
return result;
§ CALL_FNC_NO_ARGS
#define CALL_FNC_NO_ARGS |
( |
|
function |
) |
|
Value:
ResponseDesc resp;\
auto result = actual->function(&resp);\
if (resp.msg[0] != '\0') {\
THROW_IE_EXCEPTION << resp.msg;\
}\
return result;
§ CALL_FNC_NO_ARGS_REF
#define CALL_FNC_NO_ARGS_REF |
( |
|
function |
) |
|
Value:
ResponseDesc resp;\
auto & result = actual->function(&resp);\
if (resp.msg[0] != '\0') {\
THROW_IE_EXCEPTION << resp.msg;\
}\
return result;
§ CALL_FNC_REF
#define CALL_FNC_REF |
( |
|
function, |
|
|
|
... |
|
) |
|
|
Value:
ResponseDesc resp;\
auto & result = actual->function(__VA_ARGS__, &resp);\
if (resp.msg[0] != '\0') {\
THROW_IE_EXCEPTION << resp.msg;\
}\
return result;
§ CALL_STATUS_FNC
#define CALL_STATUS_FNC |
( |
|
function, |
|
|
|
... |
|
) |
|
|
Value:
ResponseDesc resp;\
auto res = actual->function(__VA_ARGS__, &resp);\
Definition: ie_argmax_layer.hpp:11
§ CALL_STATUS_FNC_NO_ARGS
#define CALL_STATUS_FNC_NO_ARGS |
( |
|
function |
) |
|
Value:
ResponseDesc resp;\
auto res = actual->function(&resp);\
Definition: ie_argmax_layer.hpp:11