parameters: (self, category)
return_statement: return available_ids
docstring: Returns a list of IDs available for a given category
  
      This is a wrapper around the functions :cpp:func:`lammps_id_count()`
      and :cpp:func:`lammps_id_name()` of the library interface.
  
      .. versionadded:: 9Oct2020
  
      :param category: name of category
      :type  category: string
  
      :return: list of id names in given category
      :rtype:  list
docstring_summary: Returns a list of IDs available for a given category
docstring_tokens: Returns a list of IDs available for a given category
function: def available_ids(self, category):
      """Returns a list of IDs available for a given category
  
      This is a wrapper around the functions :cpp:func:`lammps_id_count()`
      and :cpp:func:`lammps_id_name()` of the library interface.
  
      .. versionadded:: 9Oct2020
  
      :param category: name of category
      :type  category: string
  
      :return: list of id names in given category
      :rtype:  list
      """
  
      categories = ['compute','dump','fix','group','molecule','region','variable']
      available_ids = []
      if category in categories:
        num = self.lib.lammps_id_count(self.lmp, category.encode())
        sb = create_string_buffer(100)
        for idx in range(num):
          self.lib.lammps_id_name(self.lmp, category.encode(), idx, sb, 100)
          available_ids.append(sb.value.decode())
      return available_ids
function_tokens: def available_ids ( self , category ) : categories = [ 'compute' , 'dump' , 'fix' , 'group' , 'molecule' , 'region' , 'variable' ] available_ids = [ ] if category in categories : num = self . lib . lammps_id_count ( self . lmp , category . encode ( ) ) sb = create_string_buffer ( 100 ) for idx in range ( num ) : self . lib . lammps_id_name ( self . lmp , category . encode ( ) , idx , sb , 100 ) available_ids . append ( sb . value . decode ( ) ) return available_ids