ADTF  3.13.2
result.h File Reference

Declaring the error class which is used as "tResult". More...

Go to the source code of this file.

Classes

class  cResult
 A common result class usable as return value throughout. More...
 
struct  cResult::sErrorEval< ErrorType, ErrorTypes >
 Used as entry point for comparison on the error codes used in IsEqual() More...
 
struct  cResult::sErrorEval< ErrorType, ErrorTypes >
 Used as entry point for comparison on the error codes used in IsEqual() More...
 
struct  cResult::sErrorEval< ErrorType >
 Used as exit point for comparison on the error codes used in IsEqual() More...
 

Namespaces

 A_UTILS_NS
 ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
 

Typedefs

using tResult = A_UTILS_NS::cResult
 For backwards compatibility and to bring latest version into scope.
 

Functions

tBool operator!= (const cResult &i_oLHS, const cResult &i_oRHS)
 Negated comparison operator (shallow comparison) More...
 
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)
 Comparison operator (equality) for objects of type cResult and tError. More...
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator!= (const cResult &oResult, const tError< ErrorCode > &sCode)
 Comparison operator (inequality) for objects of type cResult and tError. More...
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator== (const tError< ErrorCode > &sCode, const cResult &oResult)
 Comparison operator (equality) for objects of type cResult and tError. More...
 
template<tErrorCode::error_code_type ErrorCode>
tBool operator!= (const tError< ErrorCode > &sCode, const cResult &oResult)
 Comparison operator (inequality) for objects of type cResult and tError. More...
 
void swap (cResult &i_oLHS, cResult &i_oRHS)
 
template<>
void swap< A_UTILS_NS::cResult > (A_UTILS_NS::cResult &i_oLHS, A_UTILS_NS::cResult &i_oRHS)
 swap specialization for ADL More...
 

Detailed Description

Declaring the error class which is used as "tResult".

Copyright © Audi Electronics Venture GmbH. All rights reserved.

$Author$ $Date$ $Revision$

Definition in file result.h.

Function Documentation

◆ swap< A_UTILS_NS::cResult >()

void std::swap< A_UTILS_NS::cResult > ( A_UTILS_NS::cResult i_oLHS,
A_UTILS_NS::cResult i_oRHS 
)
inline

swap specialization for ADL

Parameters
[in,out]i_oLHSLeft hand side result to be swapped
[in,out]i_oRHSRight hand side result to be swapped

Definition at line 523 of file result.h.

References A_UTILS_NS::swap().


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Nov 16 2021 by doxygen 1.8.14)