summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/src/H5File.cpp25
-rw-r--r--c++/src/H5File.h5
2 files changed, 0 insertions, 30 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp
index 6448467..9f8e45f 100644
--- a/c++/src/H5File.cpp
+++ b/c++/src/H5File.cpp
@@ -653,31 +653,6 @@ void H5File::reference(void* ref, const H5std_string& name) const
reference(ref, name.c_str());
}
-//--------------------------------------------------------------------------
-// Function: H5File::dereference
-// Purpose Dereference a ref into a DataSet object.
-// Parameters
-// ref - IN: Reference pointer
-// Exception H5::IdComponentException
-// Programmer Binh-Minh Ribler - Oct, 2006
-// Modification
-// May 2008 - BMR
-// Moved from IdComponent into H5File and H5Object
-//--------------------------------------------------------------------------
-void H5File::dereference(H5Object& obj, void* ref)
-{
- hid_t temp_id;
- try {
- temp_id = p_dereference(ref);
- }
- catch (ReferenceException ref_err) {
- throw (inMemFunc("dereference"), ref_err.getDetailMsg());
- }
-
- // No failure, set id to the object passed in
- obj.setId(temp_id);
-}
-
#ifndef H5_NO_DEPRECATED_SYMBOLS
//--------------------------------------------------------------------------
// Function: H5File::p_get_obj_type (protected)
diff --git a/c++/src/H5File.h b/c++/src/H5File.h
index 2badcc7..92b1e20 100644
--- a/c++/src/H5File.h
+++ b/c++/src/H5File.h
@@ -94,11 +94,6 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
void reference(void* ref, const char* name) const;
void reference(void* ref, const H5std_string& name) const;
- //change prototype: void dereference(IdComponent& obj, void* ref);
- // may need individual - remove when done
- // Open a referenced HDF5 object.
- void dereference(H5Object& obj, void* ref);
-
// Returns this class name
virtual H5std_string fromClass () const { return("H5File"); }