[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)
This commit is contained in:
Binh-Minh Ribler
2008-07-24 23:10:07 -05:00
parent 836f7b53cc
commit 98fdd752a4
8 changed files with 32 additions and 12 deletions

View File

@@ -99,7 +99,6 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs {
// Gets the dataset id.
virtual hid_t getId() const;
virtual void p_setId(const hid_t new_id);
// Destructor: properly terminates access to this dataset.
virtual ~DataSet();
@@ -112,6 +111,10 @@ class H5_DLLCPP DataSet : public H5Object, public AbstractDs {
// defined in AbstractDs for generic datatype and specific
// sub-types
virtual hid_t p_get_type() const;
protected:
// Sets the dataset id.
virtual void p_setId(const hid_t new_id);
};
#ifndef H5_NO_NAMESPACE
}