ENH: more consistent use of IOstreamOption

- improves interface and data consistency.
  Older signatures are still active (via the Foam_IOstream_extras
  define).

- refine internals for IOstreamOption streamFormat, versionNumber

ENH: improve data alignment for IOstream and IOobject

- fit sizeof label/scalar into unsigned char

STYLE: remove dead code
This commit is contained in:
Mark Olesen
2021-02-19 12:18:19 +01:00
committed by Andrew Heather
parent e3c8af0c8f
commit e8cf2a2c62
77 changed files with 972 additions and 689 deletions

View File

@ -67,7 +67,7 @@ protected:
const label comm_;
// Protected member functions
// Protected Member Functions
//- Helper: determine number of processors whose recvSizes fits
// ito maxBufferSize
@ -154,8 +154,7 @@ public:
static void writeHeader
(
Ostream& os,
const IOstream::versionNumber version,
const IOstream::streamFormat format,
IOstreamOption streamOpt,
const word& objectType,
const string& note,
const fileName& location,