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

Method GetProjectByGUID

Source/cmVisualStudioSlnData.cxx:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28cmSlnProjectEntry* cmSlnData::GetProjectByGUID(std::string const& projectGUID)
29{
30 auto it(ProjectsByGUID.find(projectGUID));
31 if (it != ProjectsByGUID.end()) {
32 return &it->second;
33 }
34 return nullptr;
35}
36
37cmSlnProjectEntry const* cmSlnData::GetProjectByName(
38 std::string const& projectName) const

Callers 1

ProcessMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected