ADTF  3.18.2
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/result_util.h
Go to the documentation of this file.
1 
8 #ifndef _A_UTILS_CORE_RESULT_UTIL_H_
9 #define _A_UTILS_CORE_RESULT_UTIL_H_
10 
11 namespace A_UTILS_NS
12 {
13 
18 {
19  RFF_DisableNone = 0x00,
20  RFF_DisableErrorCode = 0x01,
21  RFF_DisableErrorString = 0x02,
23  RFF_DisableFile = 0x08,
24  RFF_DisableLine = 0x10,
25  RFF_DisableFunction = 0x20
26 };//enum eResultFormatFlags
27 
37 cString to_string(const tResult& i_oResult,
39  const tChar* i_strFormat = nullptr);
40 
41 }//ns A_UTILS_NS
42 
43 #endif // _A_UTILS_CORE_RESULT_UTIL_H_
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
uint32_t tUInt32
type definition for unsigned integer values (32bit) (platform and compiler independent type).
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
Definition: d_ptr.h:11
cString to_string(const tResult &i_oResult, eResultFormatFlags i_eFormatFlags=eResultFormatFlags::RFF_DisableNone, const tChar *i_strFormat=nullptr)
Copy all information of an assigned result object to a (formatted) string.
@ RFF_DisableErrorCode
Do not use the string representation of the error code.
@ RFF_DisableFunction
Do not use the string representation of the function.
@ RFF_DisableNone
Disable nothing, stringify everything.
@ RFF_DisableErrorString
Do not use the string representation of the error string.
@ RFF_DisableFile
Do not use the string representation of the file name.
@ RFF_DisableErrorMessage
Do not use the string representation of the error message.
@ RFF_DisableLine
Do not use the string representation of the line.