vtkPVIOSettings.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkPVIOSettings_h
19 #define vtkPVIOSettings_h
20 
21 #include "vtkObject.h"
22 #include "vtkRemotingViewsModule.h" // needed for exports
23 #include "vtkSmartPointer.h" // needed for vtkSmartPointer
24 
25 #include <memory> // needed for unique_ptr
26 
27 class vtkStringArray;
29 
31 {
32 public:
33  static vtkPVIOSettings* New();
34  vtkTypeMacro(vtkPVIOSettings, vtkObject);
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
40  static vtkPVIOSettings* GetInstance();
41 
43 
46  virtual void SetNumberOfExcludedNameFilters(int n);
47  virtual int GetNumberOfExcludedNameFilters();
49 
51 
55  virtual void SetExcludedNameFilter(int i, const char* expression);
56  virtual const char* GetExcludedNameFilter(int i);
58 
63  vtkStringArray* GetAllNameFilters();
64 
65 protected:
67  ~vtkPVIOSettings() override;
68 
69 private:
70  vtkPVIOSettings(const vtkPVIOSettings&) = delete;
71  void operator=(const vtkPVIOSettings&) = delete;
72 
73  class vtkInternals;
74  std::unique_ptr<vtkInternals> Internals;
75 };
76 
77 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
singleton used to control how ParaView open and save files
static vtkObject * New()
void operator=(const vtkObjectBase &)