collection/
mgcoarraylistiterator__define.pro
This class provides a nice way to iterate through all the elements of an array list.
Routines
Methods inherited from mgcoabstractiterator
result = mgcoabstractiterator::init()
result = mgcoabstractiterator::next()
result = mgcoabstractiterator::hasNext()
mgcoabstractiterator::remove
mgcoabstractiterator::cleanup
Routines from mgcoarraylistiterator__define.pro
result = mgcoarraylistiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
result = mgcoarraylistiterator::next()
Return the next item in the underlying collection.
mgcoarraylistiterator::remove
Removes from the underlying MGArrayList the last element returned.
mgcoarraylistiterator::cleanup
Free resources of the iterator (not the underlying collection).
result = mgcoarraylistiterator::init(arraylist)
Initialize an MGArrayListIterator.
mgcoarraylistiterator__define
Define member variables.
Routine details
top mgcoarraylistiterator::hasNext
result = mgcoarraylistiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
Return value
1 if underlying collection has another element, 0 otherwise
top mgcoarraylistiterator::next
result = mgcoarraylistiterator::next()
Return the next item in the underlying collection.
Return value
list item
top mgcoarraylistiterator::remove
mgcoarraylistiterator::remove
Removes from the underlying MGArrayList the last element returned.
top mgcoarraylistiterator::cleanup
mgcoarraylistiterator::cleanup
Free resources of the iterator (not the underlying collection).
top mgcoarraylistiterator::init
result = mgcoarraylistiterator::init(arraylist)
Initialize an MGArrayListIterator.
Return value
1 for success, 0 otherwise
Parameters
- arraylist in required type=object
MGcoArrayList to iterator over
top mgcoarraylistiterator__define
mgcoarraylistiterator__define
Define member variables.
Other attributes
- Requires:
IDL 6.0
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 50 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.