|
| Group ()=default |
|
std::pair< unsigned int, unsigned int > | getEstimatedLinkInfo () const |
|
GroupCreateProps | getCreatePropertyList () const |
| Get the list of properties for creation of this group.
|
|
| Group (Object &&o) noexcept |
|
| 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 |
|
DataSet | createDataSet (const std::string &dataset_name, const DataSpace &space, const DataType &type, const DataSetCreateProps &createProps=DataSetCreateProps::Default(), const DataSetAccessProps &accessProps=DataSetAccessProps::Default(), bool parents=true) |
| createDataSet Create a new dataset in the current file of datatype type and of size space
|
|
DataSet | createDataSet (const std::string &dataset_name, const DataSpace &space, const DataSetCreateProps &createProps=DataSetCreateProps::Default(), const DataSetAccessProps &accessProps=DataSetAccessProps::Default(), bool parents=true) |
| createDataSet create a new dataset in the current file with a size specified by space
|
|
DataSet | createDataSet (const std::string &dataset_name, const T &data, const DataSetCreateProps &createProps=DataSetCreateProps::Default(), const DataSetAccessProps &accessProps=DataSetAccessProps::Default(), bool parents=true) |
| createDataSet create a new dataset in the current file and write to it, inferring the DataSpace from the data.
|
|
DataSet | createDataSet (const std::string &dataset_name, const deprecated::FixedLenStringArray< N > &data, const DataSetCreateProps &createProps=DataSetCreateProps::Default(), const DataSetAccessProps &accessProps=DataSetAccessProps::Default(), bool parents=true) |
|
DataSet | getDataSet (const std::string &dataset_name, const DataSetAccessProps &accessProps=DataSetAccessProps::Default()) const |
| get an existing dataset in the current file
|
|
Group | createGroup (const std::string &group_name, bool parents=true) |
| create a new group, and eventually intermediate groups
|
|
Group | createGroup (const std::string &group_name, const GroupCreateProps &createProps, bool parents=true) |
| create a new group, and eventually intermediate groups
|
|
Group | getGroup (const std::string &group_name) const |
| open an existing group with the name group_name
|
|
DataType | getDataType (const std::string &type_name, const DataTypeAccessProps &accessProps=DataTypeAccessProps::Default()) const |
| open a commited datatype with the name type_name
|
|
size_t | getNumberObjects () const |
| return the number of leaf objects of the node / group
|
|
std::string | getObjectName (size_t index) const |
| return the name of the object with the given index
|
|
bool | rename (const std::string &src_path, const std::string &dest_path, bool parents=true) const |
| moves an object and its content within an HDF5 file.
|
|
std::vector< std::string > | listObjectNames (IndexType idx_type=IndexType::NAME) const |
| list all leaf objects name of the node / group
|
|
bool | exist (const std::string &node_name) const |
| check a dataset or group exists in the current node / group
|
|
void | unlink (const std::string &node_name) const |
| unlink the given dataset or group
|
|
LinkType | getLinkType (const std::string &node_name) const |
| Returns the kind of link of the given name (soft, hard...)
|
|
ObjectType | getObjectType (const std::string &node_name) const |
| A shorthand to get the kind of object pointed to (group, dataset, type...)
|
|
void | createSoftLink (const std::string &linkName, const T &obj) |
| A shorthand to create softlink to any object which provides getPath The link will be created with default properties along with required parent groups.
|
|
void | createSoftLink (const std::string &link_name, const std::string &obj_path, LinkCreateProps linkCreateProps=LinkCreateProps(), const LinkAccessProps &linkAccessProps=LinkAccessProps(), const bool parents=true) |
| Creates softlinks.
|
|
void | createExternalLink (const std::string &link_name, const std::string &h5_file, const std::string &obj_path, LinkCreateProps linkCreateProps=LinkCreateProps(), const LinkAccessProps &linkAccessProps=LinkAccessProps(), const bool parents=true) |
|
void | createHardLink (const std::string &link_name, const T &target_obj, LinkCreateProps linkCreateProps=LinkCreateProps(), const LinkAccessProps &linkAccessProps=LinkAccessProps(), const bool parents=true) |
| Creates hardlinks.
|
|
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.
|
|
Represents an hdf5 group.