Special tResult implementation due to the allocation and reference counting of the tResult.
More...
|
| tRuntimeResult (const tResult &oResultToDeepCopy) |
|
| tRuntimeResult (tResult &&oResultToDeepCopy) |
|
| tRuntimeResult (tRuntimeResult &&oResultToDeepCopy) |
|
tRuntimeResult & | operator= (const tResult &oResultToDeepCopy) |
|
| 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...
|
|
cResult & | operator= (decltype(ERR_NOERROR)) |
| Assign with ERR_NOERROR. More...
|
|
cResult & | operator= (cResult i_oOther) |
| Assignment operator. More...
|
|
| cResult (cResult &&i_oOther) |
| Move operator. More...
|
|
tErrorCode | GetErrorCode () const |
| Get error code. More...
|
|
const tChar * | GetErrorString () const |
| Get error code as string representation. More...
|
|
const tChar * | GetDescription () const |
| Get user provided error description. More...
|
|
tInt32 | GetLine () const |
| Get line in source file where the error was reported. More...
|
|
const tChar * | GetFile () const |
| Get name of the file the error was reported in. More...
|
|
const tChar * | GetFunction () 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...
|
|
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.