summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CommonFG.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-05-08 03:45:06 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-05-08 03:45:06 (GMT)
commit45c7e2607d48fb5d6f3f920d83f90bfbcbfaad6b (patch)
tree0471d19732edd71e62d0d64b3e027b4559ebf079 /c++/src/H5CommonFG.h
parent1a60beea6999013c8763f939655087e2da266225 (diff)
downloadhdf5-45c7e2607d48fb5d6f3f920d83f90bfbcbfaad6b.zip
hdf5-45c7e2607d48fb5d6f3f920d83f90bfbcbfaad6b.tar.gz
hdf5-45c7e2607d48fb5d6f3f920d83f90bfbcbfaad6b.tar.bz2
Code improvement
Description: - Moved class H5File to inherit from class Group because an HDF5 file is a root group - Cleanup header file inclusion and class forward declaration - Revised comments 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.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h
index f1a8886..761125c 100644
--- a/c++/src/H5CommonFG.h
+++ b/c++/src/H5CommonFG.h
@@ -19,17 +19,15 @@
namespace H5 {
-// Class forwarding
-class Group;
-class H5File;
-class ArrayType;
-class VarLenType;
-
/*! \class CommonFG
\brief \a CommonFG is an abstract base class of H5File and H5Group.
It provides common operations of H5File and H5Group.
*/
+
+class ArrayType;
+class VarLenType;
+
class H5_DLLCPP CommonFG {
public:
// Creates a new group at this location which can be a file