Skip to content
Snippets Groups Projects

low-level binary Ostream output, additional stream classes

Merged Mark OLESEN requested to merge feature-io-streams into develop
  1. Oct 24, 2017
    • Mark OLESEN's avatar
      STYLE: simplify stream types · 5aa783f1
      Mark OLESEN authored
      - reduce coding clutter, avoiding allocated pointers when possible.
        IFstream and OFstream continue to use pointers since they handle
        compressed files, other streams can do without them.
      5aa783f1
    • Mark OLESEN's avatar
      ENH: new stream output: OListStream · 204ce366
      Mark OLESEN authored
      - an output stream to a DynamicList
      204ce366
    • Mark OLESEN's avatar
      ENH: include memory streams · c2340273
      Mark OLESEN authored
      - these provide a similar functionality to string-streams, but operate
        on a externally provided memory buffer which can be used to reduce
        the amount of copying.
      
      - classes were previously staged as part of the ADIOS community
        repository.
      c2340273
    • Mark OLESEN's avatar
      ENH: add reset() method to IStringStream · d388216a
      Mark OLESEN authored
      - for convenience and symmetry with OStringStream
      
      STYLE: void return value for stream rewind() methods
      
      - this makes it easier to design bidirectional streams
      d388216a
    • Mark OLESEN's avatar
      ENH: additional low-level raw binary output for Ostream. · 438f4de0
      Mark OLESEN authored
      - low-level beginRaw(), writeRaw(), endRaw() methods.
        These can be used to directly add '()' decorators for serial output
        or prepare/cleanup parallel buffers.
        Used, for example, when outputting indirect lists in binary to avoid.
      438f4de0