VTK  9.3.0
vtkXMLMultiBlockDataWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
23 #ifndef vtkXMLMultiBlockDataWriter_h
24 #define vtkXMLMultiBlockDataWriter_h
25 
26 #include "vtkIOXMLModule.h" // For export macro
28 
29 VTK_ABI_NAMESPACE_BEGIN
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
40  const char* GetDefaultFileExtension() override { return "vtm"; }
41 
42 protected:
45 
47 
48  // Internal method called recursively to create the xml tree for the children
49  // of compositeData.
51  vtkCompositeDataSet* compositeData, vtkXMLDataElement* parent, int& writerIdx) override;
52 
53 private:
55  void operator=(const vtkXMLMultiBlockDataWriter&) = delete;
56 };
57 
58 VTK_ABI_NAMESPACE_END
59 #endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:38
Store vtkAlgorithm input/output information.
Writer for multi-group datasets.
Represents an XML element and those nested inside.
writer for vtkMultiBlockDataSet.
static vtkXMLMultiBlockDataWriter * New()
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
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.
int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx) override
Internal method called recursively to create the xml tree for the children of compositeData as well a...
~vtkXMLMultiBlockDataWriter() override
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447