5#ifndef SAMPLE_HANDLER_SAMPLE_LOCAL_HH
6#define SAMPLE_HANDLER_SAMPLE_LOCAL_HH
121 typedef std::vector<std::string>::const_iterator
FilesIter;
void add(const std::string &file)
add a file to the list
virtual std::size_t getNumFiles() const
the number of files in the sample
std::vector< std::string > m_files
the list of files we use
virtual void doUpdateLocation(const std::string &from, const std::string &to)
update all file references starting with from to to
virtual std::string getFileName(std::size_t index) const
the name of the file with the given index
SampleLocal(const std::string &name)
standard constructor
void testInvariant() const
test the invariant of this object
virtual SamplePtr doMakeLocal() const
Make this a local sample, i.e.
std::vector< std::string >::const_iterator FilesIter
the iterator for m_files
SampleLocal()
standard constructor
virtual std::vector< std::string > doMakeFileList() const
make a list of all files, prestaging them if necessary
std::vector< std::string >::iterator FilesMIter
the mutable iterator for m_files
Sample(const std::string &name)
standard constructor
const std::string & name() const
the name of the sample we are using
This module provides a lot of global definitions, forward declarations and includes that are used by ...