|
uint64_t | getStorageSize () const |
| getStorageSize
|
|
uint64_t | getOffset () const |
| getOffset
|
|
DataType | getDataType () const |
| getDataType
|
|
LinkInfo | getLinkInfo () const |
|
DataSpace | getSpace () const |
| getSpace
|
|
DataSpace | getMemSpace () const |
| getMemSpace
|
|
File | getFile () const |
|
std::string | unpackSoftLink () const |
| unpackSoftLink retrieve target path to this dataset
|
|
void | unlink () const |
|
bool | rename (const std::string &dest_path, const LinkCreateProps &linkCreateProps=LinkCreateProps(), const LinkAccessProps &linkAccessProps=LinkAccessProps()) const |
| rename move link within container
|
|
Group | getParent (const GroupAccessProps &groupAccessProps=GroupAccessProps()) const |
|
DataSetCreateProps | getCreateProps () const |
|
DataSetAccessProps | getAccessProps () const |
|
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()
|
|
bool | operator== (const DataSet &other) const |
| operator == Check if objects reside in the same file and equal to each other
|
|
bool | operator!= (const DataSet &other) const |
|
void | flush (bool globalScope=true) |
| flush
|
|
bool | isValid () const noexcept |
| isValid
|
|
hid_t | getId (const bool &increaseRefCount=false) const noexcept |
| getId
|
|
std::string | getFileName () const |
|
std::string | getPath () const |
| return the path to the current group, dataset, datatype or attribute's holder
|
|
int | getIdRefCount () const noexcept |
|
ObjectInfo | getObjectInfo () const |
| Retrieve several infos about the current object (address, dates, etc)
|
|
ObjectType | getObjectType () const |
| Gets the fundamental type of the object (dataset, group, etc)
|
|
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 std::vector< size_t > &block=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.
|
|
Selection | select (const ElementSet &elements) const |
| Select a region in the current Slice/Dataset out of a list of elements.
|
|
Selection | select_rows (const std::vector< size_t > &ind, size_t offset=0, size_t count=0) const |
| Select a set of rows in the first dimension of this dataset. NOTE: Selection is done in memory layout order (be careful with chunked dsets). Most likely the order of rows read will be mixed.
|
|
Selection | select_cols (const std::vector< size_t > &ind, size_t offset=0, size_t count=0) const |
| Select a set of columns in the last dimension of this dataset. NOTE: Selection is done in memory layout order (be careful with chunked dsets). Most likely the order of rows read will be mixed.
|
|
void | read (T &array) const |
|
void | read (T *array, const DataType &dtype=DataType()) const |
| SliceTraits::read DONT USE THIS WITH VARIABLE LENGTH STRING (i.e. with std::string or std::vector<std::string>) as you will need to manually free allocated const char * memory (using H5Treclaim())
|
|
void | write (const T &buffer) |
|
void | write_raw (const T *buffer, const DataType &dtype=DataType()) |
|
Attribute | createAttribute (const std::string &attr_name, const DataSpace &space, const DataType &type) |
| create a new attribute with the name attr_name
|
|
Attribute | createAttribute (const std::string &attr_name, const DataSpace &space) |
| createAttribute create a new attribute on the current dataset with size specified by space
|
|
Attribute | createAttribute (const std::string &attr_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 &attr_name) |
| deleteAttribute let you delete an attribute by its name.
|
|
Attribute | getAttribute (const std::string &attr_name) const |
| open an existing attribute with the name attr_name
|
|
size_t | getNumberAttributes () const |
| return the number of attributes of the object
|
|
std::vector< std::string > | listAttributeNames () const |
| list all attribute name of the object
|
|
bool | hasAttribute (const std::string &attr_name) const |
| checks an attribute exists
|
|
|
| DataSet (const Object &obj) |
|
| DataSet (Object &&o) noexcept |
|
| Object () |
|
| Object (const Object &other) |
|
| Object (Object &&other) noexcept |
|
| Object (const hid_t &) |
|
| Object (const hid_t &, const ObjectType &, const bool &) |
|
| Object (const Object &other) |
|
| Object (Object &&other) noexcept |
|
| Object (const hid_t &) |
|
| Object (const hid_t &, const ObjectType &, const bool &) |
|
LinkInfo | _getLinkInfo (const std::string &objPath) const |
| getLinkInfo retrieve link info from an object with 'objPath'. This object must reside in the same container as current one.
|
|
std::string | _unpackSoftLink (const std::string &objName) const |
|
std::string | _unpackExternalLink (const std::string &objName, std::string &fileName_out) const |
|
void | _unlink (const std::string &obj_name) const |
|
Object & | operator= (const Object &other) |
|
bool | operator== (const Object &other) const |
| When coparing objects h5gt::File must be open.
|
|
Class representing a dataset.