ADTF  3.18.2
cResult::sErrorEval< ErrorType, ErrorTypes >

Used as entry point for comparison on the error codes used in IsEqual() More...

Static Public Member Functions

static tBool dispatch (tErrorCode i_oErrorCode, const ErrorType &i_oErrorVal, const ErrorTypes &... i_oErrorVals)
 Compile time dispatching of error codes. More...
 

Detailed Description

template<typename ErrorType, typename ... ErrorTypes>
struct A_UTILS_NS::cResult::sErrorEval< ErrorType, ErrorTypes >

Used as entry point for comparison on the error codes used in IsEqual()

Template Parameters
ErrorTypeThe current error type to compare
ErrorTypesRemaining ErrorTypes to check

Definition at line 460 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/result.h.

Member Function Documentation

◆ dispatch()

static tBool dispatch ( tErrorCode  i_oErrorCode,
const ErrorType &  i_oErrorVal,
const ErrorTypes &...  i_oErrorVals 
)
inlinestatic

Compile time dispatching of error codes.

Parameters
[in]i_oErrorCodeLeft hand sind error object for comparison
[in]i_oErrorValRight hand side error object for comparison
[in]i_oErrorValsRemaining error codes to dispatch if the error codes did not match
Returns
tTrue if i_oErrorCode and i_oErrorVal contain the same error code value

Definition at line 469 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/result.h.

References tTrue.

Referenced by cResult::IsEqual().