MCPcopy Create free account
hub / github.com/KDE/labplot / functionDescription

Method functionDescription

src/backend/gsl/ExpressionParser.cpp:244–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244QString ExpressionParser::functionDescription(const QString& function) {
245 for (int index = 0; index < _number_functions; index++) {
246 if (function == QLatin1String(_functions[index].name))
247 return _functions[index].description();
248 }
249 for (int index = 0; index < _number_specialfunctions; index++) {
250 if (function == QLatin1String(_special_functions[index].name))
251 return _special_functions[index].description();
252 }
253 return QStringLiteral("");
254}
255QString ExpressionParser::constantDescription(const QString& constant) {
256 for (int index = 0; index < _number_constants; index++) {
257 if (constant == QLatin1String(_constants[index].name))

Callers 1

ExpressionTextEditMethod · 0.80

Calls 1

descriptionMethod · 0.80

Tested by

no test coverage detected