%SYS.Python.DynamicObjIterator
class %SYS.Python.DynamicObjIterator extends %Library.RegisteredObject
Implementation of a COS Dynamic Object Iterator for PythonProperty Inventory
Method Inventory
Properties
property %DynObj as %Library.DynamicAbstractObject;
DynObj that we are iterating on
Property methods: %DynObjGet(), %DynObjGetObject(), %DynObjGetObjectId(), %DynObjGetSwizzled(), %DynObjIsValid(), %DynObjNewObject(), %DynObjSet(), %DynObjSetObject(), %DynObjSetObjectId(), %DynObjUnSwizzle()
property %DynObjIter as %Iterator.AbstractIterator [ Transient ];
Hold its iterator as well
Property methods: %DynObjIterGet(), %DynObjIterGetSwizzled(), %DynObjIterIsValid(), %DynObjIterNewObject(), %DynObjIterSet()
Methods
method %OnNew(dynobj As %Library.DynamicAbstractObject) as %Status
Initialize this iterator helper
method __iter__() as %SYS.Python.StreamIterator
Allows an "iterator on an iterator", note that it does NOT reset then
"index" it just continues on and this does 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.
Should return only keys.
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()