|
Theoretica
Mathematical Library
|
Represents a single node (group or dataset) in the HDF5 file hierarchy. More...
#include <hdf5.h>
Public Member Functions | |
| bool | is_group () const noexcept |
| Check whether the node is a group. | |
| bool | is_dataset () const noexcept |
| Check whether the node is a dataset. | |
| hdf5_node & | operator[] (const std::string &child_name) |
| Dictionary-like access to child nodes by name. | |
| const hdf5_node & | operator[] (const std::string &child_name) const |
| Read-only dictionary-like access to child nodes by name. | |
Public Attributes | |
| std::string | name |
| The local name of the node (e.g. "my_dataset") | |
| std::string | path |
| The absolute internal path to the node (e.g. | |
| HDF5NodeType | type |
| The type of the node. | |
| std::vector< size_t > | dimensions |
| For datasets, the dimensions of the array. | |
| std::vector< std::string > | attributes |
| List of metadata attribute names attached to the node. | |
| std::unordered_map< std::string, hdf5_node > | children |
| For groups, the child nodes indexed by their local name. | |
Represents a single node (group or dataset) in the HDF5 file hierarchy.
Dictionary-like access to child nodes by name.
| child_name | The local name of the child node |
|
inline |
Read-only dictionary-like access to child nodes by name.
| child_name | The local name of the child node |
| std::string theoretica::io::hdf5_node::path |
The absolute internal path to the node (e.g.
"/group/subgroup/my_dataset")