vtkSMFileUtilities.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
25 #ifndef vtkSMFileUtilities_h
26 #define vtkSMFileUtilities_h
27 
28 #include "vtkRemotingServerManagerModule.h" // for exports
29 #include "vtkSMSessionObject.h"
30 
32 {
33 public:
34  static vtkSMFileUtilities* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
45  bool MakeDirectory(const std::string& name, vtkTypeUInt32 location);
46 
53  bool DeleteDirectory(const std::string& name, vtkTypeUInt32 location);
54 
61  bool RenameDirectory(const std::string& name, const std::string& newname, vtkTypeUInt32 location);
62 
63 protected:
65  ~vtkSMFileUtilities() override;
66 
67 private:
68  vtkSMFileUtilities(const vtkSMFileUtilities&) = delete;
69  void operator=(const vtkSMFileUtilities&) = delete;
70 };
71 
72 #endif
superclass for any server manager classes that are related to a session
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
file system utilties
static vtkSMSessionObject * New()