------------------------------------------------------------------------------
| 379 | |
| 380 | //------------------------------------------------------------------------------ |
| 381 | int vtkXMLTableWriter::WriteInlineMode(vtkIndent indent) |
| 382 | { |
| 383 | ostream& os = *(this->Stream); |
| 384 | vtkIndent nextIndent = indent.GetNextIndent(); |
| 385 | |
| 386 | // Open the piece's element. |
| 387 | os << nextIndent << "<Piece"; |
| 388 | this->WriteInlinePieceAttributes(); |
| 389 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 390 | { |
| 391 | return 0; |
| 392 | } |
| 393 | os << ">\n"; |
| 394 | |
| 395 | this->WriteInlinePiece(nextIndent.GetNextIndent()); |
| 396 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 397 | { |
| 398 | return 0; |
| 399 | } |
| 400 | |
| 401 | // Close the piece's element. |
| 402 | os << nextIndent << "</Piece>\n"; |
| 403 | |
| 404 | return 1; |
| 405 | } |
| 406 | |
| 407 | //------------------------------------------------------------------------------ |
| 408 | void vtkXMLTableWriter::WriteInlinePieceAttributes() |
no test coverage detected