------------------------------------------------------------------------------
| 791 | |
| 792 | //------------------------------------------------------------------------------ |
| 793 | int 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 | //------------------------------------------------------------------------------ |
| 811 | void vtkXMLWriter::DeleteAFile() |
no test coverage detected