MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / OFstreamAllocator

Class OFstreamAllocator

src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H:57–76  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

55
56//- A std::ostream with ability to handle compressed files
57class OFstreamAllocator
58{
59 friend class OFstream;
60
61 ostream* ofPtr_;
62
63 // Constructors
64
65 //- Construct from pathname
66 OFstreamAllocator
67 (
68 const fileName& pathname,
69 IOstream::compressionType compression=IOstream::UNCOMPRESSED,
70 const bool append = false
71 );
72
73 //- Destructor
74 ~OFstreamAllocator();
75
76};
77
78
79/*---------------------------------------------------------------------------*\

Callers 1

OFstream.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected