SH::DiskOutputLocal Class Reference

an implementation of DiskOutput for local disks More...

#include <DiskOutputLocal.h>

Inheritance diagram for SH::DiskOutputLocal:
SH::DiskOutput

List of all members.

Public Member Functions

void testInvariant () const
 test the invariant of this object
 DiskOutputLocal ()
 standard default constructor
 DiskOutputLocal (const std::string &val_prefix)
 standard constructor

Protected Member Functions

virtual DiskWriterdoMakeWriter (const std::string &sample, const std::string &name, int index, const std::string &suffix) const

Detailed Description

an implementation of DiskOutput for local disks

Local disks in this case means disks accessed through the file system.


Constructor & Destructor Documentation

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
SH::DiskOutputLocal::DiskOutputLocal ( const std::string &  val_prefix  ) 

standard constructor

Guarantee
strong
Failures
out of memory II

Member Function Documentation

virtual DiskWriter* SH::DiskOutputLocal::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

Parameters:
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
Returns:
the writer object
Precondition:
!sample.empty() || !name.empty()
index >= -1
Postcondition:
result != 0
Guarantee
strong
Failures
out of memory II
Failures
i/o errors rationale: you don't need to set all of these, but you need to set at least either the name or the sample.

Rationale
the virtual part of DiskOutput::makeWriter

Reimplemented from SH::DiskOutput.

void SH::DiskOutputLocal::testInvariant (  )  const

test the invariant of this object

Guarantee
no-fail

Reimplemented from SH::DiskOutput.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1