pythoncom.gif
blank.gif Next blank.gif Home Page

Class ListEnumerator - A class to expose a Python sequence as an EnumVARIANT


SYNOPSIS

import win32com.server.util
class ListEnumerator
  def Clone(self)
  def Next(self, count)
  def Reset(self)
  def Skip(self, count)
  def __init__(self, data, index=0)
  list _com_interfaces_ = [<iid object at 1a71630>]
  list _public_methods_ = ['Next', 'Skip', 'Reset',  ...
  def _wrap(self, ob)

DESCRIPTION

Create an instance of this class passing a sequence (list, tuple, or any sequence protocol supporting object) and it will automatically support the EnumVARIANT interface for the object.

See also the NewEnum function, which can be used to turn the instance into an actual COM server

SEE ALSO

win32com.server.util


blank.gif Next blank.gif Home Page
www_icon.gif

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997