summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DataSet.h')
-rw-r--r--c++/src/H5DataSet.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h
index 8a59234..e094159 100644
--- a/c++/src/H5DataSet.h
+++ b/c++/src/H5DataSet.h
@@ -1,3 +1,6 @@
+
+// Class DataSet inherits from AbstractDs and provides accesses to a dataset.
+
#ifndef _H5DataSet_H
#define _H5DataSet_H
@@ -6,14 +9,7 @@ namespace H5 {
#endif
class DataSet : public AbstractDs {
-
public:
- // Default constructor
- DataSet();
-
- // Copy constructor
- DataSet( const DataSet& original );
-
// Gets the dataspace of this dataset.
virtual DataSpace getSpace() const;
@@ -52,6 +48,12 @@ class DataSet : public AbstractDs {
// Used by the API to appropriately close a dataset
virtual void p_close() const;
+ // Default constructor
+ DataSet();
+
+ // Copy constructor
+ DataSet( const DataSet& original );
+
virtual ~DataSet();
private: