MCPcopy Create free account
hub / github.com/YACReader/yacreader / getName

Method getName

YACReaderLibrary/yacreader_libraries.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71QString YACReaderLibraries::getName(int id) const
72{
73 auto library = std::find_if(libraries.cbegin(), libraries.cend(), [id](const YACReaderLibrary &library) { return library.getLegacyId() == id; });
74 return library != libraries.cend() ? library->getName() : "";
75}
76
77bool YACReaderLibraries::isEmpty() const
78{

Callers 8

getNamesMethod · 0.45
getPathMethod · 0.45
containsMethod · 0.45
removeMethod · 0.45
renameMethod · 0.45
getIdMethod · 0.45
getUuidMethod · 0.45
sortedLibrariesMethod · 0.45

Calls 1

getLegacyIdMethod · 0.80

Tested by

no test coverage detected