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

Method contains

YACReaderLibrary/yacreader_libraries.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool YACReaderLibraries::contains(const QString &name) const
83{
84 auto library = std::find_if(libraries.cbegin(), libraries.cend(), [name](const YACReaderLibrary &library) { return library.getName() == name; });
85 return library != libraries.cend();
86}
87
88bool YACReaderLibraries::contains(int id) const
89{

Callers 15

createLibraryMethod · 0.45
addExistingLibraryMethod · 0.45
removeLibraryMethod · 0.45
restoreOptionsMethod · 0.45
dropEventMethod · 0.45
requestRangeMethod · 0.45
onRawDataReadyMethod · 0.45
loadMethod · 0.45
colorFromJsonFunction · 0.45
makeThemeFunction · 0.45
updateConfigMethod · 0.45

Calls 2

getLegacyIdMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected