Back to index

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

List of all members.

Public Member Functions

def __init__
def __iter__
def next

Private Attributes

 _getItem
 _stopExceptions
 _pos

Detailed Description

Iterator object using a getitem implementation to iterate over.

Definition at line 771 of file CopyModifyMergeRepositoryTool.py.


Constructor & Destructor Documentation

def CMFEditions.CopyModifyMergeRepositoryTool.GetItemIterator.__init__ (   self,
  getItem,
  stopExceptions 
)

Definition at line 774 of file CopyModifyMergeRepositoryTool.py.

00774 
00775     def __init__(self, getItem, stopExceptions):
00776         self._getItem = getItem
00777         self._stopExceptions = stopExceptions
00778         self._pos = -1


Member Function Documentation

Definition at line 779 of file CopyModifyMergeRepositoryTool.py.

00779 
00780     def __iter__(self):
00781         return self
        

Here is the caller graph for this function:

Definition at line 782 of file CopyModifyMergeRepositoryTool.py.

00782 
00783     def next(self):
00784         self._pos += 1
00785         try:
00786             return self._getItem(self._pos)
00787         except self._stopExceptions:
00788             raise StopIteration()
00789 
00790 
00791 InitializeClass(CopyModifyMergeRepositoryTool)

Member Data Documentation

Definition at line 775 of file CopyModifyMergeRepositoryTool.py.

Definition at line 777 of file CopyModifyMergeRepositoryTool.py.

Definition at line 776 of file CopyModifyMergeRepositoryTool.py.


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