ESyS-Particle
2.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PathSearcher.h
Go to the documentation of this file.
1
2
// //
3
// Copyright (c) 2003-2013 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
10
// //
12
13
14
#ifndef ESYS_LSMPATHSEARCHER_H
15
#define ESYS_LSMPATHSEARCHER_H
16
17
#include <boost/filesystem/path.hpp>
18
#include <vector>
19
20
namespace
esys
21
{
22
namespace
lsm
23
{
24
class
PathSearcher
25
{
26
public
:
27
PathSearcher
(
const
std::string &delimitedPathList,
const
std::string &delim =
":"
);
28
29
//bool exists(const std::string &fileName);
30
31
boost::filesystem::path
findPath
(
const
std::string &fileName);
32
33
std::string
find
(
const
std::string &fileName);
34
35
private
:
36
typedef
std::vector<boost::filesystem::path>
PathVector
;
37
PathVector
m_pathVector
;
38
};
39
}
40
}
41
42
#endif
Foundation
PathSearcher.h
Generated on Mon May 6 2013 23:26:29 for ESyS-Particle by
1.8.3.1