Private Member Functions | Private Attributes | Friends
IFstreamAllocator Class Reference

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

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

Private Member Functions

 IFstreamAllocator (const fileName &pathname)
 Construct from pathname. More...
 
 ~IFstreamAllocator ()
 Destructor. More...
 

Private Attributes

istream * ifPtr_
 
IOstream::compressionType compression_
 

Friends

class IFstream
 

Detailed Description

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

Definition at line 56 of file IFstream.H.

Constructor & Destructor Documentation

◆ IFstreamAllocator()

IFstreamAllocator ( const fileName pathname)
private

Construct from pathname.

Definition at line 40 of file IFstream.C.

References IOstream::COMPRESSED, IFstreamAllocator::compression_, Foam::endl(), IFstreamAllocator::ifPtr_, Foam::Info, and Foam::isFile().

Here is the call graph for this function:

◆ ~IFstreamAllocator()

~IFstreamAllocator ( )
private

Destructor.

Definition at line 80 of file IFstream.C.

Friends And Related Function Documentation

◆ IFstream

friend class IFstream
friend

Definition at line 58 of file IFstream.H.

Field Documentation

◆ ifPtr_

istream* ifPtr_
private

Definition at line 62 of file IFstream.H.

Referenced by IFstreamAllocator::IFstreamAllocator().

◆ compression_

IOstream::compressionType compression_
private

Definition at line 63 of file IFstream.H.

Referenced by IFstreamAllocator::IFstreamAllocator().


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