vtkLoadStateOptions.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkLoadStateOptions_h
12 #define vtkLoadStateOptions_h
13 
14 #include "vtkObject.h"
15 #include "vtkRemotingServerManagerModule.h" //needed for exports
16 #include <string> // needed for std::string
17 
19 {
20 public:
21  static vtkLoadStateOptions* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
25  vtkSetMacro(DataDirectory, std::string);
26 
36  std::string LocateFileInDirectory(const std::string& filepath, int isPath);
37 
38 protected:
40  ~vtkLoadStateOptions() override;
41 
42  std::string DataDirectory;
43 
44 private:
46  void operator=(const vtkLoadStateOptions&) = delete;
47 };
48 
49 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
supports locating files in directory when loading a state file.
static vtkObject * New()
void operator=(const vtkObjectBase &)