diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-10-08 15:41:08 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-10-08 15:41:08 (GMT) |
commit | d4e7a87244a01698b0d1e0728f877019564a879d (patch) | |
tree | c416924d8bc63260ee010c430da0d37c6552eb49 /c++/src/H5FaccProp.h | |
parent | d80a13f75a408bf01069a8b276c4229d118307e8 (diff) | |
parent | 8edfabd297c10579eac941f31a26d5727889fa88 (diff) | |
download | hdf5-inactive/avoid_truncate.zip hdf5-inactive/avoid_truncate.tar.gz hdf5-inactive/avoid_truncate.tar.bz2 |
[svn-r28002] merge from trunk.inactive/avoid_truncate
Diffstat (limited to 'c++/src/H5FaccProp.h')
-rw-r--r-- | c++/src/H5FaccProp.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/c++/src/H5FaccProp.h b/c++/src/H5FaccProp.h index fddc446..7d6529e 100644 --- a/c++/src/H5FaccProp.h +++ b/c++/src/H5FaccProp.h @@ -24,7 +24,8 @@ namespace H5 { //! Class FileAccPropList represents the HDF5 file access property list. class H5_DLLCPP FileAccPropList : public PropList { public: - static const FileAccPropList DEFAULT; + ///\brief Default file access property list. + static const FileAccPropList& DEFAULT; // Creates a file access property list. FileAccPropList(); @@ -145,6 +146,20 @@ class H5_DLLCPP FileAccPropList : public PropList { // Noop destructor virtual ~FileAccPropList(); + +#ifndef DOXYGEN_SHOULD_SKIP_THIS + + // Deletes the global constant, should only be used by the library + static void deleteConstants(); + + private: + static FileAccPropList* DEFAULT_; + + // Creates the global constant, should only be used by the library + static FileAccPropList* getConstant(); + +#endif // DOXYGEN_SHOULD_SKIP_THIS + }; #ifndef H5_NO_NAMESPACE } |