Go to the documentation of this file.
19 const std::string
FILE_NAME(
"dataset_integer.h5");
30 for (
size_t i = 0; i < data.size(); ++i) {
48 std::vector<int> read_data;
54 dataset.
read(read_data);
56 for (
size_t i = 0; i < read_data.size(); ++i) {
57 std::cout << read_data[i] <<
" ";
70 std::cerr << err.
what() << std::endl;
static const int ReadOnly
Open flag: Read only access.
const std::string FILE_NAME("dataset_integer.h5")
const std::string DATASET_NAME("dset")
const size_t size_dataset
void read(T &array) const
static DataSpace From(const ScalarValue &scalar_value)
void write(const T &buffer)
static const int Create
Open flag: Create non existing file.
const char * what() const override
get the current exception error message
Basic HighFive Exception class.
static const int ReadWrite
Open flag: Read Write access.
static const int Truncate
Open flag: Truncate a file if already existing.
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24