ENH: make OSstream indentation adjustable
- this is principally for cases where reduced indentation is desired, such as when streaming to a memory location. If the indentation size is zero or one, only a single space will be used to separate the key/value. This change does not affect the stream allocation size, since the extra data falls within the padding. ENH: relocate label/scalar sizes from Istream to IOstream. - could allow future use for output streams as well? Due to padding, reorganization has no effect on allocated size of output streams. STYLE: add read/write name qualifier to beginRaw, endRaw - removes ambiguity for bi-directional streams STYLE: fix inconsistent 'const' qualifier on std::streamsize - base Ostream was without const, some derived streams with const
Showing
- applications/test/OListStream/Test-OListStream.C 33 additions, 0 deletionsapplications/test/OListStream/Test-OListStream.C
- applications/test/sizeof/Test-sizeof.C 14 additions, 1 deletionapplications/test/sizeof/Test-sizeof.C
- src/OpenFOAM/containers/IndirectLists/IndirectListBase/IndirectListBaseIO.C 2 additions, 2 deletions...iners/IndirectLists/IndirectListBase/IndirectListBaseIO.C
- src/OpenFOAM/db/IOobject/IOobject.C 8 additions, 6 deletionssrc/OpenFOAM/db/IOobject/IOobject.C
- src/OpenFOAM/db/IOobject/IOobject.H 2 additions, 3 deletionssrc/OpenFOAM/db/IOobject/IOobject.H
- src/OpenFOAM/db/IOobject/IOobjectReadHeader.C 2 additions, 2 deletionssrc/OpenFOAM/db/IOobject/IOobjectReadHeader.C
- src/OpenFOAM/db/IOstreams/IOstreams.C 3 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/IOstreams.C
- src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H 5 additions, 4 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H
- src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H 39 additions, 5 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/IOstream.H
- src/OpenFOAM/db/IOstreams/IOstreams/Istream.H 6 additions, 40 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/Istream.H
- src/OpenFOAM/db/IOstreams/IOstreams/Ostream.C 7 additions, 2 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/Ostream.C
- src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H 25 additions, 14 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/Ostream.H
- src/OpenFOAM/db/IOstreams/Pstreams/UIPstream.C 4 additions, 4 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UIPstream.C
- src/OpenFOAM/db/IOstreams/Pstreams/UIPstream.H 2 additions, 2 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UIPstream.H
- src/OpenFOAM/db/IOstreams/Pstreams/UOPstream.C 5 additions, 9 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UOPstream.C
- src/OpenFOAM/db/IOstreams/Pstreams/UOPstream.H 4 additions, 12 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UOPstream.H
- src/OpenFOAM/db/IOstreams/Sstreams/ISstream.C 4 additions, 4 deletionssrc/OpenFOAM/db/IOstreams/Sstreams/ISstream.C
- src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H 7 additions, 6 deletionssrc/OpenFOAM/db/IOstreams/Sstreams/ISstream.H
- src/OpenFOAM/db/IOstreams/Sstreams/OSstream.C 6 additions, 10 deletionssrc/OpenFOAM/db/IOstreams/Sstreams/OSstream.C
- src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H 5 additions, 9 deletionssrc/OpenFOAM/db/IOstreams/Sstreams/OSstream.H
Please register or sign in to comment