summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2008-10-27 02:30:06 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2008-10-27 02:30:06 (GMT)
commit3677f54877df7df7cdaeff16cee8efce5b9bc98f (patch)
tree18f62ff1bce03347882f917a75c7e95d8da80d1b /c++/src/H5IdComponent.cpp
parentff3481d9577d0d826403bc03c4842f3bd5ed7c0d (diff)
downloadhdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.zip
hdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.tar.gz
hdf5-3677f54877df7df7cdaeff16cee8efce5b9bc98f.tar.bz2
[svn-r15959] Description:
Added missing wrappers for H5Rdereference. Also, for these wrappers, improved exception handlings to report specific overloaded functions, where failure occurs. Will do the same for more functions later... Platforms tested: Linux 2.6 (kagiso) SunOS 5.10 (linew) FreeBSD (duty)
Diffstat (limited to 'c++/src/H5IdComponent.cpp')
-rw-r--r--c++/src/H5IdComponent.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/c++/src/H5IdComponent.cpp b/c++/src/H5IdComponent.cpp
index 747a479..ef01105 100644
--- a/c++/src/H5IdComponent.cpp
+++ b/c++/src/H5IdComponent.cpp
@@ -299,24 +299,6 @@ H5std_string IdComponent::p_get_file_name() const
return(file_name);
}
-//--------------------------------------------------------------------------
-// Function: H5Object::p_dereference (protected)
-// Purpose Opens the HDF5 object referenced.
-// Parameters
-// ref - IN: Reference pointer
-// Exception H5::IdComponentException
-// Programmer Binh-Minh Ribler - Oct, 2006
-//--------------------------------------------------------------------------
-hid_t IdComponent::p_dereference(void* ref)
-{
- hid_t temp_id = H5Rdereference(getId(), H5R_OBJECT, ref);
- if (temp_id < 0)
- {
- throw ReferenceException("", "H5Rdereference failed");
- }
- return(temp_id);
-}
-
//
// Local functions used in this class
//