Go to the documentation of this file.
20 const std::string
FILE_NAME(
"create_attribute.h5");
41 std::string string_list(
"very important Dataset !");
49 std::vector<int> version;
60 std::vector<std::string> all_attributes_keys =
62 for (std::vector<std::string>::const_iterator it =
63 all_attributes_keys.begin();
64 it < all_attributes_keys.end(); ++it) {
65 std::cout <<
"attribute: " << *it << std::endl;
70 std::cerr << err.
what() << std::endl;
Attribute createAttribute(const std::string &attribute_name, const DataSpace &space, const DataType &type)
create a new attribute with the name attribute_name
static DataSpace From(const ScalarValue &scalar_value)
const std::string ATTRIBUTE_NAME_VERSION("version_string")
const std::string ATTRIBUTE_NAME_NOTE("note")
static const int Create
Open flag: Create non existing file.
const std::string FILE_NAME("create_attribute.h5")
create an HDF5 DataType from a C++ type
std::vector< std::string > listAttributeNames() const
list all attribute name of the node / group
const char * what() const override
get the current exception error message
Basic HighFive Exception class.
const std::string DATASET_NAME("my_dataset")
static const int ReadWrite
Open flag: Read Write access.
static const int Truncate
Open flag: Truncate a file if already existing.
void write(const T &buffer)
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:23