DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
OutputStream.cpp
Go to the documentation of this file.
1/*
2 * OutputStream.cxx
3 * ers
4 *
5 * Created by Serguei Kolos on 01.08.05.
6 * Copyright 2004 CERN. All rights reserved.
7 *
8 */
9
10#include <ers/OutputStream.hpp>
12
13
16
19{
20 if ( !m_chained.get() )
21 {
22 m_chained.reset( new ers::NullStream() );
23 }
24 return *m_chained;
25}
26
27void
29{
30 m_chained.reset( stream );
31}
32
33bool
35{
36 return false;
37}
ERS abstract output stream interface.
virtual bool isNull() const
std::unique_ptr< OutputStream > m_chained
OutputStream & chained()
Null stream.