A std::ostream with the ability to handle compressed files. More...
Protected Member Functions | |
| OFstreamAllocator (const fileName &pathname, IOstream::compressionType comp=IOstream::UNCOMPRESSED, const bool append=false) | |
| Construct from pathname. More... | |
Protected Attributes | |
| std::unique_ptr< std::ostream > | allocatedPtr_ |
| The allocated stream pointer (ofstream or ogzstream). More... | |
A std::ostream with the ability to handle compressed files.
Definition at line 59 of file OFstream.H.
|
protected |
Construct from pathname.
Definition at line 44 of file OFstream.C.
References append(), Foam::expressions::patchExpr::debug, Foam::endl(), InfoInFunction, Foam::mode(), Foam::rm(), and Foam::type().
|
protected |
The allocated stream pointer (ofstream or ogzstream).
Definition at line 66 of file OFstream.H.
Referenced by OFstream::stdStream().