MCPcopy Create free account
hub / github.com/Kitware/VTK / CanReadFile

Method CanReadFile

IO/NetCDF/vtkNetCDFCAMReader.cxx:229–239  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

227
228//------------------------------------------------------------------------------
229int vtkNetCDFCAMReader::CanReadFile(const char* fileName)
230{
231 Internal* internals = new Internal(nullptr);
232 if (!internals->openPoints(fileName))
233 {
234 delete internals;
235 return 0;
236 }
237 delete internals;
238 return 1;
239}
240
241//------------------------------------------------------------------------------
242void vtkNetCDFCAMReader::SetFileName(const char* fileName)

Callers

nothing calls this directly

Calls 1

openPointsMethod · 0.80

Tested by

no test coverage detected