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 <vector>
18#include <TObject.h>
21
22namespace EL
23{
24 class OutputStream : public TObject
25 {
26 //
27 // public interface
28 //
29
32 public:
33 void testInvariant () const;
34
35
39 public:
41
42
47 public:
48 OutputStream (const std::string& val_label);
49
50
55 public:
56 OutputStream (const std::string& val_label, const std::string& val_type);
57
58
62 public:
64
65
68 public:
70
71
75 public:
77
78
81 public:
82 void swap (OutputStream& that);
83
84
89 public:
90 const std::string& label () const;
91 void label (const std::string& val_label);
92
93
97 public:
99 const SH::MetaObject *options () const;
100
101
105 public:
106 const SH::DiskOutput *output() const;
107 void output (SH::DiskOutput *output_swallow);
108
109
110 public:
111 static const std::string optType;
112 static const std::string optMergeCmd;
113 static const std::string optContainerSuffix;
114
115
116 //
117 // private interface
118 //
119
121 private:
122 std::string m_label;
123 private:
125 private:
127
129 };
130}
131
132#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.