------------------------------------------------------------------------------
| 401 | |
| 402 | //------------------------------------------------------------------------------ |
| 403 | int vtkXMLUnstructuredDataWriter::WriteAPiece() |
| 404 | { |
| 405 | vtkIndent indent = vtkIndent().GetNextIndent(); |
| 406 | |
| 407 | int result = 1; |
| 408 | |
| 409 | if (this->DataMode == vtkXMLWriter::Appended) |
| 410 | { |
| 411 | this->WriteAppendedPieceData(this->CurrentPiece); |
| 412 | } |
| 413 | else |
| 414 | { |
| 415 | result = this->WriteInlineMode(indent); |
| 416 | } |
| 417 | |
| 418 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 419 | { |
| 420 | this->DeletePositionArrays(); |
| 421 | result = 0; |
| 422 | } |
| 423 | return result; |
| 424 | } |
| 425 | |
| 426 | //------------------------------------------------------------------------------ |
| 427 | int vtkXMLUnstructuredDataWriter::WriteFooter() |
no test coverage detected