VTK  9.3.20240419
vtkADIOS2VTXReader.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
3 
4 /*
5  * vtkADIOS2VTXReader.h public facing class
6  * enables reading adios2 bp files using the
7  * VTK ADIOS2 Readers (VTX) developed
8  * at Oak Ridge National Laboratory
9  *
10  * Created on: May 1, 2019
11  * Author: William F Godoy godoywf@ornl.gov
12  */
13 
14 #ifndef vtkADIOS2VTXReader_h
15 #define vtkADIOS2VTXReader_h
16 
17 #include <memory> // std::unique_ptr
18 
19 #include "vtkIOADIOS2Module.h" // For export macro
21 
22 // forward declaring to keep it private
23 namespace vtx
24 {
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTXSchemaManager;
27 VTK_ABI_NAMESPACE_END
28 }
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 
32 class vtkIndent;
33 class vtkInformation;
34 class vtkInformationvector;
35 
36 class VTKIOADIOS2_EXPORT vtkADIOS2VTXReader : public vtkMultiBlockDataSetAlgorithm
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
45 
46 protected:
48  ~vtkADIOS2VTXReader() override;
49 
51  void operator=(const vtkADIOS2VTXReader&) = delete;
52 
54  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
56  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
58  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
59 
60 private:
61  char* FileName;
62  std::unique_ptr<vtx::VTXSchemaManager> SchemaManager;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif /* vtkADIOS2VTXReader_h */
void operator=(const vtkADIOS2VTXReader &)=delete
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkADIOS2VTXReader * New()
vtkADIOS2VTXReader(const vtkADIOS2VTXReader &)=delete
vtkGetFilePathMacro(FileName)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkSetFilePathMacro(FileName)
~vtkADIOS2VTXReader() override
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.