g4tools
5.4.0
g4tools
tools
nostream
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_nostream
5
#define tools_nostream
6
7
// dummy ostream class in case we need
8
// to pass a std::ostream as argument
9
// but having no concrete implementation
10
// at hand.
11
12
#include <ostream>
13
14
namespace
tools
{
15
16
class
nostream
:
public
std::ostream {
17
public
:
18
nostream
()
19
:std::ostream(0)
20
{}
21
virtual
~nostream
(){}
22
private
:
23
nostream
(
const
nostream
&)
24
:std::basic_ios<char, std::char_traits<char> >()
25
#ifdef TOOLS_STL
26
,std::basic_streambuf<char, std::char_traits<char> >()
27
#endif
28
,std::ostream(0){}
29
nostream
& operator=(
const
nostream
&){
return
*
this
;}
30
};
31
32
}
33
34
#endif
tools::nostream
Definition:
nostream:16
tools::nostream::~nostream
virtual ~nostream()
Definition:
nostream:21
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::nostream::nostream
nostream()
Definition:
nostream:18
Generated by
1.8.20