- A std::istream with ability to handle compressed files
| 55 | |
| 56 | //- A std::istream with ability to handle compressed files |
| 57 | class IFstreamAllocator |
| 58 | { |
| 59 | friend class IFstream; |
| 60 | |
| 61 | // Private data |
| 62 | |
| 63 | istream* ifPtr_; |
| 64 | IOstream::compressionType compression_; |
| 65 | |
| 66 | |
| 67 | // Constructors |
| 68 | |
| 69 | //- Construct from pathname |
| 70 | IFstreamAllocator(const fileName& pathname); |
| 71 | |
| 72 | |
| 73 | //- Destructor |
| 74 | ~IFstreamAllocator(); |
| 75 | }; |
| 76 | |
| 77 | |
| 78 | /*---------------------------------------------------------------------------*\ |