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 =========================================================================*/
31 #ifndef vtkXMLPDataSetWriter_h
32 #define vtkXMLPDataSetWriter_h
33 
34 #include "vtkIOParallelXMLModule.h" // For export macro
35 #include "vtkXMLPDataWriter.h"
36 
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42  static vtkXMLPDataSetWriter* New();
43 
44  //BTX
46 
48  //ETX
50 
51 protected:
54 
55  // see algorithm for more info
57 
58  // Override writing method from superclass.
59  virtual int WriteInternal();
60 
61  // Dummies to satisfy pure virtuals from superclass.
62  const char* GetDataSetName();
63  const char* GetDefaultFileExtension();
65 
66 private:
67  vtkXMLPDataSetWriter(const vtkXMLPDataSetWriter&); // Not implemented.
68  void operator=(const vtkXMLPDataSetWriter&); // Not implemented.
69 };
70 
71 #endif
virtual const char * GetDataSetName()=0
vtkDataObject * GetInput()
Definition: vtkXMLWriter.h:196
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
#define VTKIOPARALLELXML_EXPORT
Write any type of PVTK XML file.
virtual int WriteInternal()
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:53
a simple class to control print indentation
Definition: vtkIndent.h:38
Write data in a parallel XML format.
virtual const char * GetDefaultFileExtension()=0
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)