Teuchos::basic_oblackholestream< _CharT, _Traits > Class Template Reference
[Teuchos Outputting Utilities]

basic_ostream<> subclass that does nothing but discard output. More...

#include <Teuchos_basic_oblackholestream.hpp>

List of all members.

Public Member Functions

 basic_oblackholestream ()
 


Detailed Description

template<typename _CharT, typename _Traits>
class Teuchos::basic_oblackholestream< _CharT, _Traits >

basic_ostream<> subclass that does nothing but discard output.

Use the class anytime you must pass an basic_ostream<> object but don't want the output for any reason.

This subclass just sets the stream buffer to NULL and that is all you need to do!

Examples:

CommandLineProcessor/cxx_main.cpp, and test/RefCountPtr/cxx_main.cpp.

Definition at line 46 of file Teuchos_basic_oblackholestream.hpp.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
Teuchos::basic_oblackholestream< _CharT, _Traits >::basic_oblackholestream  )  [inline, explicit]
 

Definition at line 51 of file Teuchos_basic_oblackholestream.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:31 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1