ParaView
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 "vtkPVClientServerCoreDefaultModule.h" //needed for exports
33 
34 class VTKPVCLIENTSERVERCOREDEFAULT_EXPORT vtkPVFileInformationHelper : public vtkObject
35 {
36 public:
37  static vtkPVFileInformationHelper* New();
38  vtkTypeMacro(vtkPVFileInformationHelper, vtkObject);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
47  vtkSetStringMacro(Path);
48  vtkGetStringMacro(Path);
50 
52 
59  vtkSetStringMacro(WorkingDirectory);
60  vtkGetStringMacro(WorkingDirectory);
62 
64 
70  vtkGetMacro(DirectoryListing, int);
71  vtkSetMacro(DirectoryListing, int);
72  vtkBooleanMacro(DirectoryListing, int);
74 
76 
84  vtkGetMacro(SpecialDirectories, int);
85  vtkSetMacro(SpecialDirectories, int);
86  vtkBooleanMacro(SpecialDirectories, int);
88 
90 
97  vtkGetMacro(FastFileTypeDetection, int);
98  vtkSetMacro(FastFileTypeDetection, int);
100 
102 
105  vtkGetStringMacro(PathSeparator);
107 
111  bool GetActiveFileIsReadable();
112 
116  bool GetActiveFileIsDirectory();
117 
118 protected:
121 
122  char* Path;
127 
129  vtkSetStringMacro(PathSeparator);
130 
131 private:
132  vtkPVFileInformationHelper(const vtkPVFileInformationHelper&) VTK_DELETE_FUNCTION;
133  void operator=(const vtkPVFileInformationHelper&) VTK_DELETE_FUNCTION;
134 };
135 
136 #endif
server side object used to gather information from, by vtkPVFileInformation.