MCPcopy Create free account
hub / github.com/Kitware/VTK / operator()

Method operator()

IO/CellGrid/vtkCellGridWriter.cxx:169–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168 template <typename InArrayT>
169 void operator()(InArrayT* inArray)
170 {
171 using T = vtk::GetAPIType<InArrayT>;
172 const auto inRange = vtk::DataArrayValueRange(inArray);
173 T val;
174 for (const auto& value : inRange)
175 {
176 val = value;
177 m_result.push_back(val);
178 }
179 }
180
181 nlohmann::json& m_result;
182};

Callers

nothing calls this directly

Calls 2

DataArrayValueRangeFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected