NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
Main Page
User Guides
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Macros
Pages
nscope_extcl
MediaLocator.h
1
#ifndef MEDIALOCATOR_H
2
#define MEDIALOCATOR_H
3
4
#include <string>
5
#include <set>
6
7
class
MediaLocator
{
8
9
private
:
10
std::set<std::string> m_searchPath;
11
12
public
:
13
MediaLocator
() =
default
;
14
MediaLocator
(
const
MediaLocator
&) =
default
;
15
~
MediaLocator
() =
default
;
16
17
std::string locateFile(
const
std::string& file);
18
19
void
addPath(
const
std::string& path);
20
21
private
:
22
bool
fileExists(
const
std::string& path);
23
24
};
25
26
#endif
Generated on Mon Aug 1 2016 11:33:25 for NSCL DDAS by
1.8.1.2