6 #ifndef ECHELON_HDF5_PRECURSOR_DATASET_HPP 7 #define ECHELON_HDF5_PRECURSOR_DATASET_HPP 9 #include <echelon/hdf5/precursor/type.hpp> 10 #include <echelon/hdf5/precursor/dataspace.hpp> 11 #include <echelon/hdf5/precursor/property_list.hpp> 12 #include <echelon/hdf5/precursor/object.hpp> 13 #include <echelon/hdf5/precursor/file.hpp> 24 class object_reference;
30 explicit dataset(hid_t dataset_id_);
31 explicit dataset(
const object& other);
32 dataset(hid_t loc_id,
const std::string& name,
const type& dtype,
const dataspace& space,
33 const property_list& lcpl,
const property_list& dcpl,
const property_list& dapl);
34 dataset(hid_t loc_id,
const std::string& name,
const property_list& dapl);
37 dataset(
const dataset& other);
38 dataset(dataset&& other);
40 dataset& operator=(
const dataset& other);
41 dataset& operator=(dataset&&);
43 void write(
const type& mem_type,
const dataspace& mem_space,
const dataspace& file_space,
44 const property_list& xfer_plist,
const void* buf)
const;
45 void read(
const type& mem_type,
const dataspace& mem_space,
const dataspace& file_space,
46 const property_list& xfer_plist,
void* buf)
const;
48 void write(
const void* value)
const;
49 void read(
void* value)
const;
51 void set_extent(
const std::vector<hsize_t>& dims)
const;
53 dataspace get_space()
const;
55 type datatype()
const;
56 property_list creation_property_list()
const;
58 std::string name()
const;
59 file associated_file()
const;
61 std::string label(
unsigned int index)
const;
62 void relabel(
unsigned int index,
const std::string& new_label)
const;
66 explicit operator bool()
const;
echelon's core namespace
Definition: attribute.cpp:10