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
|
An iterator that only returns usable members of the SpatialCell. More...
#include <SpatialCell.h>
Public Member Functions | |
void | operator++ () |
size_t | operator- (SpatialCellCandidateIterator const &rhs) const |
boost::shared_ptr < SpatialCellCandidate const > | operator* () const |
boost::shared_ptr < SpatialCellCandidate > | operator* () |
Return the CellCandidate::Ptr. More... | |
bool | operator== (SpatialCellCandidateIterator const &rhs) const |
Are two SpatialCellCandidateIterators equal? More... | |
bool | operator!= (SpatialCellCandidateIterator const &rhs) const |
Are two SpatialCellCandidateIterators unequal? More... | |
Protected Member Functions | |
SpatialCellCandidateIterator (CandidateList::iterator iterator, CandidateList::iterator end, bool ignoreBad) | |
ctor; designed to be used to pass begin to SpatialCellCandidateIterator More... | |
SpatialCellCandidateIterator (CandidateList::iterator iterator, CandidateList::iterator end, bool ignoreBad, bool) | |
ctor; designed to be used to pass end to SpatialCellCandidateIterator More... | |
Private Types | |
typedef std::vector < boost::shared_ptr < SpatialCellCandidate > > | CandidateList |
Private Attributes | |
CandidateList::iterator | _iterator |
CandidateList::iterator | _end |
bool | _ignoreBad |
Friends | |
class | SpatialCell |
An iterator that only returns usable members of the SpatialCell.
Definition at line 247 of file SpatialCell.h.
|
private |
Definition at line 249 of file SpatialCell.h.
|
protected |
ctor; designed to be used to pass begin to SpatialCellCandidateIterator
iterator | Where this iterator should start |
end | One-past-the-end of iterator's range |
ignoreBad | Should we pass over bad Candidates? |
Definition at line 324 of file SpatialCell.cc.
|
protected |
ctor; designed to be used to pass end to SpatialCellCandidateIterator
iterator | start of of iterator's range; not used |
end | Where this iterator should start |
ignoreBad | Should we pass over bad Candidates? |
Definition at line 340 of file SpatialCell.cc.
|
inline |
Are two SpatialCellCandidateIterators unequal?
Definition at line 264 of file SpatialCell.h.
SpatialCellCandidate::ConstPtr lsst::afw::math::SpatialCellCandidateIterator::operator* | ( | ) | const |
Dereference the iterator to return the Candidate (if there is one)
lsst::pex::exceptions::NotFoundError | if no candidate is available |
Definition at line 389 of file SpatialCell.cc.
SpatialCellCandidate::Ptr lsst::afw::math::SpatialCellCandidateIterator::operator* | ( | ) |
Return the CellCandidate::Ptr.
Definition at line 398 of file SpatialCell.cc.
void lsst::afw::math::SpatialCellCandidateIterator::operator++ | ( | ) |
Advance the iterator, maybe skipping over candidates labelled BAD
Definition at line 356 of file SpatialCell.cc.
size_t lsst::afw::math::SpatialCellCandidateIterator::operator- | ( | SpatialCellCandidateIterator const & | rhs | ) | const |
Return the number of candidate between this and rhs
Definition at line 373 of file SpatialCell.cc.
|
inline |
Are two SpatialCellCandidateIterators equal?
Definition at line 260 of file SpatialCell.h.
|
friend |
Definition at line 248 of file SpatialCell.h.
|
private |
Definition at line 274 of file SpatialCell.h.
|
private |
Definition at line 275 of file SpatialCell.h.
|
private |
Definition at line 273 of file SpatialCell.h.