parameters: (self, enum_element)
docstring: Generate enum element for header file.
  
          Generates declaration of enumeration element for the header file.
  
          Keyword arguments:
          enum_element -- enum element to generate.
  
          Returns:
          String with enum element declaration source code.
docstring_summary: Generate enum element for header file.
docstring_tokens: Generate enum element for header file .
function: def _gen_enum_element(self, enum_element):
          """Generate enum element for header file.
  
          Generates declaration of enumeration element for the header file.
  
          Keyword arguments:
          enum_element -- enum element to generate.
  
          Returns:
          String with enum element declaration source code.
  
          """
  
          if enum_element.value is not None:
              return self._enum_element_with_value_template.substitute(
                  comment=self._gen_comment(enum_element),
                  name=enum_element.primary_name,
                  value=enum_element.value)
          else:
              return self._enum_element_with_no_value_template.substitute(
                  comment=self._gen_comment(enum_element),
                  name=enum_element.primary_name)
function_tokens: def _gen_enum_element ( self , enum_element ) : if enum_element . value is not None : return self . _enum_element_with_value_template . substitute ( comment = self . _gen_comment ( enum_element ) , name = enum_element . primary_name , value = enum_element . value ) else : return self . _enum_element_with_no_value_template . substitute ( comment = self . _gen_comment ( enum_element ) , name = enum_element . primary_name )