C
QStringSplitter Class
class SafeRenderer::QStringSplitterThe QStringSplitter class splits the string. More...
Header: | #include <QStringSplitter> |
Since: | QtSafeRenderer 1.0 |
This class was introduced in QtSafeRenderer 1.0.
Public Functions
bool | hasNext() |
void | nextSubString(SafeRenderer::QSafeString &targetArg) |
Detailed Description
The QStringSplitter class splits the string. The string needs to be constructed with to segments separated by split character.
Member Function Documentation
bool QStringSplitter::hasNext()
Returns true if there are segment(s) left in the string; false otherwise.
void QStringSplitter::nextSubString(SafeRenderer::QSafeString &targetArg)
Copies the next string segment to targetArg.
If the length of the string to be split exceeds SafeRenderer::Constraints::MAX_LEN_OF_TEXT, an exception will be thrown:
Constant | Description |
---|---|
SafeRenderer::QSafeString::StringExceptions::TooLong | The string does not fit inside SafeRenderer::Constraints::MAX_LEN_OF_TEXT. |
Available under certain Qt licenses.
Find out more.