A std::istream with the ability to handle compressed files. More...
Protected Member Functions | |
IFstreamAllocator (const fileName &pathname) | |
Construct from pathname. More... | |
Protected Attributes | |
std::unique_ptr< std::istream > | allocatedPtr_ |
The allocated stream pointer (ifstream or igzstream). More... | |
IOstream::compressionType | detectedCompression_ |
The detected compression type. More... | |
A std::istream with the ability to handle compressed files.
Definition at line 59 of file IFstream.H.
|
protected |
Construct from pathname.
Definition at line 43 of file IFstream.C.
References IFstreamAllocator::allocatedPtr_, IOstreamOption::COMPRESSED, Foam::expressions::patchExpr::debug, IFstreamAllocator::detectedCompression_, Foam::endl(), InfoInFunction, Foam::isFile(), and Foam::mode().
|
protected |
The allocated stream pointer (ifstream or igzstream).
Definition at line 66 of file IFstream.H.
Referenced by IFstreamAllocator::IFstreamAllocator().
|
protected |
The detected compression type.
Definition at line 69 of file IFstream.H.
Referenced by IFstream::IFstream(), and IFstreamAllocator::IFstreamAllocator().