|
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
|
|
template<typename T > |
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
|
|
template<typename T > |
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.
|
|
template<std::size_t N> |
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...)
|
|
template<typename T , typename = decltype(&T::getPath)> |
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) |
|
template<typename T , typename = decltype(&T::getPath)> |
void | createHardLink (const std::string &link_name, const T &target_obj, LinkCreateProps linkCreateProps=LinkCreateProps(), const LinkAccessProps &linkAccessProps=LinkAccessProps(), const bool parents=true) |
| Creates hardlinks.
|
|
template<typename Derivate>
class HighFive::NodeTraits< Derivate >
NodeTraits: Base class for Group and File.