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

Method GetKeys

Source/cmPropertyMap.cxx:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54std::vector<std::string> cmPropertyMap::GetKeys() const
55{
56 std::vector<std::string> keyList;
57 keyList.reserve(this->Map_.size());
58 for (auto const& item : this->Map_) {
59 keyList.push_back(item.first);
60 }
61 std::sort(keyList.begin(), keyList.end());
62 return keyList;
63}
64
65std::vector<std::pair<std::string, std::string>> cmPropertyMap::GetList() const
66{

Callers 5

GetPropertyListMethod · 0.80
GetPropertyKeysMethod · 0.80
GetPropertyKeysMethod · 0.80

Calls 5

reserveMethod · 0.80
push_backMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected