'Iterates over each Feature in the Layer.'

def __iter__(self):

    capi.reset_reading(self._ptr)
    for i in xrange(self.num_feat):
        (yield Feature(capi.get_next_feature(self._ptr), self._ldefn))
