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

Method IOstream

src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H:269–284  ·  view source on GitHub ↗

- Construct setting format and version

Source from the content-addressed store, hash-verified

267
268 //- Construct setting format and version
269 IOstream
270 (
271 streamFormat format,
272 versionNumber version,
273 compressionType compression=UNCOMPRESSED
274 )
275 :
276 format_(format),
277 version_(version),
278 compression_(compression),
279 openClosed_(CLOSED),
280 ioState_(ios_base::iostate(0)),
281 lineNumber_(0)
282 {
283 setBad();
284 }
285
286
287 //- Destructor

Callers

nothing calls this directly

Calls 1

setBadFunction · 0.85

Tested by

no test coverage detected