MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / checkParams

Method checkParams

3rdparty/qtcsv/sources/reader.cpp:160–167  ·  view source on GitHub ↗

Check if file path and separator are valid @input: - separator - string or character that separate values in a row @output: - bool - True if file path and separator are valid, otherwise False

Source from the content-addressed store, hash-verified

158// @output:
159// - bool - True if file path and separator are valid, otherwise False
160bool ReaderPrivate::checkParams(const QString& separator) {
161 if (separator.isEmpty()) {
162 qDebug() << __FUNCTION__ << "Error - separator could not be empty";
163 return false;
164 }
165
166 return true;
167}
168
169// Split string to elements
170// @input:

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected