summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-10-08 15:41:08 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-10-08 15:41:08 (GMT)
commitd4e7a87244a01698b0d1e0728f877019564a879d (patch)
treec416924d8bc63260ee010c430da0d37c6552eb49 /c++/src/H5DcreatProp.h
parentd80a13f75a408bf01069a8b276c4229d118307e8 (diff)
parent8edfabd297c10579eac941f31a26d5727889fa88 (diff)
downloadhdf5-d4e7a87244a01698b0d1e0728f877019564a879d.zip
hdf5-d4e7a87244a01698b0d1e0728f877019564a879d.tar.gz
hdf5-d4e7a87244a01698b0d1e0728f877019564a879d.tar.bz2
[svn-r28002] merge from trunk.inactive/avoid_truncate
Diffstat (limited to 'c++/src/H5DcreatProp.h')
-rw-r--r--c++/src/H5DcreatProp.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h
index 7434b9b..ebdadc4 100644
--- a/c++/src/H5DcreatProp.h
+++ b/c++/src/H5DcreatProp.h
@@ -25,10 +25,10 @@ namespace H5 {
\brief Class DSetCreatPropList represents the dataset creation property
list.
*/
-class H5_DLLCPP DSetCreatPropList : public PropList {
+class H5_DLLCPP DSetCreatPropList : public ObjCreatPropList {
public:
- // Default dataset creation property list.
- static const DSetCreatPropList DEFAULT;
+ ///\brief Default dataset creation property list.
+ static const DSetCreatPropList& DEFAULT;
// Creates a dataset creation property list.
DSetCreatPropList();
@@ -123,6 +123,19 @@ class H5_DLLCPP DSetCreatPropList : public PropList {
// Noop destructor.
virtual ~DSetCreatPropList();
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+
+ // Deletes the global constant, should only be used by the library
+ static void deleteConstants();
+
+ private:
+ static DSetCreatPropList* DEFAULT_;
+
+ // Creates the global constant, should only be used by the library
+ static DSetCreatPropList* getConstant();
+
+#endif // DOXYGEN_SHOULD_SKIP_THIS
};
#ifndef H5_NO_NAMESPACE
}