vtkPResourceFileLocator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkPResourceFileLocator_h
17 #define vtkPResourceFileLocator_h
18 
19 #include "vtkRemotingCoreModule.h" //needed for exports
20 #include "vtkResourceFileLocator.h"
21 
22 class VTKREMOTINGCORE_EXPORT vtkPResourceFileLocator : public vtkResourceFileLocator
23 {
24 public:
25  static vtkPResourceFileLocator* New();
26  vtkTypeMacro(vtkPResourceFileLocator, vtkResourceFileLocator);
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  using Superclass::Locate;
30  std::string Locate(const std::string& anchor, const std::vector<std::string>& landmark_prefixes,
31  const std::string& landmark, const std::string& defaultDir = std::string()) override;
32 
33 protected:
35  ~vtkPResourceFileLocator() override;
36 
37 private:
39  void operator=(const vtkPResourceFileLocator&) = delete;
40 };
41 
42 #endif
parallel aware vtkResourceFileLocator
#define VTKREMOTINGCORE_EXPORT