def get_object_info(header_dict, orca_class_name):
    """
    returns a list with all info from the header for each card with name
    orca_class_name.
    """
    object_info_list = []

    crates = header_dict["ObjectInfo"]["Crates"]
    for crate in crates:
        cards = crate["Cards"]
        for card in cards:
            if card["Class Name"] == orca_class_name:
                card["Crate"] = crate["CrateNumber"]
                object_info_list.append(card)

    if len(object_info_list) == 0:
        print('OrcaDecoder::get_object_info(): Warning: no object info '
              'for class name', orca_class_name)
    return object_info_list