/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
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.


Constructor & Destructor Documentation

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

Definition at line 105 of file gputil.py.

00106                                   :
00107         self.begin, self.end = begin, end
        self.count = 0

Member Function Documentation

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

Definition at line 108 of file gputil.py.

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


Member Data Documentation

Definition at line 105 of file gputil.py.

Definition at line 105 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 Fri May 16 2014 09:55:41 for DybPython by doxygen 1.7.4