| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DybPython::Util::gputil::irange Class Reference

List of all members.

Public Member Functions

def __init__
def __iter__

Public Attributes

 end
 count

Detailed Description

cranking the iterator from py side   TODO: yield a count in a tuple with the item  

Definition at line 103 of file gputil.py.


Member Function Documentation

def DybPython::Util::gputil::irange::__init__ (   self,
  begin,
  end 
)

Definition at line 105 of file gputil.py.

00105                                   :
00106         self.begin, self.end = begin, end
00107         self.count = 0
    def __iter__(self):

def DybPython::Util::gputil::irange::__iter__ (   self  ) 

Definition at line 108 of file gputil.py.

00108                       :
00109         it = self.begin
00110         while it != self.end:
00111             yield it.__deref__()
00112             it.__postinc__(1)
00113             self.count += 1
00114 
def print_(o):


Member Data Documentation

DybPython::Util::gputil::irange::end

Definition at line 106 of file gputil.py.

DybPython::Util::gputil::irange::count

Definition at line 107 of file gputil.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:13:03 2011 for DybPython by doxygen 1.4.7