All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
ICARUSgeometryChecker.NestedIteration Class Reference

Classes

class  BadIterator
 

Public Member Functions

def __init__
 
def __iter__
 
def next
 

Public Attributes

 outerIter
 
 innerIter
 

Detailed Description

Definition at line 20 of file ICARUSgeometryChecker.py.

Constructor & Destructor Documentation

def ICARUSgeometryChecker.NestedIteration.__init__ (   self,
  iterable 
)

Member Function Documentation

def ICARUSgeometryChecker.NestedIteration.__iter__ (   self)

Definition at line 31 of file ICARUSgeometryChecker.py.

31 
32  def __iter__(self): return self
def ICARUSgeometryChecker.NestedIteration.next (   self)

Definition at line 33 of file ICARUSgeometryChecker.py.

33 
34  def next(self):
35  while True:
36  try: return next(self.innerIter)
37  except StopIteration: pass
38  self.innerIter = iter(next(self.outerIter)) # let StopIteration through
# while

Member Data Documentation

ICARUSgeometryChecker.NestedIteration.innerIter

Definition at line 28 of file ICARUSgeometryChecker.py.

ICARUSgeometryChecker.NestedIteration.outerIter

Definition at line 27 of file ICARUSgeometryChecker.py.


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