Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Private Attributes
Archetypes.PloneCompat.IndexIterator Class Reference

List of all members.

Public Member Functions

def __init__
def next

Public Attributes

 upper
 pos

Static Private Attributes

int __allow_access_to_unprotected_subobjects__ = 1

Detailed Description

Definition at line 11 of file PloneCompat.py.


Constructor & Destructor Documentation

def Archetypes.PloneCompat.IndexIterator.__init__ (   self,
  upper = 100000,
  pos = 0 
)

Definition at line 14 of file PloneCompat.py.

00014 
00015         def __init__(self, upper=100000, pos=0):
00016             self.upper=upper
00017             self.pos=pos

Here is the caller graph for this function:


Member Function Documentation

Definition at line 18 of file PloneCompat.py.

00018 
00019         def next(self):
00020             if self.pos <= self.upper:
00021                 self.pos += 1
00022                 return self.pos
00023             raise KeyError, 'Reached upper bounds'
00024 
00025 try:
    from Products.CMFPlone.utils import transaction_note

Member Data Documentation

Definition at line 12 of file PloneCompat.py.

Definition at line 16 of file PloneCompat.py.

Definition at line 15 of file PloneCompat.py.


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