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

Method Transform

Source/cmList.cxx:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 bool InSelection(std::string const&) override { return true; }
275
276 void Transform(std::vector<std::string>& list,
277 transform_type const& transform) override
278 {
279 this->Validate(list.size());
280
281 for (auto index : this->Indexes) {
282 list[index] = transform(list[index]);
283 }
284 }
285
286protected:
287 TransformSelectorIndexes(std::string&& tag)

Callers

nothing calls this directly

Calls 3

transformFunction · 0.85
ValidateMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected