Skip to main content

read_attribute

Method of HDF5Group.

Overloads

NameDescription
read_attribute(const string path, const string name, as_string type) -> ObjectReads a string scalar attribute from a relative object path.
read_attribute(const string path, const string name, as_integer type) -> ObjectReads a integer scalar attribute from a relative object path.
read_attribute(const string path, const string name, as_real type) -> ObjectReads a real scalar attribute from a relative object path.
read_attribute(const string path, const string name, as_string | as_list type) -> ListReads a string list attribute from a relative object path.
read_attribute(const string path, const string name, as_complex type) -> ObjectReads a complex scalar attribute from a relative object path.
read_attribute(const string name, as_complex | as_list type) -> ListReads a complex list attribute from the group.
read_attribute(const string path, const string name, as_complex | as_list type) -> ListReads a complex list attribute from a relative object path.
read_attribute(const string path, const string name, as_bool type) -> ObjectReads a bool scalar attribute from a relative object path.
read_attribute(const string path, const string name, as_real | as_list type) -> ListReads a real list attribute from a relative object path.
read_attribute(const string path, const string name, as_integer | as_list type) -> ListReads a integer list attribute from a relative object path.
read_attribute(const string path, const string name, as_bool | as_list type) -> ListReads a bool list attribute from a relative object path.
read_attribute(const string name, as_bool | as_list type) -> ListReads a bool list attribute from the group.
read_attribute(const string name, as_integer | as_list type) -> ListReads a integer list attribute from the group.
read_attribute(const string name, as_real | as_list type) -> ListReads a real list attribute from the group.
read_attribute(const string name, as_bool type) -> ObjectReads a bool scalar attribute from the group.
read_attribute(const string name, as_string | as_list type) -> ListReads a string list attribute from the group.
read_attribute(const string name, as_string type) -> ObjectReads a string scalar attribute from the group.
read_attribute(const string name, as_complex type) -> ObjectReads a complex scalar attribute from the group.
read_attribute(const string name, as_integer type) -> ObjectReads a integer scalar attribute from the group.
read_attribute(const string name, as_real type) -> ObjectReads a real scalar attribute from the group.

read_attribute(const string path, const string name, as_string type) -> Object

Reads a string scalar attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_string).

read_attribute(const string path, const string name, as_integer type) -> Object

Reads a integer scalar attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_integer).

read_attribute(const string path, const string name, as_real type) -> Object

Reads a real scalar attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_real).

read_attribute(const string path, const string name, as_string | as_list type) -> List

Reads a string list attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_string | as_list).

read_attribute(const string path, const string name, as_complex type) -> Object

Reads a complex scalar attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_complex).

read_attribute(const string name, as_complex | as_list type) -> List

Reads a complex list attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_complex | as_list).

read_attribute(const string path, const string name, as_complex | as_list type) -> List

Reads a complex list attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_complex | as_list).

read_attribute(const string path, const string name, as_bool type) -> Object

Reads a bool scalar attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_bool).

read_attribute(const string path, const string name, as_real | as_list type) -> List

Reads a real list attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_real | as_list).

read_attribute(const string path, const string name, as_integer | as_list type) -> List

Reads a integer list attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_integer | as_list).

read_attribute(const string path, const string name, as_bool | as_list type) -> List

Reads a bool list attribute from a relative object path.

Parameters

  • path: Relative object path.
  • name: Attribute name.
  • type: Type tag (as_bool | as_list).

read_attribute(const string name, as_bool | as_list type) -> List

Reads a bool list attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_bool | as_list).

read_attribute(const string name, as_integer | as_list type) -> List

Reads a integer list attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_integer | as_list).

read_attribute(const string name, as_real | as_list type) -> List

Reads a real list attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_real | as_list).

read_attribute(const string name, as_bool type) -> Object

Reads a bool scalar attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_bool).

read_attribute(const string name, as_string | as_list type) -> List

Reads a string list attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_string | as_list).

read_attribute(const string name, as_string type) -> Object

Reads a string scalar attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_string).

read_attribute(const string name, as_complex type) -> Object

Reads a complex scalar attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_complex).

read_attribute(const string name, as_integer type) -> Object

Reads a integer scalar attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_integer).

read_attribute(const string name, as_real type) -> Object

Reads a real scalar attribute from the group.

Parameters

  • name: Attribute name.
  • type: Type tag (as_real).