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

Method CloseVTKString

IO/XML/vtkXMLReader.cxx:455–468  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

453
454//------------------------------------------------------------------------------
455void vtkXMLReader::CloseVTKString()
456{
457 if (!this->Stream)
458 {
459 vtkErrorMacro("String not open.");
460 return;
461 }
462 if (this->Stream == this->StringStream)
463 {
464 // We opened the string. Close it.
465 delete this->StringStream;
466 this->StringStream = nullptr;
467 }
468}
469
470//------------------------------------------------------------------------------
471void vtkXMLReader::CreateXMLParser()

Callers 1

CloseStreamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected