HDF5Group
Represents an HDF5 group.
Use groups to organize datasets and attributes hierarchically.
Example
var f = HDF5File("data.h5", "w")
var g = f.create_group("/runs")
g.write("run1/energy", -1.23)
Constructors
HDF5Group(const HDF5Group group) -> HDF5Group
Copies a group handle.
Parameters
- group: Group to copy.
Members
| Name | Description |
|---|---|
| create_group | Creates a subgroup. |
| delete_attribute | Deletes an attribute at a relative object path. |
| delete_dataset | Deletes a dataset relative to the group. |
| delete_group | Deletes a subgroup. |
| exists | Checks whether an object exists relative to the group. |
| group | Opens or creates a subgroup. |
| has_attribute | Checks whether an attribute exists on the group. |
| is_dataset | Checks whether a relative path is a dataset. |
| is_group | Checks whether a relative path is a group. |
| list_attributes | Lists attribute names on the group. |
| list_datasets | Lists datasets in the group. |
| list_groups | Lists subgroups in the group. |
| list_objects | Lists objects in the group. |
| move | Moves or renames a group entry relative to the group. |
| object_type | Returns the object type at a relative path. |
| open_group | Opens an existing subgroup. |
| path | Returns the full path of the group. |
| rank | Returns dataset rank for a relative dataset path. |
| read | Reads a string scalar dataset relative to the group. |
| read_attribute | Reads a string scalar attribute from a relative object path. |
| shape | Returns dataset dimensions for a relative dataset path. |
| size | Returns dataset element count for a relative dataset path. |
| write | Writes a sparse matrix dataset relative to the group and returns the group for chaining. |
| write_attribute | Writes an attribute on a dataset or subgroup relative to the group. |