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

Method findFunctionByName

src/3rdparty/liborigin/OriginParser.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81vector<Origin::Function>::difference_type OriginParser::findFunctionByName(const string &name) const
82{
83 for (vector<Function>::const_iterator it = functions.begin(); it != functions.end(); ++it) {
84 if (iequals(it->name, name, locale()))
85 return it - functions.begin();
86 }
87 return -1;
88}
89
90pair<string, string> OriginParser::findDataByIndex(unsigned int index) const
91{

Callers 1

functionIndexMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected