ENH: support OFstream "/dev/null" equivalent directly
- uses ocountstream for the output, which swallows all output. Improves portability ENH: improved efficiency in countstreambuf - xsputn() instead of overflow - more consistent seek* methods
Showing
- applications/test/OCountStream/Test-OCountStream.C 60 additions, 16 deletionsapplications/test/OCountStream/Test-OCountStream.C
- src/OpenFOAM/db/IOstreams/Fstreams/OFstream.C 15 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/Fstreams/OFstream.C
- src/OpenFOAM/db/IOstreams/Fstreams/OFstream.H 4 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/Fstreams/OFstream.H
- src/OpenFOAM/db/IOstreams/Fstreams/fstreamPointer.H 5 additions, 2 deletionssrc/OpenFOAM/db/IOstreams/Fstreams/fstreamPointer.H
- src/OpenFOAM/db/IOstreams/Fstreams/fstreamPointers.C 8 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/Fstreams/fstreamPointers.C
- src/OpenFOAM/db/IOstreams/IOstreams.C 2 additions, 2 deletionssrc/OpenFOAM/db/IOstreams/IOstreams.C
- src/OpenFOAM/db/IOstreams/IOstreams.H 6 additions, 5 deletionssrc/OpenFOAM/db/IOstreams/IOstreams.H
- src/OpenFOAM/db/IOstreams/memory/OCountStream.H 60 additions, 16 deletionssrc/OpenFOAM/db/IOstreams/memory/OCountStream.H
Please register or sign in to comment