ADTF
|
Specialisation for QString class, because the QString stores values as unsigned short. More...
Public Member Functions | |
cQtIStringImpl (QString *pstrAssignValue) | |
CTOR with pointer to the value of value_type. More... | |
~cQtIStringImpl () | |
DTOR. | |
tResult | Set (const char *strValue) override |
Sets the given null-terminated string to the implementation. More... | |
const char * | Get () const override |
Gets the pointer to the current associated nullterminated-string. More... | |
size_t | GetLength () const override |
Gets the current size of the strng. More... | |
Private Member Functions | |
cQtIStringImpl ()=delete | |
CTOR. | |
cQtIStringImpl (const cQtIStringImpl &strValue)=delete | |
copy CTOR More... | |
cQtIStringImpl (cQtIStringImpl &&strValue)=delete | |
move CTOR More... | |
cQtIStringImpl & | operator= (const cQtIStringImpl &strValue)=delete |
copy operator More... | |
cQtIStringImpl & | operator= (cQtIStringImpl &&strValue)=delete |
move operator More... | |
Private Attributes | |
QString * | m_pAssignValue |
pointer to the value | |
QByteArray | m_oValueToReturnConstChar |
Additional Inherited Members | |
Static Public Attributes inherited from IString | |
static constexpr size_t | InvalidPos = g_npos |
Invalid Position size. | |
Specialisation for QString class, because the QString stores values as unsigned short.
Definition at line 26 of file qt_string_intf.h.
|
privatedelete |
copy CTOR
[in] | strValue | initial value |
|
privatedelete |
move CTOR
[in] | strValue | initial value |
|
inlineexplicit |
CTOR with pointer to the value of value_type.
pstrAssignValue | [in] pointer to the value |
Definition at line 51 of file qt_string_intf.h.
References cQtIStringImpl::m_pAssignValue.
|
inlineoverridevirtual |
Gets the pointer to the current associated nullterminated-string.
Implements IString.
Definition at line 73 of file qt_string_intf.h.
References cQtIStringImpl::m_pAssignValue.
|
inlineoverridevirtual |
Gets the current size of the strng.
Usually this is in Bytes (null-termination is not included!)
If | not valid return InvalidPos! |
Implements IString.
Definition at line 83 of file qt_string_intf.h.
References cQtIStringImpl::m_pAssignValue.
|
privatedelete |
copy operator
[in] | strValue | value to copy from |
|
privatedelete |
move operator
[in] | strValue | value to move from |
|
inlineoverridevirtual |
Sets the given null-terminated string to the implementation.
strValue | [in] The null-terminated string to set. |
ERR_NOERROR | The value is set successfully |
ERR_MEMORY | The value can not be set. Too long. No truncating provided. |
Implements IString.
Definition at line 60 of file qt_string_intf.h.
References cQtIStringImpl::m_pAssignValue, RETURN_ERROR, and RETURN_NOERROR.