36 #include "commonGlobal.h"
38 #include "byteArray.h"
106 return (*
this += rhs);
133 return m_retValue == rhs;
142 return !(m_retValue == rhs);
146 void appendRetMessage(
const char *addRetMessage);
Definition: typeDefs.h:60
Class for managing status values (like errors or warning)
Definition: retVal.h:54
int size() const
Definition: byteArray.h:125
const char * errorMessage() const
Definition: retVal.h:157
bool hasErrorMessage() const
Definition: retVal.h:153
int containsWarning() const
Definition: retVal.h:149
This is a Qt-free class for byte arrays (strings) without specific encoding information.
Definition: byteArray.h:64
Definition: typeDefs.h:58
Definition: typeDefs.h:59
ByteArray m_retMessage
Definition: retVal.h:59
Definition: apiFunctionsGraph.cpp:39
tRetValue m_retValue
Definition: retVal.h:57
bool operator==(const ByteArray &a1, const char *a2)
comparison operator that returns true if the content of a1 is equal to the given zero-terminated stri...
Definition: byteArray.h:185
int containsWarningOrError() const
Definition: retVal.h:151
RetVal(int retValue)
default constructor that creates a RetVal with the status given by retValue, code 0 and no message...
Definition: retVal.h:69
int containsError() const
Definition: retVal.h:150
tRetValue
Definition: typeDefs.h:56
int m_retCode
Definition: retVal.h:58
RetVal()
default constructor that creates a RetVal with status ito::retOk, code 0 and no message.
Definition: retVal.h:63
bool operator!=(const ByteArray &a1, const char *a2)
comparison operator that returns true if the content of a1 is not equal to the given zero-terminated ...
Definition: byteArray.h:197
~RetVal()
destructor
Definition: retVal.h:82
RetVal(tRetValue retValue)
default constructor that creates a RetVal with the status given by retValue, code 0 and no message...
Definition: retVal.h:66
const char * data() const
return the pointer to the internal character array. If it is empty, the returned pointer still points...
Definition: byteArray.h:131
int errorCode() const
Definition: retVal.h:155