VTK
vtkXMLPStructuredDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPStructuredDataWriter.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 =========================================================================*/
22 #ifndef __vtkXMLPStructuredDataWriter_h
23 #define __vtkXMLPStructuredDataWriter_h
24 
25 #include "vtkXMLPDataWriter.h"
26 
28 
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
35 protected:
38 
39  virtual vtkXMLStructuredDataWriter* CreateStructuredPieceWriter()=0;
40  void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
41  void WritePPieceAttributes(int index);
43 
44 private:
45  vtkXMLPStructuredDataWriter(const vtkXMLPStructuredDataWriter&); // Not implemented.
46  void operator=(const vtkXMLPStructuredDataWriter&); // Not implemented.
47 };
48 
49 #endif
virtual void WritePPieceAttributes(int index)
Superclass for VTK XML structured data writers.
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:50
a simple class to control print indentation
Definition: vtkIndent.h:37
Write data in a parallel XML format.
virtual void WritePrimaryElementAttributes(ostream &os, vtkIndent indent)
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
#define VTK_IO_EXPORT
Superclass for PVTK XML structured data writers.
void PrintSelf(ostream &os, vtkIndent indent)