%SYS.Python.IteratorHelper
class %SYS.Python.IteratorHelper extends %Library.RegisteredObject
Implementation of an iterator helper for PythonProperty Inventory
Method Inventory
Properties
property %Iterator as %Collection.AbstractIterator [ Transient ];
Abstract iterator that we are iterating on
Property methods: %IteratorGet(), %IteratorGetSwizzled(), %IteratorIsValid(), %IteratorNewObject(), %IteratorSet()
property %Key as %String;
Current iterator key
Property methods: %KeyDisplayToLogical(), %KeyGet(), %KeyIsValid(), %KeyLogicalToDisplay(), %KeyLogicalToOdbc(), %KeyNormalize(), %KeySet()
property %Mode as %String (VALUELIST = ",values,keys,both") [ InitialExpression = "values" , Required , Transient ];
Mode flag
Property methods: %ModeDisplayToLogical(), %ModeGet(), %ModeIsValid(), %ModeLogicalToDisplay(), %ModeLogicalToOdbc(), %ModeNormalize(), %ModeSet()
Methods
method %OnNew(iter As %Collection.AbstractIterator, mode As %String = "") as %Status
Initialize this iterator helper
Check to see if this iterator contains the following
method __iter__() as IteratorHelper
Allows an "iterator on an iterator", note that it does NOT reset then
"index" it just continues on and this doesn not "clone", it's a reference
as per Python behavior
method __len__() as %Integer
Return the length of the iterable collection (if known)
method __next__() as %String
Python iterator implementation
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()