This Rogue Wave Views Script class is a proxy for an iterator on an Rogue Wave Server n-ary relation. More...
#include <javascript/serverside.h>
Public Member Functions | |
IlsServerRelationIterator (IlsServerRelation rel) | |
Builds an iterator from an server n-ary relation. More... | |
void | close () |
Closes the iterator. | |
IlsViewed | next () |
Moves the iterator forward, thereby changing the current property. More... | |
void | reset () |
Resets the iterator to the beginning of the list. | |
Public Attributes | |
IlsViewed | current |
References the current IlsViewed or subclass object to which the iterator points. | |
Boolean | eol |
True if the iterator is at the end of the relation. | |
This Rogue Wave Views Script class is a proxy for an iterator on an Rogue Wave Server n-ary relation.
Note that you are not supposed to modify the server relation while the iterator is opened. If the underlying relation is a hash table, for instance, renaming the object from the iterator will raise an exception because an iterator is opened.
IlsServerRelation
(script class). javascript::IlsServerRelationIterator::IlsServerRelationIterator | ( | IlsServerRelation | rel | ) |
Builds an iterator from an server n-ary relation.
rel | n-ary relation on which iterate. |
IlsViewed javascript::IlsServerRelationIterator::next | ( | ) |
Moves the iterator forward, thereby changing the current
property.
null
if the iterator is at the end of the relation.