vtkPResourceFileLocator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPResourceFileLocator.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 =========================================================================*/
28 #ifndef vtkPResourceFileLocator_h
29 #define vtkPResourceFileLocator_h
30 
31 #include "vtkRemotingCoreModule.h" //needed for exports
32 #include "vtkResourceFileLocator.h"
33 
34 class VTKREMOTINGCORE_EXPORT vtkPResourceFileLocator : public vtkResourceFileLocator
35 {
36 public:
37  static vtkPResourceFileLocator* New();
38  vtkTypeMacro(vtkPResourceFileLocator, vtkResourceFileLocator);
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  using Superclass::Locate;
42  std::string Locate(const std::string& anchor, const std::vector<std::string>& landmark_prefixes,
43  const std::string& landmark, const std::string& defaultDir = std::string()) override;
44 
45 protected:
48 
49 private:
51  void operator=(const vtkPResourceFileLocator&) = delete;
52 };
53 
54 #endif
parallel aware vtkResourceFileLocator
#define VTKREMOTINGCORE_EXPORT