def get_code_items(self):
    if (self.code_items is None):
        self.code_items = list()
        (size, offset) = self.get_map_tuple(TYPE_CODE_ITEM)
        self.data.push_offset_and_seek(offset)
        for i in range(size):
            self.data.align_to(4)
            item = code_item(self.data)
            self.code_items.append(item)
            self.code_off_to_code_item_idx[item.get_offset()] = i
        self.data.pop_offset_and_seek()
    return self.code_items
def get_code_items(self):
    if (self.code_items is None):
        self.code_items = list()
        (size, offset) = self.get_map_tuple(TYPE_CODE_ITEM)
        self.data.push_offset_and_seek(offset)
        for i in range(size):
            self.data.align_to(4)
            item = code_item(self.data)
            self.code_items.append(item)
            self.code_off_to_code_item_idx[item.get_offset()] = i
        self.data.pop_offset_and_seek()
    return self.code_items