diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-17 23:25:01 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-17 23:25:01 (GMT) |
commit | a75e8dd654268ba1dd35abf3a78da2f115802029 (patch) | |
tree | 55ce2f23d860187f021d11c3611fa43c314eff6b /c++/src/H5FaccProp.h | |
parent | ca6e13d3dff9c188d80cb84876cf3ccfeb6b6203 (diff) | |
download | hdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.zip hdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.tar.gz hdf5-a75e8dd654268ba1dd35abf3a78da2f115802029.tar.bz2 |
[svn-r25061] Description:
Put back overloaded functions for backward compatibility:
- were replaced by better prototyped versions, such as Attribute::getName.
- were modified to add const to constant arguments.
Added notes for future removal in documentation.
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5FaccProp.h')
-rw-r--r-- | c++/src/H5FaccProp.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/c++/src/H5FaccProp.h b/c++/src/H5FaccProp.h index 5b41ecd..861ac4c 100644 --- a/c++/src/H5FaccProp.h +++ b/c++/src/H5FaccProp.h @@ -62,10 +62,21 @@ class H5_DLLCPP FileAccPropList : public PropList { FileAccPropList getFamily(hsize_t& memb_size) const; // Emulates the old split file driver, - void setSplit(const FileAccPropList& meta_plist, const FileAccPropList& raw_plist, - const char* meta_ext = ".meta", const char* raw_ext = ".raw" ) const; - void setSplit(const FileAccPropList& meta_plist, const FileAccPropList& raw_plist, - const H5std_string& meta_ext, const H5std_string& raw_ext ) const; + void setSplit(const FileAccPropList& meta_plist, + const FileAccPropList& raw_plist, + const char* meta_ext = ".meta", + const char* raw_ext = ".raw" ) const; + void setSplit(const FileAccPropList& meta_plist, + const FileAccPropList& raw_plist, + const H5std_string& meta_ext = ".meta", + const H5std_string& raw_ext = ".raw") const; + // These two overloaded functions are kept for backward compatibility + // only; they missed the const's and will be removed in future release. + void setSplit(FileAccPropList& meta_plist, FileAccPropList& raw_plist, + const char* meta_ext=".meta", const char* raw_ext=".raw") const; + void setSplit(FileAccPropList& meta_plist, FileAccPropList& raw_plist, + const H5std_string& meta_ext=".meta", + const H5std_string& raw_ext=".raw") const; // Sets the maximum size of the data sieve buffer. void setSieveBufSize(size_t bufsize) const; |