ROL
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

namespace  ROL
namespace  ROL::details

Macros

#define ROL_STREAM_HPP

Typedefs

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

Functions

Ptr< std::ostream > ROL::details::makeStreamPtr (std::ostream &os, bool noSuppressOutput=true)
Ptr< std::ostream > ROL::details::makeStreamPtr (Ptr< std::ostream > os, bool noSuppressOutput=true)
Ptr< std::ostream > ROL::makeStreamPtr (std::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

◆ ROL_STREAM_HPP

#define ROL_STREAM_HPP

Definition at line 13 of file ROL_Constraint_SerialSimOpt.hpp.