StreamAllocator< StreamType > Class Template Reference

A wrapper to hold a std::stream type for OpenFOAM wrapped streams. This is necessary since the OpenFOAM streams hold a reference to the normal std::stream. More...

Inheritance diagram for StreamAllocator< StreamType >:
Collaboration diagram for StreamAllocator< StreamType >:

Protected Member Functions

 StreamAllocator ()=default
 Default construct (empty) More...
 

Protected Attributes

StreamType stream_
 The std::stream. More...
 

Detailed Description

template<class StreamType>
class Foam::Detail::StreamAllocator< StreamType >

A wrapper to hold a std::stream type for OpenFOAM wrapped streams. This is necessary since the OpenFOAM streams hold a reference to the normal std::stream.

Definition at line 600 of file IOstream.H.

Constructor & Destructor Documentation

◆ StreamAllocator()

StreamAllocator ( )
protecteddefault

Default construct (empty)

Member Data Documentation

◆ stream_

StreamType stream_
protected

The std::stream.

Definition at line 609 of file IOstream.H.


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