summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CommonFG.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-22 06:29:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-08-22 06:29:29 (GMT)
commitb1c4fd77d9c4507d723016f464e6aed61dfc9307 (patch)
tree47ca174cba673f69f03a5c92654a86f7fa7be539 /c++/src/H5CommonFG.h
parentae18cf66d8b1da0d728f55db50142665c152e26d (diff)
downloadhdf5-b1c4fd77d9c4507d723016f464e6aed61dfc9307.zip
hdf5-b1c4fd77d9c4507d723016f464e6aed61dfc9307.tar.gz
hdf5-b1c4fd77d9c4507d723016f464e6aed61dfc9307.tar.bz2
[svn-r30311] Purpose: Fix bug HDFFR-9920 cont.
trunk: Description: Continued rearranging the classes to model the relationship of HDF5 objects more accurately. The changes included: - in the baseclass list of Attribute, changed "public IdComponent" to "public H5Location", because location sometime can be specified with attribute - moved H5A wrappers in H5Location to H5Object because H5A functions can't be called on attribute id - removed the stubs Attribute::iterateAttrs and Attribute::renameAttr - removed Attribute::getFileName and Attribute::flush, because H5Location has them - result of the modified partial class diagram, regarding Attribute IdComponent | H5Location AbstractDs / \ / H5Object Attribute Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5CommonFG.h')
-rw-r--r--c++/src/H5CommonFG.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h
index b34a583..956be21 100644
--- a/c++/src/H5CommonFG.h
+++ b/c++/src/H5CommonFG.h
@@ -37,6 +37,9 @@ class H5_DLLCPP CommonFG {
// Noop destructor.
virtual ~CommonFG();
+ protected:
+ virtual void p_setId(const hid_t new_id) = 0;
+
#endif // DOXYGEN_SHOULD_SKIP_THIS
}; // end of CommonFG declaration