summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-07-25 03:37:21 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-07-25 03:37:21 (GMT)
commitfab172d704065dba31fbf34d3fe7e56c3e63fe36 (patch)
tree59a35e3b906d509134ed4d581e134054359e999e /c++/src/H5PropList.h
parentf208550696646adcc6e59e339745b0433e28f770 (diff)
downloadhdf5-fab172d704065dba31fbf34d3fe7e56c3e63fe36.zip
hdf5-fab172d704065dba31fbf34d3fe7e56c3e63fe36.tar.gz
hdf5-fab172d704065dba31fbf34d3fe7e56c3e63fe36.tar.bz2
[svn-r11151] Purpose: Fix bugzilla #407 and #408
Description: PropList::copyProp has incorrect prototype; although it works, it does cause users inconvenience. Solution: Added another overloaded function with correct prototype. The old version will be removed in a future release. In the meantime, "Obsolete" will be displayed in its RM page. Also, changed several checks on the returned value of a C API from non-positive to negative because id = 0 is no longer significant, now that the C++ reference counting had been removed. Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
Diffstat (limited to 'c++/src/H5PropList.h')
-rw-r--r--c++/src/H5PropList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h
index 36178eb..1d4816f 100644
--- a/c++/src/H5PropList.h
+++ b/c++/src/H5PropList.h
@@ -44,6 +44,10 @@ class H5_DLLCPP PropList : public IdComponent {
// Makes a copy of the given property list.
void copy( const PropList& like_plist );
+ // Copies a property from this property list or class to another
+ void copyProp( PropList& dest, const char* name) const;
+ void copyProp( PropList& dest, const string& name) const;
+
// Copies a property from one property list or property class to another
void copyProp( PropList& dest, PropList& src, const char* name) const;
void copyProp( PropList& dest, PropList& src, const string& name) const;