| 44 | } |
| 45 | |
| 46 | void vtkDataObjectWriter::PrintSelf(ostream& os, vtkIndent indent) |
| 47 | { |
| 48 | this->Superclass::PrintSelf(os, indent); |
| 49 | |
| 50 | os << indent |
| 51 | << "File Name: " << (this->Writer->GetFileName() ? this->Writer->GetFileName() : "(none)") |
| 52 | << "\n"; |
| 53 | |
| 54 | if (this->Writer->GetFileType() == VTK_BINARY) |
| 55 | { |
| 56 | os << indent << "File Type: BINARY\n"; |
| 57 | } |
| 58 | else |
| 59 | { |
| 60 | os << indent << "File Type: ASCII\n"; |
| 61 | } |
| 62 | |
| 63 | if (this->Writer->GetHeader()) |
| 64 | { |
| 65 | os << indent << "Header: " << this->Writer->GetHeader() << "\n"; |
| 66 | } |
| 67 | else |
| 68 | { |
| 69 | os << indent << "Header: (None)\n"; |
| 70 | } |
| 71 | |
| 72 | if (this->Writer->GetFieldDataName()) |
| 73 | { |
| 74 | os << indent << "Field Data Name: " << this->Writer->GetFieldDataName() << "\n"; |
| 75 | } |
| 76 | else |
| 77 | { |
| 78 | os << indent << "Field Data Name: (None)\n"; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | int vtkDataObjectWriter::FillInputPortInformation(int, vtkInformation* info) |
| 83 | { |
nothing calls this directly
no test coverage detected