ADTF  3.18.2
tRuntimeResult

Special tResult implementation due to the allocation and reference counting of the tResult. More...

Inheritance diagram for tRuntimeResult:
[legend]

Public Member Functions

 tRuntimeResult (const tResult &oResultToDeepCopy)
 
 tRuntimeResult (tResult &&oResultToDeepCopy)
 
 tRuntimeResult (tRuntimeResult &&oResultToDeepCopy)
 
tRuntimeResultoperator= (const tResult &oResultToDeepCopy)
 
- Public Member Functions inherited from cResult
 cResult ()
 Construct empty which basically means no error occurred. More...
 
 cResult (decltype(ERR_NOERROR))
 Construct with ERR_NOERROR. More...
 
template<tErrorCode::error_code_type ErrorCode>
 cResult (const tError< ErrorCode > &i_oError)
 Assign error code to result object. More...
 
 cResult (tErrorCode i_oError)
 Assign error code to result object. More...
 
template<tErrorCode::error_code_type ErrorCode>
 cResult (tError< ErrorCode > i_oError, const tChar *i_strErrorDescription, tInt32 i_nLine, const tChar *i_strFile, const tChar *i_strFunction)
 Construct result object with complete set of error information. More...
 
 cResult (tErrorCode::error_code_type i_nErrorCode)
 Create result object with just the error code type. More...
 
 cResult (tErrorCode::error_code_type i_nErrorCode, const tChar *i_strErrorDescription, tInt32 i_nLine, const tChar *i_strFile, const tChar *i_strFunction)
 Create result object with complete set of error information from just an error code. More...
 
 cResult (const cResult &i_oResult, const tChar *i_strErrorDescription, tInt32 i_nLine, const tChar *i_strFile, const tChar *i_strFunction)
 Create result object from another result, creating new detailed information. More...
 
 ~cResult ()
 Destructor.
 
 cResult (const cResult &i_oOther)
 Copy constructor. More...
 
cResultoperator= (decltype(ERR_NOERROR))
 Assign with ERR_NOERROR. More...
 
cResultoperator= (cResult i_oOther)
 Assignment operator. More...
 
 cResult (cResult &&i_oOther)
 Move operator. More...
 
tErrorCode GetErrorCode () const
 Get error code. More...
 
const tCharGetErrorString () const
 Get error code as string representation. More...
 
const tCharGetDescription () const
 Get user provided error description. More...
 
tInt32 GetLine () const
 Get line in source file where the error was reported. More...
 
const tCharGetFile () const
 Get name of the file the error was reported in. More...
 
const tCharGetFunction () const
 Get name of the function the error was reported in. More...
 
template<tErrorCode::error_code_type ErrorCode>
tBool IsEqual (const tError< ErrorCode > &i_oErrorVal) const
 Check whether an error code is equal to the contained one. More...
 
template<typename ... ErrorTypes>
tBool IsEqual (const ErrorTypes &... i_oErrorVals) const
 Check whether one of several error codes is equal to the contained one. More...
 
tBool IsOk () const
 Check whether this result object contains ERR_NOERROR. More...
 
tBool IsFailed () const
 Check whether this result object contains an error != ERR_NOERROR. More...
 

Protected Member Functions

 tRuntimeResult (const tRuntimeResult &)=delete
 
tRuntimeResultoperator= (const tRuntimeResult &)=delete
 
tRuntimeResultoperator= (tRuntimeResult &&)=delete
 

Detailed Description

Special tResult implementation due to the allocation and reference counting of the tResult.

This implementation creates a deep copy of the result

Definition at line 31 of file runtime.h.