diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-05-21 17:43:12 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-05-21 17:43:12 (GMT) |
commit | e2b412cbf5592ff1a8f085ea5e2cebdbb2a59590 (patch) | |
tree | e06892d4c933b4ceb3359661b7bb3078915c3850 /c++/src/H5File.cpp | |
parent | 85608c722a1f19c33553367a508e14f5f0172033 (diff) | |
download | hdf5-e2b412cbf5592ff1a8f085ea5e2cebdbb2a59590.zip hdf5-e2b412cbf5592ff1a8f085ea5e2cebdbb2a59590.tar.gz hdf5-e2b412cbf5592ff1a8f085ea5e2cebdbb2a59590.tar.bz2 |
[svn-r15058] Purpose: Code cleanup
Description:
Removed an unnecessary member function, H5File::dereference.
Platforms tested:
SunOS 5.10 (linew)
Linux 2.6 (kagiso)
FreeBSD (duty)
Diffstat (limited to 'c++/src/H5File.cpp')
-rw-r--r-- | c++/src/H5File.cpp | 25 |
1 files changed, 0 insertions, 25 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) |