torc-master
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
NullOutputStream.cpp
Go to the documentation of this file.
1
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2
// $HeadURL$
3
// $Id$
4
5
// This program is free software: you can redistribute it and/or modify it under the terms of the
6
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
7
// License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11
// the GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License along with this program. If
14
// not, see <http://www.gnu.org/licenses/>.
15
16
/// \file
17
/// \brief Source for the NullOutputStream class.
18
19
#include "
torc/common/NullOutputStream.hpp
"
20
21
namespace
torc {
22
namespace
common {
23
24
/// \brief Global null output stream.
25
/// \brief The torc::cnull stream can be used in place of std::cout, std::cerr, or std::clog.
26
NullOutputStream
cnull
;
27
28
}
// namespace common
29
}
// namespace torc
torc::common::NullOutputStream
Output stream that discards everything it receives.
Definition:
NullOutputStream.hpp:39
NullOutputStream.hpp
Header for the NullOutputStream class.
torc::common::cnull
NullOutputStream cnull
Global null output stream.
Definition:
NullOutputStream.cpp:26
src
torc
common
NullOutputStream.cpp
Generated on Thu Dec 18 2014 16:30:37 for torc-master by
1.8.6