HDF5Attribute¶
-
class
dolfin.cpp.io.HDF5Attribute(*args)¶ Bases:
objectHDF5Attribute gives access to the attributes of a dataset via set() and get() methods
Constructor
-
exists()¶ Check for the existence of an attribute on a dataset
-
get()¶ Overloaded versions
get(attribute_name, value)
Set the value of a double attribute in the HDF5 file
get(attribute_name, value)
Get the value of a vector double attribute in the HDF5 file
get(attribute_name, value)
Set the value of a double attribute in the HDF5 file
get(attribute_name, value)
Get the value of a vector double attribute in the HDF5 file
get(attribute_name, value)
Get the value of an attribute in the HDF5 file as a string
-
set()¶ Overloaded versions
set(attribute_name, value)
Set the value of a double attribute in the HDF5 file
set(attribute_name, value)
Set the value of a double attribute in the HDF5 file
set(attribute_name, value)
Set the value of an array of float attribute in the HDF5 file
set(attribute_name, value)
Set the value of an array of float attribute in the HDF5 file
set(attribute_name, value)
Set the value of a string attribute in the HDF5 file
-
str()¶ Overloaded versions
str(attribute_name)
Get the value of the attribute in the HDF5 file as a string representation
str()
Get the names of all the attributes on this dataset
-
thisown¶ The membership flag
-
type_str()¶ Get the type of the attribute “string”, “float”, “int” “vectorfloat”, “vectorint” or “unsupported”
-