vtkLoadStateOptions.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkLoadStateOptions.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 =========================================================================*/
23 #ifndef vtkLoadStateOptions_h
24 #define vtkLoadStateOptions_h
25 
26 #include "vtkObject.h"
27 #include "vtkRemotingServerManagerModule.h" //needed for exports
28 #include <string> // needed for std::string
29 
31 {
32 public:
33  static vtkLoadStateOptions* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  vtkSetMacro(DataDirectory, std::string);
38 
48  std::string LocateFileInDirectory(const std::string& filepath, int isPath);
49 
50 protected:
52  ~vtkLoadStateOptions() override;
53 
54  std::string DataDirectory;
55 
56 private:
58  void operator=(const vtkLoadStateOptions&) = delete;
59 };
60 
61 #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 &)