vtkPVFileInformationHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVFileInformationHelper.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 =========================================================================*/
28 #ifndef vtkPVFileInformationHelper_h
29 #define vtkPVFileInformationHelper_h
30 
31 #include "vtkObject.h"
32 #include "vtkRemotingCoreModule.h" //needed for exports
33 
34 #include <string> // needed for std::string
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
49  vtkSetStringMacro(Path);
50  vtkGetStringMacro(Path);
52 
54 
61  vtkSetStringMacro(WorkingDirectory);
62  vtkGetStringMacro(WorkingDirectory);
64 
66 
72  vtkGetMacro(DirectoryListing, int);
73  vtkSetMacro(DirectoryListing, int);
74  vtkBooleanMacro(DirectoryListing, int);
76 
78 
86  vtkGetMacro(SpecialDirectories, int);
87  vtkSetMacro(SpecialDirectories, int);
88  vtkBooleanMacro(SpecialDirectories, int);
90 
92 
96  vtkGetMacro(ExamplesInSpecialDirectories, bool);
97  vtkSetMacro(ExamplesInSpecialDirectories, bool);
98  vtkBooleanMacro(ExamplesInSpecialDirectories, bool);
100 
102 
109  vtkGetMacro(FastFileTypeDetection, int);
110  vtkSetMacro(FastFileTypeDetection, int);
112 
114 
120  vtkGetMacro(GroupFileSequences, bool);
121  vtkSetMacro(GroupFileSequences, bool);
122  vtkBooleanMacro(GroupFileSequences, bool);
124 
126 
129  vtkGetStringMacro(PathSeparator);
131 
135  bool GetActiveFileIsReadable();
136 
140  bool GetActiveFileIsDirectory();
141 
143 
148  vtkGetMacro(ReadDetailedFileInformation, bool);
149  vtkSetMacro(ReadDetailedFileInformation, bool);
151 
152 protected:
154  ~vtkPVFileInformationHelper() override;
155 
156  char* Path;
163 
166  vtkSetStringMacro(PathSeparator);
167 
168 private:
170  void operator=(const vtkPVFileInformationHelper&) = delete;
171 };
172 
173 #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 &)