File reflection.hpp

↰ Parent directory (include/dx2)

Lightweight, type-safe reflection table for HDF5 datasets.

Definition (include/dx2/reflection.hpp)

Detailed Description

This header defines a flexible structure for interacting with HDF5 datasets as typed reflection tables. It allows datasets to be loaded into typed columns, filtered by row selection, queried by column, and written back to disk.

  • ReflectionTable manages a collection of columns loaded from an HDF5 group.

  • Each column is a None held in a std::variant with one alternative per type in h5dispatch::ColumnTypes, the same model as the DIALS reflection_table (a dxtbx flex_table over a boost::variant). A column type outside that list is a compile error.

  • Support for adding, querying, selecting, and writing columns.

Includes

Included By

Namespaces

Classes

Enums

Typedefs