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

Function IterKey

Source/cmPackageInfoReader.cxx:202–207  ·  view source on GitHub ↗

Extract key name from value iterator as string_view.

Source from the content-addressed store, hash-verified

200
201// Extract key name from value iterator as string_view.
202cm::string_view IterKey(Json::Value::const_iterator iter)
203{
204 char const* end;
205 char const* const start = iter.memberName(&end);
206 return { start, static_cast<std::string::size_type>(end - start) };
207}
208
209// Get list-of-strings value from object.
210std::vector<std::string> ReadList(Json::Value const& arr)

Callers 5

AppendLanguagePropertiesFunction · 0.85
SetTargetPropertiesMethod · 0.85
AddLibraryComponentMethod · 0.85
ImportTargetsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…