Skip to content

H5 Attributes Now Prefer Little Endian#501

Open
mabruzzo wants to merge 23 commits intocholla-hydro:devfrom
mabruzzo:h5-prefer-little-endian
Open

H5 Attributes Now Prefer Little Endian#501
mabruzzo wants to merge 23 commits intocholla-hydro:devfrom
mabruzzo:h5-prefer-little-endian

Conversation

@mabruzzo
Copy link
Copy Markdown
Collaborator

@mabruzzo mabruzzo commented Apr 1, 2026

To be reviewed after #486 has been merged


This is an extremely simple change

mabruzzo added 23 commits March 17, 2026 10:14
``AttrRecorderInterface`` is an abstract class that defines a generic
interface that different file backends may implement in order to save
file-header-attributes.
- subclasses are expected to implement the pure virtual functions
- the existing ``H5AttrRecorder`` class has been tweaked so that it is
  now a subclass of ``AttrRecorderInterface``

``Write_Header_`` is a local function that operates upon a reference to
``AttrRecorderInterface`` (in practice, callers need to pass an
instance of a concrete subclass). The implementation was extracted from
``Grid3D::Write_Header_HDF5``
It is now known as ``always_false`` (I have modified the docstring to
further clarify its purpose)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant