| 191 | } |
| 192 | |
| 193 | int vtkXMLStatisticalModelWriter::WriteAPiece() |
| 194 | { |
| 195 | vtkIndent indent = vtkIndent().GetNextIndent(); |
| 196 | |
| 197 | int result = 1; |
| 198 | |
| 199 | if (this->DataMode == vtkXMLWriter::Appended) |
| 200 | { |
| 201 | this->WriteAppendedPieceData(/*CurrentPiece*/ 0); |
| 202 | } |
| 203 | else |
| 204 | { |
| 205 | result = this->WriteInlineModel(indent); |
| 206 | } |
| 207 | |
| 208 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 209 | { |
| 210 | this->DeletePositionArrays(); |
| 211 | result = 0; |
| 212 | } |
| 213 | return result; |
| 214 | } |
| 215 | |
| 216 | int vtkXMLStatisticalModelWriter::WriteFooter() |
| 217 | { |
no test coverage detected