------------------------------------------------------------------------------
| 165 | |
| 166 | //------------------------------------------------------------------------------ |
| 167 | void vtkXMLPTableWriter::SetupPieceFileNameExtension() |
| 168 | { |
| 169 | this->Superclass::SetupPieceFileNameExtension(); |
| 170 | |
| 171 | // Create a temporary piece writer and then initialize the extension. |
| 172 | vtkXMLWriter* writer = this->CreatePieceWriter(0); |
| 173 | const char* ext = writer->GetDefaultFileExtension(); |
| 174 | this->PieceFileNameExtension = new char[strlen(ext) + 2]; |
| 175 | this->PieceFileNameExtension[0] = '.'; |
| 176 | strcpy(this->PieceFileNameExtension + 1, ext); |
| 177 | writer->Delete(); |
| 178 | } |
| 179 | |
| 180 | //------------------------------------------------------------------------------ |
| 181 | int vtkXMLPTableWriter::FillInputPortInformation(int, vtkInformation* info) |
nothing calls this directly
no test coverage detected