You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using an integer counter. This method is less efficient than the first, but is occasionally more convenient:
/* Walk each image and show */ int i, last;
... last = (int)nitf_List_size(list); for(i = 0; i < last; i++) {
nitf_ListIterator iter = nitf_List_at(list, i);
nitf_ImageSegment *segment = (nitf_ImageSegment *) nitf_ListIterator_get(&iter);
... }
This same approach works for other segments as well.