summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Group.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-03-12 04:36:48 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-03-12 04:36:48 (GMT)
commit3494282d42bf6147b32a10162353920f9e8b5a6a (patch)
tree843581557a75580be9a5387f7aaf92f574c42a6e /c++/src/H5Group.h
parent43158f3bb352f374c31556a5d0dc463a09e0b32e (diff)
downloadhdf5-3494282d42bf6147b32a10162353920f9e8b5a6a.zip
hdf5-3494282d42bf6147b32a10162353920f9e8b5a6a.tar.gz
hdf5-3494282d42bf6147b32a10162353920f9e8b5a6a.tar.bz2
HDFFV-10149 continued
Description: - Moved the new wrappers committed on Mar 9: 43158f3bb352f374c31556a5d0dc463a09e0b32e to H5Location and renamed some of them for overloading. This is because the loc_id in the C APIs can be file, group, dataset, named datatype, and attribute. Previous implementation was wrong following some inaccurate C API reference manual. - Only the following wrappers are modified or added: + H5Lcreate_soft: changed name from newLink to link // Creates a soft link from link_name to target_name. void link(const char *target_name, const char *link_name,...) void link(const H5std_string& target_name,...) + H5Lcreate_hard: changed name from newLink to link // Creates a hard link from new_name to curr_name. void link(const char *curr_name, const Group& new_loc,...) void link(const H5std_string& curr_name, const Group& new_loc,...) // Creates a hard link from new_name to curr_name in same location. void link(const char *curr_name, const hid_t same_loc,...) void link(const H5std_string& curr_name, const hid_t same_loc,...) + H5Ldelete: modified existing functions to add 2nd argument // Removes the specified link from this location. void unlink(const char *link_name, const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) void unlink(const H5std_string& link_name, const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) - copyLink and moveLink were only moved from Group to H5Location, no change - Added class LinkCreatPropList - Added overloaded functions H5Location::createGroup to take a link creation property list Group createGroup(const char* name, const LinkCreatPropList& lcpl) Group createGroup(const H5std_string& name, const LinkCreatPropList& lcpl) - Added wrapper for H5Lget_info() to H5Location H5L_info_t getLinkInfo(const H5std_string& link_name,...) Platforms tested: Linux/64 (jelly) Linux/ppc64 (ostrich) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Group.h')
-rw-r--r--c++/src/H5Group.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/c++/src/H5Group.h b/c++/src/H5Group.h
index d95d996..b3a9007 100644
--- a/c++/src/H5Group.h
+++ b/c++/src/H5Group.h
@@ -50,75 +50,6 @@ class H5_DLLCPP Group : public H5Object, public CommonFG {
// Closes an object opened by getObjId().
void closeObjId(hid_t obj_id) const;
- /*** For H5L API ***/
-
- // Creates a soft link from link_name to target_name.
- void newLink(const char *target_name, const char *link_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void newLink(const H5std_string& target_name,
- const H5std_string& link_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Creates a hard link from new_name to curr_name.
- void newLink(const char *curr_name,
- const Group& new_loc, const char *new_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void newLink(const H5std_string& curr_name,
- const Group& new_loc, const H5std_string& new_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Creates a hard link from new_name to curr_name in same location.
- void newLink(const char *curr_name,
- const hid_t same_loc, const char *new_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void newLink(const H5std_string& curr_name,
- const hid_t same_loc, const H5std_string& new_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Copy an object from a group of file to another.
- void copyLink(const char *src_name,
- const Group& dst, const char *dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void copyLink(const H5std_string& src_name,
- const Group& dst, const H5std_string& dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Copy an object from a group of file to the same location.
- void copyLink(const char *src_name, const char *dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void copyLink(const H5std_string& src_name,
- const H5std_string& dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Rename an object in a group or file to a new location.
- void moveLink(const char* src_name,
- const Group& dst, const char* dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void moveLink(const H5std_string& src_name,
- const Group& dst, const H5std_string& dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
- // Rename an object in a group or file to the same location.
- void moveLink(const char* src_name, const char* dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
- void moveLink(const H5std_string& src_name,
- const H5std_string& dst_name,
- const PropList& lcpl = PropList::DEFAULT,
- const PropList& lapl = PropList::DEFAULT) const;
-
// default constructor
Group();