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

Method EndFile

IO/XML/vtkXMLWriter.cxx:793–808  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

791
792//------------------------------------------------------------------------------
793int vtkXMLWriter::EndFile()
794{
795 ostream& os = *(this->Stream);
796
797 // Close the document-level element.
798 os << "</VTKFile>\n";
799
800 os.flush();
801 if (os.fail())
802 {
803 this->SetErrorCode(vtkErrorCode::GetLastSystemError());
804 return 0;
805 }
806
807 return 1;
808}
809
810//------------------------------------------------------------------------------
811void vtkXMLWriter::DeleteAFile()

Callers 7

ProcessRequestMethod · 0.45
ProcessRequestMethod · 0.45
ProcessRequestMethod · 0.45
WriteDataMethod · 0.45
ProcessRequestMethod · 0.45
WriteDataMethod · 0.45
WriteDataMethod · 0.45

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected