The Gaudi Framework  master (37c0b60a)
RecordStream.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
12 #define GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
13 
14 // Required for inheritance
15 #include "OutputStream.h"
16 
23 class RecordStream : public OutputStream {
24 public:
28  StatusCode execute() override { return StatusCode::SUCCESS; }
30  StatusCode finalize() override;
31 };
32 
33 #endif // GAUDISVC_PERSISTENCYSVC_RECORDSTREAM_H
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:38
RecordStream::finalize
StatusCode finalize() override
Algorithm overload: finalization.
Definition: RecordStream.cpp:31
std::string
STL class.
ISvcLocator
Definition: ISvcLocator.h:46
RecordStream::execute
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
Definition: RecordStream.h:28
StatusCode
Definition: StatusCode.h:65
RecordStream::RecordStream
RecordStream(const std::string &, ISvcLocator *)
Standard algorithm Constructor.
Definition: RecordStream.cpp:25
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
OutputStream.h
RecordStream
Definition: RecordStream.h:23