diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-10-18 04:56:16 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-10-18 04:56:16 (GMT) |
commit | 78ab45cb72cba95d2be5f12d9c44290696013741 (patch) | |
tree | c678ae7ba339001c806f90cffbb6252b020c38fe /c++/src/H5Location.h | |
parent | e9f1081a40611105bf6f610bb22dc8092896ba83 (diff) | |
download | hdf5-78ab45cb72cba95d2be5f12d9c44290696013741.zip hdf5-78ab45cb72cba95d2be5f12d9c44290696013741.tar.gz hdf5-78ab45cb72cba95d2be5f12d9c44290696013741.tar.bz2 |
Adding new C++ wrappers
Description:
- Added overloaded wrappers for H5Oget_info and H5Oget_info_by_name
// Retrieves information about an object
void getObjectInfo(H5O_info_t *oinfo) const;
void getObjectInfo(const char *name, H5O_info_t *oinfo,
const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
void getObjectInfo(const H5std_string& name, H5O_info_t *oinfo,
const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
- Many miscellaneous cleanup for consistent appearance
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Location.h')
-rw-r--r-- | c++/src/H5Location.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/c++/src/H5Location.h b/c++/src/H5Location.h index 7a54c2b..12c3e8a 100644 --- a/c++/src/H5Location.h +++ b/c++/src/H5Location.h @@ -51,6 +51,15 @@ class H5_DLLCPP H5Location : public IdComponent { // Gets the name of the file, specified by this location. H5std_string getFileName() const; + // Retrieves information about an object at this location + // specified by location + void getObjectInfo(H5O_info_t *oinfo) const; + // specified by the object's name + void getObjectInfo(const char *name, H5O_info_t *oinfo, + const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const; + void getObjectInfo(const H5std_string& name, H5O_info_t *oinfo, + const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const; + // Determines the number of attributes at this location. // - moved to H5Object (1.8.20) int getNumAttrs() const; // Deprecated |