a class representing an output location for files More...
#include <DiskOutput.h>
Public Member Functions | |
void | testInvariant () const |
test the invariant of this object | |
DiskOutput () | |
standard constructor | |
DiskWriter * | makeWriter (const std::string &sample, const std::string &name, int index, const std::string &suffix) const |
create a writer object for a file with the id | |
Protected Member Functions | |
virtual DiskWriter * | doMakeWriter (const std::string &sample, const std::string &name, int index, const std::string &suffix) const |
ClassDef (DiskOutput, 1) |
a class representing an output location for files
SH::DiskOutput::DiskOutput | ( | ) |
standard constructor
virtual DiskWriter* SH::DiskOutput::doMakeWriter | ( | const std::string & | sample, | |
const std::string & | name, | |||
int | index, | |||
const std::string & | suffix | |||
) | const [protected, virtual] |
create a writer object for a file with the id
sample | the name of the sample this belongs to | |
name | the name of the file to create | |
index | the index of the file within the sample, or otherwise -1 | |
suffix | the suffix to use for the file |
Reimplemented in SH::DiskOutputLocal, and SH::DiskOutputXRD.
DiskWriter* SH::DiskOutput::makeWriter | ( | const std::string & | sample, | |
const std::string & | name, | |||
int | index, | |||
const std::string & | suffix | |||
) | const |
create a writer object for a file with the id
sample | the name of the sample this belongs to | |
name | the name of the file to create | |
index | the index of the file within the sample, or otherwise -1 | |
suffix | the suffix to use for the file |
void SH::DiskOutput::testInvariant | ( | ) | const |
test the invariant of this object
Reimplemented in SH::DiskOutputLocal, and SH::DiskOutputXRD.