Private Member Functions | Private Attributes | Friends
OFstreamAllocator Class Reference

A std::ostream with ability to handle compressed files. More...

Inheritance diagram for OFstreamAllocator:
Inheritance graph
[legend]
Collaboration diagram for OFstreamAllocator:
Collaboration graph
[legend]

Private Member Functions

 OFstreamAllocator (const fileName &pathname, IOstream::compressionType compression=IOstream::UNCOMPRESSED)
 Construct from pathname. More...
 
 ~OFstreamAllocator ()
 Destructor. More...
 

Private Attributes

ostream * ofPtr_
 

Friends

class OFstream
 

Detailed Description

A std::ostream with ability to handle compressed files.

Definition at line 56 of file OFstream.H.

Constructor & Destructor Documentation

◆ OFstreamAllocator()

OFstreamAllocator ( const fileName pathname,
IOstream::compressionType  compression = IOstream::UNCOMPRESSED 
)
private

Construct from pathname.

Definition at line 41 of file OFstream.C.

References Foam::endl(), Foam::Info, Foam::isFile(), and Foam::rm().

Here is the call graph for this function:

◆ ~OFstreamAllocator()

~OFstreamAllocator ( )
private

Destructor.

Definition at line 83 of file OFstream.C.

References OFstreamAllocator::ofPtr_.

Friends And Related Function Documentation

◆ OFstream

friend class OFstream
friend

Definition at line 58 of file OFstream.H.

Field Documentation

◆ ofPtr_

ostream* ofPtr_
private

Definition at line 60 of file OFstream.H.

Referenced by OFstreamAllocator::~OFstreamAllocator().


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