ENH: added OStringStream reset method (closes #534)
- resets the output buffer completely - implementing what rewind was likely meant to have accomplished for many use cases. STYLE: OSHA1stream reset() for symmetry. Deprecate rewind().
Showing
- applications/test/OStringStream/Test-OStringStream.C 5 additions, 3 deletionsapplications/test/OStringStream/Test-OStringStream.C
- applications/test/error/Test-error.C 18 additions, 2 deletionsapplications/test/error/Test-error.C
- applications/test/sha1/Test-SHA1.C 1 addition, 1 deletionapplications/test/sha1/Test-SHA1.C
- src/OpenFOAM/db/IOstreams/StringStreams/StringStream.H 7 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/StringStreams/StringStream.H
- src/OpenFOAM/db/IOstreams/hashes/OSHA1stream.H 8 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/hashes/OSHA1stream.H
- src/OpenFOAM/db/error/IOerror.C 4 additions, 4 deletionssrc/OpenFOAM/db/error/IOerror.C
- src/OpenFOAM/db/error/error.C 4 additions, 4 deletionssrc/OpenFOAM/db/error/error.C
Please register or sign in to comment