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

Method CanReadFile

IO/Xdmf2/vtkXdmfReader.cxx:180–187  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

178
179//------------------------------------------------------------------------------
180int vtkXdmfReader::CanReadFile(const char* filename)
181{
182 vtkXdmfReaderTester* tester = vtkXdmfReaderTester::New();
183 tester->SetFileName(filename);
184 int res = tester->TestReadFile();
185 tester->Delete();
186 return res;
187}
188
189//------------------------------------------------------------------------------
190int vtkXdmfReader::FillOutputPortInformation(int, vtkInformation* info)

Callers 1

Calls 4

DeleteMethod · 0.65
NewFunction · 0.50
SetFileNameMethod · 0.45
TestReadFileMethod · 0.45

Tested by

no test coverage detected