vtkPVFileInformationHelper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkPVFileInformationHelper_h
17 #define vtkPVFileInformationHelper_h
18 
19 #include "vtkObject.h"
20 #include "vtkRemotingCoreModule.h" //needed for exports
21 
22 #include <string> // needed for std::string
23 
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
37  vtkSetStringMacro(Path);
38  vtkGetStringMacro(Path);
40 
42 
49  vtkSetStringMacro(WorkingDirectory);
50  vtkGetStringMacro(WorkingDirectory);
52 
54 
60  vtkGetMacro(DirectoryListing, int);
61  vtkSetMacro(DirectoryListing, int);
62  vtkBooleanMacro(DirectoryListing, int);
64 
66 
74  vtkGetMacro(SpecialDirectories, int);
75  vtkSetMacro(SpecialDirectories, int);
76  vtkBooleanMacro(SpecialDirectories, int);
78 
80 
84  vtkGetMacro(ExamplesInSpecialDirectories, bool);
85  vtkSetMacro(ExamplesInSpecialDirectories, bool);
86  vtkBooleanMacro(ExamplesInSpecialDirectories, bool);
88 
90 
97  vtkGetMacro(FastFileTypeDetection, int);
98  vtkSetMacro(FastFileTypeDetection, int);
100 
102 
108  vtkGetMacro(GroupFileSequences, bool);
109  vtkSetMacro(GroupFileSequences, bool);
110  vtkBooleanMacro(GroupFileSequences, bool);
112 
114 
117  vtkGetStringMacro(PathSeparator);
119 
123  bool GetActiveFileIsReadable();
124 
128  bool GetActiveFileIsDirectory();
129 
131 
136  vtkGetMacro(ReadDetailedFileInformation, bool);
137  vtkSetMacro(ReadDetailedFileInformation, bool);
139 
140 protected:
142  ~vtkPVFileInformationHelper() override;
143 
144  char* Path;
151 
154  vtkSetStringMacro(PathSeparator);
155 
156 private:
158  void operator=(const vtkPVFileInformationHelper&) = delete;
159 };
160 
161 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
server side object used to gather information from, by vtkPVFileInformation.
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)