00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00023 #ifndef __vtkSMServerFileListingProxy_h
00024 #define __vtkSMServerFileListingProxy_h
00025
00026 #include "vtkSMProxy.h"
00027
00028 class VTK_EXPORT vtkSMServerFileListingProxy : public vtkSMProxy
00029 {
00030 public:
00031 static vtkSMServerFileListingProxy* New();
00032 vtkTypeRevisionMacro(vtkSMServerFileListingProxy, vtkSMProxy);
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00036
00038 void SetActiveFileName(const char* name);
00039 vtkGetStringMacro(ActiveFileName);
00041
00043
00044 vtkGetMacro(ActiveFileIsReadable, int);
00046
00048
00049 vtkGetMacro(ActiveFileIsDirectory, int);
00051
00056 virtual void UpdateInformation();
00057 protected:
00058 vtkSMServerFileListingProxy();
00059 ~vtkSMServerFileListingProxy();
00060
00061 int ActiveFileIsReadable;
00062 int ActiveFileIsDirectory;
00063 char* ActiveFileName;
00064
00065 private:
00066 vtkSMServerFileListingProxy(const vtkSMServerFileListingProxy&);
00067 void operator=(const vtkSMServerFileListingProxy&);
00068 };
00069
00070
00071 #endif
00072
00073