ADTF
3.18.4
|
Copyright © Audi Electronics Venture GmbH. More...
Go to the source code of this file.
Classes | |
class | cDDLError |
Static DDL Error Handling class. More... | |
Namespaces | |
adtf_ddl | |
Namespace for the mainpage_pkg_ddl. | |
Macros | |
#define | RETURN_DDLERROR_DESC(__errCode__, __desc__) { adtf_ddl::cDDLError::SetLastDDLError(__errCode__, __desc__); return DETAILED_RESULT(__errCode__, __desc__); } |
Helper to set an error description to the DDL error handling and return a DDL Error. More... | |
#define | RETURN_DDLERROR_IF_FAILED(__callterm__) { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, ""); } } |
Helper to set an error description to the DDL error handling and return a DDL Error if failed. More... | |
#define | RETURN_DDLERROR_IF_FAILED_DESC(__callterm__, __desc__) { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, __desc__); } } |
Helper to set an error description to the DDL error handling and return a DDL Error if failed. More... | |
#define RETURN_DDLERROR_DESC | ( | __errCode__, | |
__desc__ | |||
) | { adtf_ddl::cDDLError::SetLastDDLError(__errCode__, __desc__); return DETAILED_RESULT(__errCode__, __desc__); } |
Helper to set an error description to the DDL error handling and return a DDL Error.
[in] | __errCode__ | the error code to return |
[in] | __desc__ | the description to set |
Definition at line 51 of file ddl_error.h.
#define RETURN_DDLERROR_IF_FAILED | ( | __callterm__ | ) | { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, ""); } } |
Helper to set an error description to the DDL error handling and return a DDL Error if failed.
[in] | __callterm__ | statement to execute to. |
Definition at line 56 of file ddl_error.h.
#define RETURN_DDLERROR_IF_FAILED_DESC | ( | __callterm__, | |
__desc__ | |||
) | { tResult ntmpRes = __callterm__; if (IS_FAILED(ntmpRes)) { RETURN_DDLERROR_DESC(ntmpRes, __desc__); } } |
Helper to set an error description to the DDL error handling and return a DDL Error if failed.
[in] | __callterm__ | statement to execute to. |
[in] | __desc__ | additional error description to set. |
Definition at line 62 of file ddl_error.h.