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

Method CloseVTKFile

IO/XML/vtkXMLReader.cxx:440–452  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

438
439//------------------------------------------------------------------------------
440void vtkXMLReader::CloseVTKFile()
441{
442 if (!this->Stream)
443 {
444 vtkErrorMacro("File not open.");
445 return;
446 }
447 if (this->Stream == this->FileStream)
448 {
449 delete this->FileStream;
450 this->FileStream = nullptr;
451 }
452}
453
454//------------------------------------------------------------------------------
455void vtkXMLReader::CloseVTKString()

Callers 4

CloseStreamMethod · 0.95
WriteDataMethod · 0.45
WriteDataMethod · 0.45
WriteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected