ROL
Classes | Namespaces | Macros | Typedefs | Functions
ROL_Stream.hpp File Reference

Defines a no-output stream class ROL::NullStream and a function makeStreamPtr which either wraps a reference to a stream object or returns a pointer to a NullStream depending on the value of the argument noSuppressOutput. More...

#include <ostream>
#include <string>
#include "ROL_Ptr.hpp"

Go to the source code of this file.

Classes

class  ROL::details::basic_nullstream< _CharT, _Traits >
 

Namespaces

 ROL
 
 ROL::details
 

Macros

#define ROL_STREAM_HPP
 

Typedefs

using ROL::details::nullstream = basic_nullstream< char, char_traits< char >>
 

Functions

Ptr< ostream > ROL::details::makeStreamPtr (ostream &os, bool noSuppressOutput=true)
 
Ptr< ostream > ROL::details::makeStreamPtr (Ptr< ostream > os, bool noSuppressOutput=true)
 

Detailed Description

Defines a no-output stream class ROL::NullStream and a function makeStreamPtr which either wraps a reference to a stream object or returns a pointer to a NullStream depending on the value of the argument noSuppressOutput.

Definition in file ROL_Stream.hpp.

Macro Definition Documentation

#define ROL_STREAM_HPP

Definition at line 46 of file ROL_Stream.hpp.