Go to the source code of this file.
◆ ClassImp()
Definition at line 28 of file SampleLocal.cxx.
33 testInvariant ()
const
35 for (FilesIter
file = m_files.begin(),
55 SampleLocal (
const std::string&
name)
69 std::string myfile =
file;
70 if (myfile.find (
":/") == std::string::npos)
73 myfile = gSystem->WorkingDirectory() + (
"/" + myfile);
74 myfile =
"file://" + myfile;
76 m_files.push_back (myfile);
81 std::size_t SampleLocal ::
85 return m_files.size();
96 return m_files[
index];
101 SamplePtr SampleLocal ::
105 return SamplePtr (
const_cast<SampleLocal*
>(
this));
110 std::vector<std::string> SampleLocal ::
111 doMakeFileList ()
const
115 std::vector<std::string>
result;
116 for (FilesIter
file = m_files.begin(),
125 doUpdateLocation (
const std::string& from,
const std::string&
to)
128 for (FilesMIter
file = m_files.begin(),
131 if (strncmp (
file->c_str(), from.c_str(), from.size()) == 0)
132 *
file =
to +
"/" +
file->substr (from.size());