VTK  9.3.20240424
vtkXMLPartitionedDataSetCollectionWriter.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
16#ifndef vtkXMLPartitionedDataSetCollectionWriter_h
17#define vtkXMLPartitionedDataSetCollectionWriter_h
18
19#include "vtkIOParallelXMLModule.h" // For export macro
20#include "vtkXMLWriter2.h"
21
22VTK_ABI_NAMESPACE_BEGIN
24
25class VTKIOPARALLELXML_EXPORT vtkXMLPartitionedDataSetCollectionWriter : public vtkXMLWriter2
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
37
41 const char* GetDefaultFileExtension() override { return "vtpc"; }
42
43protected:
46
48
53 int GetDataSetMajorVersion() override { return 1; }
54 int GetDataSetMinorVersion() override { return 0; }
56
57 int FillInputPortInformation(int port, vtkInformation* info) override;
59
60private:
63 void operator=(const vtkXMLPartitionedDataSetCollectionWriter&) = delete;
64
65 bool WriteSummaryXML(vtkPartitionedDataSetCollection* input,
66 const std::vector<std::vector<std::string>>& allFilenames);
67};
68
69VTK_ABI_NAMESPACE_END
70#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Composite dataset that groups datasets as a collection.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for various pipeline passes that can be overridden by subclasses to do the work for the reque...
int GetDataSetMinorVersion() override
Methods to define the file's major and minor version numbers.
static vtkXMLPartitionedDataSetCollectionWriter * New()
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInputData(vtkPartitionedDataSetCollection *pd)
Primarily for backwards compatibility.
base class for new-style XML Writers