DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
NullStream.hpp
Go to the documentation of this file.
1/*
2 * NullStream.h
3 * ers
4 *
5 * Created by Serguei Kolos on 02.08.05.
6 * Copyright 2004 CERN. All rights reserved.
7 *
8 */
9
15#ifndef ERS_NULL_STREAM_H
16#define ERS_NULL_STREAM_H
17
18#include <ers/OutputStream.hpp>
19#include <ers/InputStream.hpp>
20
21namespace ers
22{
23 class Issue;
24
35 struct NullStream : public OutputStream
36 {
37 void write( const Issue & ) override
38 { ; }
39
40 bool isNull() const override
41 { return true; }
42 };
43}
44
45#endif
46
Base class for any user define issue.
Definition Issue.hpp:69
ERS abstract output stream interface.
CTB Buffer Issue
Null stream.
void write(const Issue &) override
bool isNull() const override