MGunit documentation

Unit testing for IDL

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

dist_tools/collection/

mgcoabstractiterator__define.pro

Class description for mgcoabstractiterator

Subclasses: mgcoarraylistiterator

Fields

version 0L

used to compare to the version of the underlying collection to determine if the underlying collection has changed

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

topmgcoabstractiterator::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

topmgcoabstractiterator::next

result = mgcoabstractiterator::next()

Return the next item in the underlying collection.

Return value

list item

topmgcoabstractiterator::remove

mgcoabstractiterator::remove

Removes from the underlying MGArrayList the last element returned.

topmgcoabstractiterator::cleanup

mgcoabstractiterator::cleanup

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

topmgcoabstractiterator::init

result = mgcoabstractiterator::init()

Initialize an iterator.

Return value

1 for success, 0 otherwise

topmgcoabstractiterator__define

mgcoabstractiterator__define

Define member variables.

File attributes

Modification date: Wed Apr 22 23:29:03 2009
Lines: 70
Docformat: rst rst