Rivet  1.8.3
RivetPaths.hh
1 // -*- C++ -*-
2 #ifndef RIVET_RivetPaths_HH
3 #define RIVET_RivetPaths_HH
4 
5 namespace Rivet {
6 
7 
9 
10 
12  std::string getLibPath();
13 
15  std::string getDataPath();
16 
18  std::string getRivetDataPath();
19 
21 
22 
24 
25 
27  std::vector<std::string> getAnalysisLibPaths();
28 
30  void setAnalysisLibPaths(const std::vector<std::string>& paths);
31 
33  void addAnalysisLibPath(const std::string& extrapath);
34 
37  std::string findAnalysisLibFile(const std::string& filename);
38 
40 
41 
43 
44 
46  std::vector<std::string> getAnalysisRefPaths();
47 
50  std::string findAnalysisRefFile(const std::string& filename,
51  const std::vector<std::string>& pathprepend=std::vector<std::string>(),
52  const std::vector<std::string>& pathappend=std::vector<std::string>());
53 
55  std::vector<std::string> getAnalysisInfoPaths();
56 
59  std::string findAnalysisInfoFile(const std::string& filename,
60  const std::vector<std::string>& pathprepend=std::vector<std::string>(),
61  const std::vector<std::string>& pathappend=std::vector<std::string>());
62 
64  std::vector<std::string> getAnalysisPlotPaths();
65 
68  std::string findAnalysisPlotFile(const std::string& filename,
69  const std::vector<std::string>& pathprepend=std::vector<std::string>(),
70  const std::vector<std::string>& pathappend=std::vector<std::string>());
71 
73 
74 
75 }
76 
77 #endif
std::string findAnalysisLibFile(const std::string &filename)
Find the first file of the given name in the analysis library search dirs.
Definition: RivetPaths.cc:64
std::vector< std::string > getAnalysisInfoPaths()
Get Rivet analysis info metadata search paths.
Definition: RivetPaths.cc:91
std::string findAnalysisRefFile(const std::string &filename, const std::vector< std::string > &pathprepend=std::vector< std::string >(), const std::vector< std::string > &pathappend=std::vector< std::string >())
Find the first file of the given name in the ref data file search dirs.
Definition: RivetPaths.cc:84
std::string getRivetDataPath()
Get Rivet data install path.
Definition: RivetPaths.cc:34
std::string getLibPath()
Get library install path.
Definition: RivetPaths.cc:24
std::string getDataPath()
Get data install path.
Definition: RivetPaths.cc:29
void setAnalysisLibPaths(const std::vector< std::string > &paths)
Set the Rivet analysis plugin library search paths.
Definition: RivetPaths.cc:40
std::vector< std::string > getAnalysisPlotPaths()
Get Rivet analysis plot style search paths.
Definition: RivetPaths.cc:113
std::string findAnalysisPlotFile(const std::string &filename, const std::vector< std::string > &pathprepend=std::vector< std::string >(), const std::vector< std::string > &pathappend=std::vector< std::string >())
Find the first file of the given name in the analysis plot file search dirs.
Definition: RivetPaths.cc:128
std::vector< std::string > getAnalysisRefPaths()
Get Rivet analysis reference data search paths.
Definition: RivetPaths.cc:69
void addAnalysisLibPath(const std::string &extrapath)
Set the Rivet analysis plugin library search paths.
Definition: RivetPaths.cc:45
std::string findAnalysisInfoFile(const std::string &filename, const std::vector< std::string > &pathprepend=std::vector< std::string >(), const std::vector< std::string > &pathappend=std::vector< std::string >())
Find the first file of the given name in the analysis info file search dirs.
Definition: RivetPaths.cc:106
std::vector< std::string > getAnalysisLibPaths()
Get Rivet analysis plugin library search paths.
Definition: RivetPaths.cc:51