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

Function getFunction2

tests/backend/gsl/ExpressionParserTest.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19func_t2 getFunction2(const QString& s) {
20 const QString functionName(s);
21 for (int i = 0; i < _number_functions; i++) {
22 if (functionName == QLatin1String(_functions[i].name)) {
23 if (_functions[i].argc == 2)
24 return std::get<func_t2>(_functions[i].fnct);
25 }
26 }
27 return nullptr;
28}
29
30func_t3 getFunction3(const QString& s) {
31 const QString functionName(s);

Callers 9

testgreaterThanMethod · 0.85
testgreaterEqualThanMethod · 0.85
testlessThanMethod · 0.85
testlessEqualThanMethod · 0.85
testequalMethod · 0.85
testandFunctionMethod · 0.85
testorFunctionMethod · 0.85
testxorFunctionMethod · 0.85
testRoundnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected