VTK  9.7.20261008
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
52
53#ifndef vtkXMLMultiBlockDataWriter_h
54#define vtkXMLMultiBlockDataWriter_h
55
56#include "vtkIOXMLModule.h" // For export macro
57#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
59
60VTK_ABI_NAMESPACE_BEGIN
62{
63public:
66 void PrintSelf(ostream& os, vtkIndent indent) override;
67
71 const char* GetDefaultFileExtension() override { return "vtm"; }
72
73protected:
76
77 int FillInputPortInformation(int port, vtkInformation* info) override;
78
79 // Internal method called recursively to create the xml tree for the children
80 // of compositeData.
82 vtkCompositeDataSet* compositeData, vtkXMLDataElement* parent, int& writerIdx) override;
83
84private:
86 void operator=(const vtkXMLMultiBlockDataWriter&) = delete;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Represents an XML element and those nested inside.
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 vtkXMLMultiBlockDataWriter * New()
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
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
#define VTK_MARSHALAUTO