LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Private Attributes | List of all members
PyPixelRegionIterator Class Reference

#include <PyPixelRegion.h>

Inheritance diagram for PyPixelRegionIterator:

Public Member Functions

lsst::afw::geom::Span get () const
 
void increment ()
 
bool atEnd () const
 
 PyPixelRegionIterator (lsst::afw::geom::ellipses::PixelRegion::Iterator const &begin, lsst::afw::geom::ellipses::PixelRegion::Iterator const &end, PyObject *owner=NULL)
 
 ~PyPixelRegionIterator ()
 

Private Attributes

lsst::afw::geom::ellipses::PixelRegion::Iterator _current
 
lsst::afw::geom::ellipses::PixelRegion::Iterator _end
 
PyObject * _owner
 

Detailed Description

Definition at line 36 of file PyPixelRegion.h.

Constructor & Destructor Documentation

PyPixelRegionIterator::PyPixelRegionIterator ( lsst::afw::geom::ellipses::PixelRegion::Iterator const &  begin,
lsst::afw::geom::ellipses::PixelRegion::Iterator const &  end,
PyObject *  owner = NULL 
)
inline

Definition at line 45 of file PyPixelRegion.h.

49  : _current(begin), _end(end), _owner(owner) {
50  Py_XINCREF(_owner);
51  }
lsst::afw::geom::ellipses::PixelRegion::Iterator _end
Definition: PyPixelRegion.h:57
lsst::afw::geom::ellipses::PixelRegion::Iterator _current
Definition: PyPixelRegion.h:56
PyPixelRegionIterator::~PyPixelRegionIterator ( )
inline

Definition at line 53 of file PyPixelRegion.h.

53 { Py_XDECREF(_owner); }

Member Function Documentation

bool PyPixelRegionIterator::atEnd ( ) const
inline

Definition at line 43 of file PyPixelRegion.h.

43 { return _current == _end; }
lsst::afw::geom::ellipses::PixelRegion::Iterator _end
Definition: PyPixelRegion.h:57
lsst::afw::geom::ellipses::PixelRegion::Iterator _current
Definition: PyPixelRegion.h:56
lsst::afw::geom::Span PyPixelRegionIterator::get ( ) const
inline

Definition at line 39 of file PyPixelRegion.h.

39 { return *_current; }
lsst::afw::geom::ellipses::PixelRegion::Iterator _current
Definition: PyPixelRegion.h:56
void PyPixelRegionIterator::increment ( )
inline

Definition at line 41 of file PyPixelRegion.h.

41 { ++_current; }
lsst::afw::geom::ellipses::PixelRegion::Iterator _current
Definition: PyPixelRegion.h:56

Member Data Documentation

lsst::afw::geom::ellipses::PixelRegion::Iterator PyPixelRegionIterator::_current
private

Definition at line 56 of file PyPixelRegion.h.

lsst::afw::geom::ellipses::PixelRegion::Iterator PyPixelRegionIterator::_end
private

Definition at line 57 of file PyPixelRegion.h.

PyObject* PyPixelRegionIterator::_owner
private

Definition at line 58 of file PyPixelRegion.h.


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