ADTF
Loading...
Searching...
No Matches
A_UTILS_NS Namespace Reference

Namespace for all functionality provided by A_UTILS. More...

Namespaces

namespace  log
 namespace for default logging functionality within A_UTILS_NS
 

Classes

class  cResult
 A common result class usable as return value throughout. More...
 

Functions

tBool operator!= (const cResult &i_oLHS, const cResult &i_oRHS) noexcept
 Negated comparison operator (shallow comparison)
 
tBool operator== (const cResult &i_oLHS, const cResult &i_oRHS)
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator== (const cResult &oResult, const tError< ErrorCode > &sCode) noexcept
 Comparison operator (equality) for objects of type cResult and tError.
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator!= (const cResult &oResult, const tError< ErrorCode > &sCode) noexcept
 Comparison operator (inequality) for objects of type cResult and tError.
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator== (const tError< ErrorCode > &sCode, const cResult &oResult) noexcept
 Comparison operator (equality) for objects of type cResult and tError.
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator!= (const tError< ErrorCode > &sCode, const cResult &oResult) noexcept
 Comparison operator (inequality) for objects of type cResult and tError.
 
void swap (cResult &i_oLHS, cResult &i_oRHS)
 

Detailed Description

Namespace for all functionality provided by A_UTILS.

Function Documentation

◆ operator!=() [1/3]

tBool A_UTILS_NS::operator!= ( const cResult & i_oLHS,
const cResult & i_oRHS )
inlinenoexcept

Negated comparison operator (shallow comparison)

Parameters
[in,out]i_oLHSLeft hand side result object.
[in,out]i_oRHSRight hand side result object.
Returns
tTrue if both result objects do not match, tFalse otherwise.

◆ operator!=() [2/3]

template<tErrorCode::error_code_type ErrorCode>
tBool A_UTILS_NS::operator!= ( const cResult & oResult,
const tError< ErrorCode > & sCode )
inlinenoexcept

Comparison operator (inequality) for objects of type cResult and tError.

Template Parameters
ErrorCodeCompile time constant error code
Parameters
[in]oResultLeft hand side result object
[in]sCodeRight hand side error object
Returns
tTrue if both objects contain different error codes, tFalse otherwise

◆ operator!=() [3/3]

template<tErrorCode::error_code_type ErrorCode>
tBool A_UTILS_NS::operator!= ( const tError< ErrorCode > & sCode,
const cResult & oResult )
inlinenoexcept

Comparison operator (inequality) for objects of type cResult and tError.

Template Parameters
ErrorCodeCompile time constant error code
Parameters
[in]sCodeLeft hand side error object
[in]oResultRight hand side result object
Returns
tTrue if both objects contain different error codes, tFalse otherwise

◆ operator==() [1/3]

tBool A_UTILS_NS::operator== ( const cResult & i_oLHS,
const cResult & i_oRHS )
inlinenoexcept
Parameters
[in,out]i_oLHSLeft hand side result object.
[in,out]i_oRHSRight hand side result object.
Returns
tTrue if both result objects match, tFalse otherwise.

◆ operator==() [2/3]

template<tErrorCode::error_code_type ErrorCode>
tBool A_UTILS_NS::operator== ( const cResult & oResult,
const tError< ErrorCode > & sCode )
inlinenoexcept

Comparison operator (equality) for objects of type cResult and tError.

Template Parameters
ErrorCodeCompile time constant error code
Parameters
[in]oResultLeft hand side result object
[in]sCodeRight hand side error object
Returns
tTrue if both objects contain the same error code, tFalse otherwise

◆ operator==() [3/3]

template<tErrorCode::error_code_type ErrorCode>
tBool A_UTILS_NS::operator== ( const tError< ErrorCode > & sCode,
const cResult & oResult )
inlinenoexcept

Comparison operator (equality) for objects of type cResult and tError.

Template Parameters
ErrorCodeCompile time constant error code
Parameters
[in]sCodeLeft hand side error object
[in]oResultRight hand side result object
Returns
tTrue if both objects contain the same error code, tFalse otherwise

◆ swap()

void A_UTILS_NS::swap ( cResult & i_oLHS,
cResult & i_oRHS )
inlinenoexcept
Parameters
[in,out]i_oLHSLeft hand side result object.
[in,out]i_oRHSRight hand side result object.