parameters: (h5_results)
return_statement: return results
docstring: Return a list of XDMF Attribute objects for element flags in an HDF5 file.
  
      Keyword arguments:
      h5_flags -- the HDF5 group containing the flags
  
      Checks for flags stored by variable name in:
      - h5_flags["ElementFlagValues/<flag-name>"]
  
      If no flags are found, returns an empty list.
  
      See:
      - core.operations.ElementFlagValueOutput.
docstring_summary: Return a list of XDMF Attribute objects for element flags in an HDF5 file.
docstring_tokens: Return a list of XDMF Attribute objects for element flags in an HDF5 file .
function: def XdmfElementFlags(h5_results):
      """Return a list of XDMF Attribute objects for element flags in an HDF5 file.
  
      Keyword arguments:
      h5_flags -- the HDF5 group containing the flags
  
      Checks for flags stored by variable name in:
      - h5_flags["ElementFlagValues/<flag-name>"]
  
      If no flags are found, returns an empty list.
  
      See:
      - core.operations.ElementFlagValueOutput.
      """
      results_path = "ElementFlagValues"
      results = []
      try:
          grp = h5_results[results_path]
      except KeyError:
          return results
      for variable, data in filter(Has_dtype, grp.items()):
          r = ElementData(variable, HDF5UniformDataItem(data))
          results.append(r)
      return results
function_tokens: def XdmfElementFlags ( h5_results ) : results_path = "ElementFlagValues" results = [ ] try : grp = h5_results [ results_path ] except KeyError : return results for variable , data in filter ( Has_dtype , grp . items ( ) ) : r = ElementData ( variable , HDF5UniformDataItem ( data ) ) results . append ( r ) return results