vtkPVFilePathEncodingHelper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVFilePathEncodingHelper_h
13 #define vtkPVFilePathEncodingHelper_h
14 
15 #include "vtkObject.h"
16 #include "vtkRemotingServerManagerModule.h" //needed for exports
17 
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
29  vtkSetStringMacro(Path);
30  vtkGetStringMacro(Path);
32 
34 
37  vtkSetStringMacro(SecondaryPath);
38  vtkGetStringMacro(SecondaryPath);
39 
42 
46  vtkGetMacro(ActiveGlobalId, int);
47  vtkSetMacro(ActiveGlobalId, int);
49 
53  bool MakeDirectory();
54 
58  bool DeleteDirectory();
59 
63  bool OpenDirectory();
64 
68  bool RenameDirectory();
69 
73  bool IsDirectory();
74 
78  bool GetActiveFileIsReadable();
79 
80 protected:
82  ~vtkPVFilePathEncodingHelper() override;
83 
84  bool CallObjectMethod(const char* method, bool ignoreError = false);
85 
86  char* Path;
89 
90 private:
92  void operator=(const vtkPVFilePathEncodingHelper&) = delete;
93 };
94 
95 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
server side object used to check if manipulate a directory
static vtkObject * New()
void operator=(const vtkObjectBase &)