VTK
vtkXMLPDataSetWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPDataSetWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkXMLPDataSetWriter_h
30 #define vtkXMLPDataSetWriter_h
31 
32 #include "vtkIOParallelXMLModule.h" // For export macro
33 #include "vtkXMLPDataWriter.h"
34 
35 class VTKIOPARALLELXML_EXPORT vtkXMLPDataSetWriter : public vtkXMLPDataWriter
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40  static vtkXMLPDataSetWriter* New();
41 
46 
47 protected:
49  ~vtkXMLPDataSetWriter() override;
50 
51  // see algorithm for more info
53 
54  // Override writing method from superclass.
55  int WriteInternal() override;
56 
57  // Dummies to satisfy pure virtuals from superclass.
58  const char* GetDataSetName() override;
59  const char* GetDefaultFileExtension() override;
60  vtkXMLWriter* CreatePieceWriter(int index) override;
61 
62 private:
64  void operator=(const vtkXMLPDataSetWriter&) = delete;
65 };
66 
67 #endif
virtual const char * GetDataSetName()=0
int WriteInternal() override
Override writing method from superclass.
vtkDataObject * GetInput()
Assign a data object as input.
Definition: vtkXMLWriter.h:232
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
Write any type of PVTK XML file.
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:59
a simple class to control print indentation
Definition: vtkIndent.h:33
Write data in a parallel XML format.
virtual const char * GetDefaultFileExtension()=0
Get the default file extension for files written by this writer.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.