idllib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

collection/

mgcoabstractiterator__define.pro


Class description for mgcoabstractiterator

Subclasses: mgcoarraylistiterator

Routines

result = mgcoabstractiterator::hasNext()

Determine if the underlying collection has another element to retrieve.

result = mgcoabstractiterator::next()

Return the next item in the underlying collection.

mgcoabstractiterator::remove

Removes from the underlying MGArrayList the last element returned.

mgcoabstractiterator::cleanup

Free resources of the iterator (not the underlying collection).

result = mgcoabstractiterator::init()

Initialize an iterator.

mgcoabstractiterator__define

Define member variables.

Routine details

top source mgcoabstractiterator::hasNext

result = mgcoabstractiterator::hasNext()

Determine if the underlying collection has another element to retrieve.

Return value

1 if underlying collection has another element, 0 otherwise

top source mgcoabstractiterator::next

result = mgcoabstractiterator::next()

Return the next item in the underlying collection.

Return value

list item

top source mgcoabstractiterator::remove

mgcoabstractiterator::remove

Removes from the underlying MGArrayList the last element returned.

top source mgcoabstractiterator::cleanup

mgcoabstractiterator::cleanup

Free resources of the iterator (not the underlying collection).

top source mgcoabstractiterator::init

result = mgcoabstractiterator::init()

Initialize an iterator.

Return value

1 for success, 0 otherwise

top source mgcoabstractiterator__define

mgcoabstractiterator__define

Define member variables.

File attributes

Modification date: Mon Nov 29 18:32:28 2010
Lines: 70
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.