LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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: