mglib

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

Routines from mgcoabstractiterator__define.pro

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 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 mgcoabstractiterator::next

result = mgcoabstractiterator::next()

Return the next item in the underlying collection.

Return value

list item

top mgcoabstractiterator::remove

mgcoabstractiterator::remove

Removes from the underlying MGArrayList the last element returned.

top mgcoabstractiterator::cleanup

mgcoabstractiterator::cleanup

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

top mgcoabstractiterator::init

result = mgcoabstractiterator::init()

Initialize an iterator.

Return value

1 for success, 0 otherwise

top mgcoabstractiterator__define

mgcoabstractiterator__define

Define member variables.

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 20
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.