MCPcopy Create free account
hub / github.com/Kitware/CMake / GetSuffixIndex

Method GetSuffixIndex

Source/cmFindLibraryCommand.cxx:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 this->Prefixes.begin();
240 }
241 size_type GetSuffixIndex(std::string const& suffix)
242 {
243 return std::find(this->Suffixes.begin(), this->Suffixes.end(), suffix) -
244 this->Suffixes.begin();
245 }
246 bool HasValidSuffix(std::string const& name);
247 void AddName(std::string const& name);
248 void SetName(std::string const& name);

Callers 1

CheckDirectoryForNameMethod · 0.95

Calls 3

findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected