Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Teuchos::basic_oblackholestream< _CharT, _Traits > Class Template Reference

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

#include <Teuchos_basic_oblackholestream.hpp>

Inherits basic_ostream< _CharT, _Traits >.

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/MemoryManagement/RCP_test.cpp.

Definition at line 59 of file Teuchos_basic_oblackholestream.hpp.

Constructor & Destructor Documentation

template<typename _CharT , typename _Traits >
Teuchos::basic_oblackholestream< _CharT, _Traits >::basic_oblackholestream ( )
inlineexplicit

Definition at line 64 of file Teuchos_basic_oblackholestream.hpp.


The documentation for this class was generated from the following file: