50 inline void operator++()
54 inline bool hasNext()
const
56 return m_current < m_end;
58 inline Int32 itemLocalId()
const
60 return m_items_local_id[m_current];
62 inline Int32 index()
const
68 return { m_sub_items_shared_info, _ids() };
70 inline Item operator*()
const
72 return Item(m_items_local_id[m_current], m_items_shared_info);
74 inline Integer nbSubItem()
const
76 return static_cast<Int32
>(m_indexes[m_current + 1] - m_indexes[m_current]);
89 ItemSharedInfo* m_items_shared_info = ItemSharedInfo::nullInstance();
90 ItemSharedInfo* m_sub_items_shared_info = ItemSharedInfo::nullInstance();
94 Item _currentItem()
const
96 return Item(m_items_local_id[m_current], m_items_shared_info);
98 ConstArrayView<Int32> _ids()
const
100 return ConstArrayView<Int32>(nbSubItem(), m_sub_items_local_id.data() + m_indexes[m_current]);