ParaView
vtkSMDirectoryProxy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile$
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 =========================================================================*/
21 #ifndef vtkSMDirectoryProxy_h
22 #define vtkSMDirectoryProxy_h
23 
24 #include "vtkPVServerManagerDefaultModule.h" //needed for exports
25 #include "vtkSMProxy.h"
26 
27 class VTKPVSERVERMANAGERDEFAULT_EXPORT vtkSMDirectoryProxy : public vtkSMProxy
28 {
29 public:
30  static vtkSMDirectoryProxy* New();
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
37  bool MakeDirectory(const char* dir, vtkTypeUInt32 processes);
38 
42  bool DeleteDirectory(const char* dir, vtkTypeUInt32 processes);
43 
47  bool Rename(const char* oldname, const char* newname, vtkTypeUInt32 processes);
48 
52  void List(const char* dir);
53 
54 protected:
57 
58 private:
59  vtkSMDirectoryProxy(const vtkSMDirectoryProxy&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkSMDirectoryProxy&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
void PrintSelf(ostream &os, vtkIndent indent)
static vtkSMProxy * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
Is a utility proxy to create/delete/rename directories.