15 HDF5Writer(
const std::filesystem::path& filename);
20 bool write(
const int)
override {
return true; }
25 const std::string& name,
28 const std::vector<char>& val,
29 const char default_val)
override;
32 const std::string& name,
35 const std::vector<int64_t>& val,
36 const int64_t default_val)
override;
39 const std::string& name,
42 const std::vector<double>& val,
43 const double default_val)
override;
46 const std::string& name,
49 const std::vector<Rational>& val,
50 const Rational& default_val)
override;
58 template <
typename Data,
typename T>
60 const std::string& name,
64 const T& default_val);
std::string dataset_path() const
HDF5Writer(const std::filesystem::path &filename)
std::shared_ptr< h5pp::File > m_hdf5_file
void write_internal(const std::string &name, const int64_t type, const int64_t stride, const Data &val, const T &default_val)
void write_capacities(const std::vector< int64_t > &capacities) override
void write_absolute_id(const std::vector< int64_t > &id) override
void write_top_simplex_type(const PrimitiveType type) override
bool write(const int) override