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

Method getUuid

YACReaderLibrary/yacreader_libraries.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113QUuid YACReaderLibraries::getUuid(const QString &name) const
114{
115 auto library = std::find_if(libraries.cbegin(), libraries.cend(), [name](const YACReaderLibrary &library) { return library.getName() == name; });
116 return library != libraries.cend() ? library->getId() : QUuid();
117}
118
119int YACReaderLibraries::getIdFromUuid(const QUuid &uuid) const
120{

Callers 1

showLibraryInfoMethod · 0.80

Calls 2

getNameMethod · 0.45
getIdMethod · 0.45

Tested by

no test coverage detected