CellStore class
#include <CellStore.h>
A memory-mapped read-only store of CellData, indexed by ID.
Contents
Constructors, destructors, conversion operators
Public functions
- auto operator=(const CellStore&) -> CellStore & deleted
- auto operator=(CellStore&& other) noexcept -> CellStore &
- void load(const std::string& base_path)
- Load cell data and index from the specified base path.
- auto get(uint64_t id) const -> const Cell &
- Return the cell with a given ID.
- auto get_at_index(size_t idx) const -> const Cell &
- Return the cell at a given dense index.
- auto size() const -> size_t
Function documentation
void CellStore:: load(const std::string& base_path)
Load cell data and index from the specified base path.
| Parameters | |
|---|---|
| base_path | The base path for the data and index files |
auto CellStore:: get(uint64_t id) const -> const Cell &
Return the cell with a given ID.
auto CellStore:: get_at_index(size_t idx) const -> const Cell &
Return the cell at a given dense index.