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

Method SetArrayArray

Source/cmQtAutoGenInitializer.cxx:264–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263template <typename CONT, typename FUNC>
264void InfoWriter::SetArrayArray(std::string const& key, CONT const& container,
265 FUNC func)
266{
267 Json::Value& jval = this->Value_[key];
268 if (MakeArray(jval, container)) {
269 Json::ArrayIndex ii = 0;
270 for (auto const& citem : container) {
271 Json::Value& aval = jval[ii++];
272 aval = Json::arrayValue;
273 func(aval, citem);
274 }
275 }
276}
277
278template <typename CONT>
279void InfoWriter::SetConfigArray(

Callers 1

SetupWriteAutogenInfoMethod · 0.80

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected