def get_auxhw_info(header_dict, orca_class_name, unique_id=-1):
    """
    returns a list with all the info from the AuxHw table of the header
    with name orca_class_name.  optionally, if unique_id >= 0 only return
    the object for that Orca unique id number.
    """
    object_info_list = []
    try:
        objs = header_dict["ObjectInfo"]["AuxHw"]
        for obj in objs:
            try:
                if obj["Class Name"] == orca_class_name:
                    if unique_id >= 0:
                        if obj["uniqueID"] != unique_id: continue
                    object_info_list.append(obj)
            except KeyError: continue
    except KeyError: pass
    if len(object_info_list) == 0:
        print('OrcaDecoder::get_auxhw_info(): warning: no object info '
              'for class name', orca_class_name)
    return object_info_list