vtkPVFilePathEncodingHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVFilePathEncodingHelper.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 =========================================================================*/
24 #ifndef vtkPVFilePathEncodingHelper_h
25 #define vtkPVFilePathEncodingHelper_h
26 
27 #include "vtkObject.h"
28 #include "vtkRemotingServerManagerModule.h" //needed for exports
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetStringMacro(Path);
42  vtkGetStringMacro(Path);
44 
46 
49  vtkSetStringMacro(SecondaryPath);
50  vtkGetStringMacro(SecondaryPath);
51 
53 
54 
58  vtkGetMacro(ActiveGlobalId, int);
59  vtkSetMacro(ActiveGlobalId, int);
61 
65  bool MakeDirectory();
66 
70  bool DeleteDirectory();
71 
75  bool OpenDirectory();
76 
80  bool RenameDirectory();
81 
85  bool IsDirectory();
86 
90  bool GetActiveFileIsReadable();
91 
92 protected:
94  ~vtkPVFilePathEncodingHelper() override;
95 
96  bool CallObjectMethod(const char* method, bool ignoreError = false);
97 
98  char* Path;
101 
102 private:
104  void operator=(const vtkPVFilePathEncodingHelper&) = delete;
105 };
106 
107 #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 &)