diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-07-25 04:10:07 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2008-07-25 04:10:07 (GMT) |
commit | 98fdd752a4fe4ab3519c4d6f4823d44fc61197fc (patch) | |
tree | 19efc455dbd8fa2e720af0b3586595b66bc24b58 /c++/src/H5DataType.h | |
parent | 836f7b53ccce4f67c1918b337c1a133191c58a98 (diff) | |
download | hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.zip hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.tar.gz hdf5-98fdd752a4fe4ab3519c4d6f4823d44fc61197fc.tar.bz2 |
[svn-r15404] Purpose: Code correction
Description:
Accidentally left p_setId in public section in the previous checkin.
Moved it to "protected:" section.
Platforms tested:
Linux 2.6 (kagiso)
SunOS 5.10 (linew)
FreeBSD (duty)
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index d00b807..4e7ca03 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -119,13 +119,16 @@ class H5_DLLCPP DataType : public H5Object { // Gets the datatype id. virtual hid_t getId() const; - virtual void p_setId(const hid_t new_id); // Destructor: properly terminates access to this datatype. virtual ~DataType(); protected: hid_t id; // HDF5 datatype id + + // Sets the datatype id. + virtual void p_setId(const hid_t new_id); + private: void p_commit(hid_t loc_id, const char* name); }; |