an implementation of DiskOutput for local disks
More...
#include <DiskOutputLocal.h>
an implementation of DiskOutput for local disks
Local disks in this case means disks accessed through the file system.
Definition at line 22 of file DiskOutputLocal.h.
◆ DiskOutputLocal() [1/2]
SH::DiskOutputLocal::DiskOutputLocal |
( |
| ) |
|
standard default constructor
- Guarantee
- strong
- Failures
- out of memory I
- Warning
- this is only to be used for the root streaming mechanism, not by the end user
◆ DiskOutputLocal() [2/2]
SH::DiskOutputLocal::DiskOutputLocal |
( |
const std::string & |
val_prefix | ) |
|
|
explicit |
standard constructor
- Guarantee
- strong
- Failures
- out of memory II
◆ ClassDef() [1/2]
◆ ClassDef() [2/2]
◆ doMakeWriter()
virtual std::unique_ptr<DiskWriter> SH::DiskOutputLocal::doMakeWriter |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
protectedvirtual |
create a DiskWriter object managing an output file
- Precondition
- !sampleName.empty()
- Postcondition
- result != nullptr
- Guarantee
- strong
- Failures
- out of memory II
i/o errors
- Rationale
- the virtual part of DiskOutput::makeWriter
Implements SH::DiskOutput.
◆ getTargetURL()
virtual std::string SH::DiskOutputLocal::getTargetURL |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
protectedvirtual |
◆ makeWriter()
std::unique_ptr<DiskWriter> SH::DiskOutput::makeWriter |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
inherited |
create a DiskWriter object managing an output file
- Precondition
- !sampleName.empty()
- Postcondition
- result != nullptr
- Guarantee
- strong
- Failures
- out of memory II
i/o errors
◆ targetURL()
std::string SH::DiskOutput::targetURL |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
inherited |
the final output location for the given segment
- Precondition
- !sampleName.empty()
- Postcondition
- !result.empty()
- Guarantee
- strong
- Failures
- out of memory II
◆ testInvariant()
void SH::DiskOutputLocal::testInvariant |
( |
| ) |
const |
test the invariant of this object
- Guarantee
- no-fail
◆ m_prefix
std::string SH::DiskOutputLocal::m_prefix |
|
private |
The documentation for this class was generated from the following file: