def import_indices(length)
      # Note that this method is defined in the parent Record class, where it is
      # used for most record types. However, because this record has two attributes
      # which contain an array of values, we use a custom import_indices method.
      #
      # Furthermore, as of Mosaiq version 2.64, the RTP ControlPoint record includes
      # 3 new attributes: iso_pos_x/y/z. Since these (unfortunately) are not placed
      # at the end of the record (which is the norm), but rather inserted before the
      # MLC leaf positions, we have to take special care here to make sure that this
      # gets right for records where these are included or excluded.
      #
      # Override length:
      applied_length = 235
      ind = Array.new(applied_length - NR_SURPLUS_ATTRIBUTES) { |i| [i] }
      # Override indices for mlc_pl_a and mlc_lp_b:
      # Allocation here is dependent on the RTP file version:
      # For 2.62 and earlier, where length is 232, we dont have the 3 iso_pos_x/y/z values preceeding the mlc arrays leaf position arrays.
      # For 2.64 (and later), where length is 235, we have the 3 iso_pos_x/y/z values preceeding the mlc leaf position arrays.
      if length == 232
        ind[32] = nil
        ind[33] = nil
        ind[34] = nil
        ind[35] = (32..131).to_a
        ind[36] = (132..231).to_a
      else # (length = 235)
        ind[35] = (35..134).to_a
        ind[36] = (135..234).to_a
      end
      ind
    end
def import_indices(length)
      # Note that this method is defined in the parent Record class, where it is
      # used for most record types. However, because this record has two attributes
      # which contain an array of values, we use a custom import_indices method.
      #
      # Furthermore, as of Mosaiq version 2.64, the RTP ControlPoint record includes
      # 3 new attributes: iso_pos_x/y/z. Since these (unfortunately) are not placed
      # at the end of the record (which is the norm), but rather inserted before the
      # MLC leaf positions, we have to take special care here to make sure that this
      # gets right for records where these are included or excluded.
      #
      # Override length:
      applied_length = 235
      ind = Array.new(applied_length - NR_SURPLUS_ATTRIBUTES) { |i| [i] }
      # Override indices for mlc_pl_a and mlc_lp_b:
      # Allocation here is dependent on the RTP file version:
      # For 2.62 and earlier, where length is 232, we dont have the 3 iso_pos_x/y/z values preceeding the mlc arrays leaf position arrays.
      # For 2.64 (and later), where length is 235, we have the 3 iso_pos_x/y/z values preceeding the mlc leaf position arrays.
      if length == 232
        ind[32] = nil
        ind[33] = nil
        ind[34] = nil
        ind[35] = (32..131).to_a
        ind[36] = (132..231).to_a
      else # (length = 235)
        ind[35] = (35..134).to_a
        ind[36] = (135..234).to_a
      end
      ind
    end
Gives an array of indices indicating where the attributes of this record gets its
 values from in the comma separated string which the instance is created from.

 @param [Integer] length the number of elements to create in the indices array