VTK
vtkXMLPartitionedDataSetCollectionWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPartitionedDataSetCollectionWriter.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 =========================================================================*/
26 #ifndef vtkXMLPartitionedDataSetCollectionWriter_h
27 #define vtkXMLPartitionedDataSetCollectionWriter_h
28 
29 #include "vtkIOXMLModule.h" // For export macro
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  const char* GetDefaultFileExtension() override
43  { return "vtpc"; }
44 
45 protected:
48 
50 
51  // Internal method called recursively to create the xml tree for the children
52  // of compositeData.
53  int WriteComposite(vtkCompositeDataSet* compositeData,
54  vtkXMLDataElement* parent, int &writerIdx) override;
55 
56 private:
58  void operator=(const vtkXMLPartitionedDataSetCollectionWriter&) = delete;
59 
60 };
61 
62 #endif
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
Represents an XML element and those nested inside.
Store vtkAlgorithm input/output information.
virtual int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *element, int &writerIdx)=0
Internal method called recursively to create the xml tree for the children of compositeData as well a...
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:39
Writer for multi-group datasets.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkAlgorithm * New()