16 #ifndef __IPSDKUTIL_PROCESSINGRESULT_H__ 17 #define __IPSDKUTIL_PROCESSINGRESULT_H__ 71 operator const T&()
const {
return _result;}
87 #endif // __IPSDKUTIL_PROCESSINGRESULT_H__ Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
void setMsg(const std::string &msg)
access to string associated to object
Definition: ProcessingResult.h:67
const std::string & getMsg() const
access to string associated to object
Definition: ProcessingResult.h:66
void setResult(const T &result)
access to result associated to object
Definition: ProcessingResult.h:61
T _result
result associated to object
Definition: ProcessingResult.h:76
ProcessingResult & operator=(const ProcessingResult &processingResult)
copy operator
Definition: ProcessingResult.h:46
ProcessingResult(const ProcessingResult &processingResult)
copy constructor
Definition: ProcessingResult.h:42
ProcessingResult()
default constructor
Definition: ProcessingResult.h:35
std::string _msg
string associated to object
Definition: ProcessingResult.h:79
const T & getResult() const
access to result associated to object
Definition: ProcessingResult.h:60
~ProcessingResult()
destructor
Definition: ProcessingResult.h:53
Predefined types for processing results management.
ProcessingResult(const T &result, const std::string &msg="")
constructor with result value and optional associated message
Definition: ProcessingResult.h:38