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

Method CloseStream

IO/XML/vtkXMLReader.cxx:423–437  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

421
422//------------------------------------------------------------------------------
423void vtkXMLReader::CloseStream()
424{
425 if (this->Stream)
426 {
427 if (this->ReadFromInputString)
428 {
429 this->CloseVTKString();
430 }
431 else
432 {
433 this->CloseVTKFile();
434 }
435 this->Stream = nullptr;
436 }
437}
438
439//------------------------------------------------------------------------------
440void vtkXMLReader::CloseVTKFile()

Callers 3

~vtkXMLReaderMethod · 0.95
ReadXMLInformationMethod · 0.95
RequestDataMethod · 0.95

Calls 2

CloseVTKStringMethod · 0.95
CloseVTKFileMethod · 0.95

Tested by

no test coverage detected