|
uint64_t | getStorageSize () const |
| getStorageSize
|
|
uint64_t | getOffset () const |
| getOffset
|
|
DataType | getDataType () const |
| getDataType
|
|
DataSpace | getSpace () const |
| getSpace
|
|
DataSpace | getMemSpace () const |
| getMemSpace
|
|
void | resize (const std::vector< size_t > &dims) |
| Change the size of the dataset.
|
|
std::vector< size_t > | getDimensions () const |
| Get the dimensions of the whole DataSet. This is a shorthand for getSpace().getDimensions()
|
|
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()
|
|
DataSetCreateProps | getCreatePropertyList () const |
| Get the list of properties for creation of this dataset.
|
|
DataSetAccessProps | getAccessPropertyList () const |
| Get the list of properties for accession of this dataset.
|
|
| DataSet ()=default |
|
| Object (Object &&other) noexcept |
|
| ~Object () |
|
bool | isValid () const noexcept |
| isValid
|
|
hid_t | getId () const noexcept |
| getId
|
|
ObjectInfo | getInfo () const |
| Retrieve several infos about the current object (address, dates, etc)
|
|
ObjectType | getType () const |
| Gets the fundamental type of the object (dataset, group, etc)
|
|
bool | operator== (const Object &other) const noexcept |
|
Selection | select (const HyperSlab &hyperslab) const |
| Select an hyperslab in the current Slice/Dataset.
|
|
Selection | select (const HyperSlab &hyperslab, const DataSpace &memspace) const |
| Select an hyperslab in the current Slice/Dataset.
|
|
Selection | select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride={}, const std::vector< size_t > &block={}) 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.
|
|
Selection | select (const std::vector< size_t > &columns) const |
| Select a set of columns in the last dimension of this dataset.
|
|
Selection | select (const ElementSet &elements) const |
| Select a region in the current Slice/Dataset out of a list of elements.
|
|
T | read (const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T &array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T *array, const DataType &dtype, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T *array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read_raw (T *array, const DataType &dtype, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read_raw (T *array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | write (const T &buffer, const DataTransferProps &xfer_props=DataTransferProps()) |
|
void | write_raw (const T *buffer, const DataType &mem_datatype, const DataTransferProps &xfer_props=DataTransferProps()) |
|
void | write_raw (const T *buffer, const DataTransferProps &xfer_props=DataTransferProps()) |
|
Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space, const DataType &type) |
| create a new attribute with the name attribute_name
|
|
Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space) |
| createAttribute create a new attribute on the current dataset with size specified by space
|
|
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.
|
|
void | deleteAttribute (const std::string &attribute_name) |
| deleteAttribute let you delete an attribute by its name.
|
|
Attribute | getAttribute (const std::string &attribute_name) const |
| open an existing attribute with the name attribute_name
|
|
size_t | getNumberAttributes () const |
| return the number of attributes of the node / group
|
|
std::vector< std::string > | listAttributeNames () const |
| list all attribute name of the node / group
|
|
bool | hasAttribute (const std::string &attr_name) const |
| checks an attribute exists
|
|
| PathTraits () |
|
std::string | getPath () const |
| return the path to the current object
|
|
File & | getFile () const noexcept |
| Return a reference to the File object this object belongs.
|
|
Class representing a dataset.