|
| std::string | getPath () const |
| | return the path to the current dataset More...
|
| |
| uint64_t | getStorageSize () const |
| | getStorageSize More...
|
| |
| uint64_t | getOffset () const |
| | getOffset More...
|
| |
| DataType | getDataType () const |
| | getDataType More...
|
| |
| DataSpace | getSpace () const |
| | getSpace More...
|
| |
| DataSpace | getMemSpace () const |
| | getMemSpace More...
|
| |
| void | resize (const std::vector< size_t > &dims) |
| | Change the size of the dataset. More...
|
| |
| std::vector< size_t > | getDimensions () const |
| | Get the dimensions of the whole DataSet. This is a shorthand for getSpace().getDimensions() More...
|
| |
| size_t | getElementCount () const |
| | Get the total number of elements in the current dataset. E.g. 2x2x2 matrix has size 8. This is a shorthand for getSpace().getTotalCount() More...
|
| |
| | ~Object () |
| |
| bool | isValid () const noexcept |
| | isValid More...
|
| |
| hid_t | getId () const noexcept |
| | getId More...
|
| |
| ObjectInfo | getInfo () const |
| | Retrieve several infos about the current object (address, dates, etc) More...
|
| |
| ObjectType | getType () const |
| | Gets the fundamental type of the object (dataset, group, etc) More...
|
| |
| Selection | select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride=std::vector< size_t >()) const |
| | Select a region in the current Slice/Dataset of count points at offset separated by stride. If strides are not provided they will default to 1 in all dimensions. More...
|
| |
| Selection | select (const std::vector< size_t > &columns) const |
| | Select a set of columns in the last dimension of this dataset. More...
|
| |
| Selection | select (const ElementSet &elements) const |
| | Select a region in the current Slice/Dataset out of a list of elements. More...
|
| |
| void | read (T &array) const |
| |
| void | read (T *array, const DataType &dtype=DataType()) const |
| |
| void | write (const T &buffer) |
| |
| void | write_raw (const T *buffer, const DataType &dtype=DataType()) |
| |
| Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space, const DataType &type) |
| | create a new attribute with the name attribute_name More...
|
| |
| Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space) |
| | createAttribute create a new attribute on the current dataset with size specified by space More...
|
| |
| Attribute | createAttribute (const std::string &attribute_name, const T &data) |
| | createAttribute create a new attribute on the current dataset and write to it, inferring the DataSpace from data. More...
|
| |
| void | deleteAttribute (const std::string &attribute_name) |
| | deleteAttribute let you delete an attribute by its name. More...
|
| |
| Attribute | getAttribute (const std::string &attribute_name) const |
| | open an existing attribute with the name attribute_name More...
|
| |
| size_t | getNumberAttributes () const |
| | return the number of attributes of the node / group More...
|
| |
| std::vector< std::string > | listAttributeNames () const |
| | list all attribute name of the node / group More...
|
| |
| bool | hasAttribute (const std::string &attr_name) const |
| | checks an attribute exists More...
|
| |
Class representing a dataset.