summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Object.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-26 20:19:40 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-26 20:19:40 (GMT)
commitb4cab24117db44727e04168b3d4cb64dbbd9ead4 (patch)
tree5b9a1fc23eaa51573f52f442178e617e009299a1 /c++/src/H5Object.h
parent6223a679ce610d98a7735c426c76162a3ecd34b1 (diff)
downloadhdf5-b4cab24117db44727e04168b3d4cb64dbbd9ead4.zip
hdf5-b4cab24117db44727e04168b3d4cb64dbbd9ead4.tar.gz
hdf5-b4cab24117db44727e04168b3d4cb64dbbd9ead4.tar.bz2
[svn-r8584] Purpose:
Add another wrapper - incrementally check-in Description: Added an overloaded wrapper for H5Rcreate to H5Object.* and tests will be added later. Also, corrected some comments. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
Diffstat (limited to 'c++/src/H5Object.h')
-rw-r--r--c++/src/H5Object.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/c++/src/H5Object.h b/c++/src/H5Object.h
index c4113f1..6d1a752 100644
--- a/c++/src/H5Object.h
+++ b/c++/src/H5Object.h
@@ -85,8 +85,11 @@ class H5_DLLCPP H5Object : public IdComponent {
void removeAttr( const string& name ) const;
void removeAttr( const char* name ) const;
- // Creates a reference to a named H5 object in this object.
- void* Reference(const char* name, H5R_type_t ref_type, DataSpace& dataspace) const;
+ // Creates a reference to a named Hdf5 object in this object.
+ void* Reference(const char* name) const;
+
+ // Creates a reference to a dataset region in this object.
+ void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const;
virtual ~H5Object();