summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Object.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-08 19:48:45 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-08 19:48:45 (GMT)
commitc3bfac06392131adaec4744d50274e75638f76b6 (patch)
tree3eff702dce697ffada3971d54ec94294a11a1543 /c++/src/H5Object.cpp
parentc19e495c00193859a9cb3d0d25b52e6d9b379784 (diff)
downloadhdf5-c3bfac06392131adaec4744d50274e75638f76b6.zip
hdf5-c3bfac06392131adaec4744d50274e75638f76b6.tar.gz
hdf5-c3bfac06392131adaec4744d50274e75638f76b6.tar.bz2
[svn-r8837] Purpose: Update doc and fix minor bug
Description: H5IdComponent.cpp: initialized a pointer to NULL H5Object.cpp: removed functions being added by mistake Update function headers for the rest. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
Diffstat (limited to 'c++/src/H5Object.cpp')
-rw-r--r--c++/src/H5Object.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/c++/src/H5Object.cpp b/c++/src/H5Object.cpp
index 5050f9d..1d6fd95 100644
--- a/c++/src/H5Object.cpp
+++ b/c++/src/H5Object.cpp
@@ -285,53 +285,6 @@ void H5Object::flush(H5F_scope_t scope ) const
}
//--------------------------------------------------------------------------
-// Function: H5Object::Reference
-///\brief Creates a reference to an Hdf5 object or to a dataset region.
-///\param name - IN: Name of the object to be referenced
-///\param dataspace - IN: Dataspace with selection
-///\param ref_type - IN: Type of reference; default to \c H5R_DATASET_REGION
-///\return A reference
-///\exception H5::ReferenceIException
-// Programmer Binh-Minh Ribler - May, 2004
-//--------------------------------------------------------------------------
-void* H5Object::Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type) const
-{
- void *ref;
- herr_t ret_value = H5Rcreate(ref, id, name, ref_type, dataspace.getId());
- if (ret_value < 0)
- {
- throw AttributeIException("H5Object::Reference",
- "H5Rcreate failed");
- }
- return(ref);
-}
-
-//--------------------------------------------------------------------------
-// Function: H5Object::Reference
-///\brief This is an overloaded function, provided for your convenience.
-/// It differs from the above function in that it only creates
-/// a reference to an Hdf5 object, not to a dataset region.
-///\param name - IN: Name of the object to be referenced
-///\return A reference
-///\exception H5::ReferenceIException
-///\par Description
-// This function passes H5R_OBJECT and -1 to the C API H5Rcreate
-// to create a reference to the named object. The next function
-// will create a reference to a dataset region.
-// Programmer Binh-Minh Ribler - May, 2004
-//--------------------------------------------------------------------------
-void* H5Object::Reference(const char* name) const
-{
- void *ref;
- herr_t ret_value = H5Rcreate(ref, id, name, H5R_OBJECT, -1);
- if (ret_value < 0)
- {
- throw AttributeIException("H5Object::Reference",
- "H5Rcreate failed");
- }
- return(ref);
-}
-//--------------------------------------------------------------------------
// Function: H5Object destructor
///\brief Noop destructor.
// Programmer Binh-Minh Ribler - 2000