diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-12-05 05:05:47 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-12-05 05:05:47 (GMT) |
commit | 853ae26333592faf69cd8c454ef92ffea8549df5 (patch) | |
tree | f733ce2364a90fd377755d5fa2c236c6716c62dd /c++/src/H5DataType.h | |
parent | 930a0b5d7c6933e0d216a016cfd29f2255e12433 (diff) | |
parent | 17d148434fff055a2e22c6ac715c7ecff536a5c3 (diff) | |
download | hdf5-853ae26333592faf69cd8c454ef92ffea8549df5.zip hdf5-853ae26333592faf69cd8c454ef92ffea8549df5.tar.gz hdf5-853ae26333592faf69cd8c454ef92ffea8549df5.tar.bz2 |
Merge pull request #814 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Renamed H5Location::exists to H5Location::nameExists and misc. cleanup
* commit '17d148434fff055a2e22c6ac715c7ecff536a5c3':
Fixed typo.
Various code cleanup Description: - Replaced H5Location::exists with H5Location::nameExists and marked H5Location::exists as deprecated. - Miscellaneous test cleanup for consistency. Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index 5b8f924..906ccef 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -36,6 +36,10 @@ class H5_DLLCPP DataType : public H5Object { // Creates a copy of a predefined type DataType(const PredType& pred_type); + // Constructors to open a generic named datatype at a given location. + DataType(const H5Location& loc, const char* name); + DataType(const H5Location& loc, const H5std_string& name); + // Creates a datatype by way of dereference. DataType(const H5Location& loc, const void* ref, H5R_type_t ref_type = H5R_OBJECT, const PropList& plist = PropList::DEFAULT); // DataType(const Attribute& attr, const void* ref, H5R_type_t ref_type = H5R_OBJECT, const PropList& plist = PropList::DEFAULT); @@ -124,13 +128,6 @@ class H5_DLLCPP DataType : public H5Object { ///\brief Returns this class name. virtual H5std_string fromClass () const { return("DataType"); } -// From CommonFG then H5Location - // Constructors to open a generic named datatype at a given location. - DataType(const H5Location& loc, const char* name); - DataType(const H5Location& loc, const H5std_string& name); - -// End of From CommonFG then H5Location - // Creates a copy of an existing DataType using its id DataType(const hid_t type_id); |