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.
ReflectionTablemanages a collection of columns loaded from an HDF5 group.Each column is a
Noneheld in astd::variantwith one alternative per type inh5dispatch::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¶
arraychronodx2/h5/h5dispatch.hpp(File h5dispatch.hpp)dx2/h5/h5read_processed.hpp(File h5read_processed.hpp)dx2/h5/h5utils.hpp(File h5utils.hpp)dx2/h5/h5write.hpp(File h5write.hpp)dx2/logging.hpp(File logging.hpp)experimental/mdspanfunctionaliomanipoptionalrandomsstreamstringtype_traitsunordered_setvariantvector