Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
CMFEditions.ZVCStorageTool.GetItemIterator Class Reference

List of all members.

Public Member Functions

def __init__
def __iter__
def next

Private Attributes


Detailed Description

Iterator object using a getitem implementation to iterate over.

Definition at line 1001 of file

Constructor & Destructor Documentation

def CMFEditions.ZVCStorageTool.GetItemIterator.__init__ (   self,

Definition at line 1004 of file

01005     def __init__(self, getItem, stopExceptions):
01006         self._getItem = getItem
01007         self._stopExceptions = stopExceptions
01008         self._pos = -1

Member Function Documentation

Definition at line 1009 of file

01010     def __iter__(self):
01011         return self

Here is the caller graph for this function:

Definition at line 1012 of file

01013     def next(self):
01014         self._pos += 1
01015         try:
01016             return self._getItem(self._pos)
01017         except self._stopExceptions:
01018             raise StopIteration()

Member Data Documentation

Definition at line 1005 of file

Definition at line 1007 of file

Definition at line 1006 of file

The documentation for this class was generated from the following file: