ATLAS Offline Software
Loading...
Searching...
No Matches
OutputStream.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef EVENT_LOOP_OUTPUT_STREAM_HH
8#define EVENT_LOOP_OUTPUT_STREAM_HH
9
12
13
14
15#include <EventLoop/Global.h>
16
17#include <TObject.h>
19
20namespace EL
21{
22 class OutputStream : public TObject
23 {
24 //
25 // public interface
26 //
27
30 public:
31 void testInvariant () const;
32
33
37 public:
39
40
45 public:
46 OutputStream (const std::string& val_label);
47
48
53 public:
54 OutputStream (const std::string& val_label, const std::string& val_type);
55
56
60 public:
62
63
66 public:
68
69
73 public:
75
76
79 public:
80 void swap (OutputStream& that);
81
82
87 public:
88 const std::string& label () const;
89 void label (const std::string& val_label);
90
91
95 public:
97 const SH::MetaObject *options () const;
98
99
103 public:
104 const SH::DiskOutput *output() const;
105 void output (SH::DiskOutput *output_swallow);
106
107
108 public:
109 static const std::string optType;
110 static const std::string optMergeCmd;
111 static const std::string optContainerSuffix;
112
113
114 //
115 // private interface
116 //
117
119 private:
120 std::string m_label;
121 private:
123 private:
125
127 };
128}
129
130#endif
OutputStream(const OutputStream &that)
effects: standard copy constructor guarantee: strong failures: out of memory II
std::string m_label
description: members directly corresponding to accessors
OutputStream & operator=(OutputStream that)
effects: standard assignment operator guarantee: strong failures: out of memory II
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
OutputStream(const std::string &val_label, const std::string &val_type)
effects: create a named output dataset guarantee: strong failures: low level errors II requires: !...
SH::MetaObject * options()
description: the list of options to the job guarantee: no-fail postcondition: result !...
SH::MetaObject m_options
void label(const std::string &val_label)
OutputStream()
effects: standard default constructor guarantee: strong failures: low level errors I
static const std::string optContainerSuffix
void output(SH::DiskOutput *output_swallow)
void swap(OutputStream &that)
effects: standard swap function guarantee: no-fail
const SH::MetaObject * options() const
~OutputStream()
effects: standard destructor guarantee: no-fail
static const std::string optType
SH::DiskOutput * m_output
ClassDef(OutputStream, 2)
const SH::DiskOutput * output() const
description: the output disk, if we don't use the default one.
static const std::string optMergeCmd
const std::string & label() const
description: the label for this output dataset.
OutputStream(const std::string &val_label)
effects: create a named output dataset guarantee: strong failures: low level errors II requires: !...
a class/interface representing an output location for files
Definition DiskOutput.h:46
A class that manages meta-data to be associated with an object.
Definition MetaObject.h:48
This module defines the arguments passed from the BATCH driver to the BATCH worker.