VTK  9.2.5
vtkXMLPartitionedDataSetReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ParaView
4 Module: vtkXMLPartitionedDataSetReader.h
5
6 Copyright (c) Kitware, Inc.
7 All rights reserved.
8 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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=========================================================================*/
32#ifndef vtkXMLPartitionedDataSetReader_h
33#define vtkXMLPartitionedDataSetReader_h
34
35#include "vtkIOXMLModule.h" // For export macro
37
39
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47protected:
50
51 // Read the XML element for the subtree of a the composite dataset.
52 // dataSetIndex is used to rank the leaf nodes in an inorder traversal.
54 const char* filePath, unsigned int& dataSetIndex) override;
55
56 // Get the name of the data set being read.
57 const char* GetDataSetName() override;
58
59 int FillOutputPortInformation(int, vtkInformation* info) override;
60
61private:
63 void operator=(const vtkXMLPartitionedDataSetReader&) = delete;
64};
65
66#endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:40
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
Reader for multi-group datasets.
Represents an XML element and those nested inside.
Reader for partitioned datasets.
static vtkXMLPartitionedDataSetReader * New()
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkXMLPartitionedDataSetReader() override
const char * GetDataSetName() override
void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex) override