summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Location.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-05-13 11:00:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-05-13 11:00:33 (GMT)
commit8b1a53896565cafca3795d139a37148f89bf928d (patch)
treec4df84bc37434a0d4df14e73d65723c77e32d7ed /c++/src/H5Location.h
parent77eb59b4343c9c9d6786cf620ea4d9c498af279f (diff)
downloadhdf5-8b1a53896565cafca3795d139a37148f89bf928d.zip
hdf5-8b1a53896565cafca3795d139a37148f89bf928d.tar.gz
hdf5-8b1a53896565cafca3795d139a37148f89bf928d.tar.bz2
Add H5Lexists wrappers
Description: Added wrappers H5Location::exists() for H5Lexists. Added new class LinkAccPropList to be used by H5Location::exists() Rearranged source files in Makefile.am 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5Location.h b/c++/src/H5Location.h
index edc2b53..11f8f87 100644
--- a/c++/src/H5Location.h
+++ b/c++/src/H5Location.h
@@ -57,6 +57,10 @@ class H5_DLLCPP H5Location : public IdComponent {
// this location.
virtual Attribute openAttribute(const unsigned int idx) const;
+ // Checks if a link of a given name exists in this location
+ bool nameExists(const char* name, const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
+ bool nameExists(const H5std_string& name, const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
+
// Flushes all buffers associated with this location to disk.
void flush(H5F_scope_t scope) const;