VTK: IO/XML/vtkXMLHierarchicalDataReader.h Source File

| VTK 9.3.1

vtkXMLHierarchicalDataReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkXMLHierarchicalDataReader_h
19 #define vtkXMLHierarchicalDataReader_h
20
21 #include "vtkIOXMLModule.h" // For export macro
22 #include "vtkXMLMultiGroupDataReader.h"
23
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkHierarchicalDataSet;
26
27 class VTKIOXML_EXPORT vtkXMLHierarchicalDataReader : public vtkXMLMultiGroupDataReader
28 {
29 public:
30 static vtkXMLHierarchicalDataReader* New();
31 vtkTypeMacro(vtkXMLHierarchicalDataReader, vtkXMLMultiGroupDataReader);
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 protected:
35 vtkXMLHierarchicalDataReader();
36 ~vtkXMLHierarchicalDataReader() override;
37
38 // Get the name of the data set being read.
39 const char* GetDataSetName() override { return "vtkHierarchicalDataSet"; }
40
41 private:
42 vtkXMLHierarchicalDataReader(const vtkXMLHierarchicalDataReader&) = delete;
43 void operator=(const vtkXMLHierarchicalDataReader&) = delete;
44 };
45
46 VTK_ABI_NAMESPACE_END
47 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkXMLHierarchicalDataReader
Reader for hierarchical datasets.
Definition: vtkXMLHierarchicalDataReader.h:28
vtkXMLHierarchicalDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXMLHierarchicalDataReader::~vtkXMLHierarchicalDataReader
~vtkXMLHierarchicalDataReader() override
vtkXMLHierarchicalDataReader::New
static vtkXMLHierarchicalDataReader * New()
vtkXMLHierarchicalDataReader::vtkXMLHierarchicalDataReader
vtkXMLHierarchicalDataReader()
vtkXMLHierarchicalDataReader::GetDataSetName
const char * GetDataSetName() override
Get the name of the data set being read.
Definition: vtkXMLHierarchicalDataReader.h:39
vtkXMLMultiGroupDataReader
Reader for multi-block datasets.
Definition: vtkXMLMultiGroupDataReader.h:20
vtkXMLMultiGroupDataReader.h