SectionModelT.getSection

Query the section that covers the given position. The number of items in the section can be computed by out_end - out_start.

If the position is larger than the number of items, a single range from n_items to G_MAXUINT will be returned.

template SectionModelT()
override
void
getSection
(,
out uint outStart
,
out uint outEnd
)

Parameters

position uint

the position of the item to query

outStart uint

the position of the first item in the section

outEnd uint

the position of the first item not part of the section anymore.