Skip to main content

has_attribute

Method of HDF5Group.

Overloads​

NameDescription
has_attribute(const string name) -> boolChecks whether an attribute exists on the group.
has_attribute(const string path, const string name) -> boolChecks whether an attribute exists at a relative object path.

has_attribute(const string name) -> bool​

Checks whether an attribute exists on the group.

Parameters​

  • name: Attribute name.

Returns​

True if the attribute exists.

has_attribute(const string path, const string name) -> bool​

Checks whether an attribute exists at a relative object path.

Parameters​

  • path: Relative object path.
  • name: Attribute name.

Returns​

True if the attribute exists.