5#ifndef SAMPLE_HANDLER_SAMPLE_COMPOSITE_HH
6#define SAMPLE_HANDLER_SAMPLE_COMPOSITE_HH
virtual SamplePtr doMakeLocal() const
Make this a local sample, i.e.
virtual bool getContains(const std::string &name) const
whether this sample contains a sample of the given name
ClassDef(SampleComposite, 1)
virtual void doUpdateLocation(const std::string &from, const std::string &to)
update all file references starting with from to to
std::vector< SamplePtr >::const_iterator SamplesIter
the iterator for m_samples
void add(const SamplePtr &sample)
add a sample to the list
void testInvariant() const
test the invariant of this object
std::vector< SamplePtr > m_samples
the list of samples we use
virtual std::size_t getNumFiles() const
the number of files in the sample
SampleComposite(const std::string &name)
standard constructor
virtual std::string getFileName(std::size_t index) const
the name of the file with the given index
virtual std::vector< std::string > doMakeFileList() const
make a list of all files, prestaging them if necessary
SampleComposite()
standard constructor
virtual void doAddSamples(SampleHandler &result)
add all samples this sample corresponds to to the given sample handler
A class that manages a list of Sample objects.
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 ...