lsst.afw
20.0.0-13-gad96b2d30+614f89f815
|
An iterator that only returns usable members of the SpatialCell. More...
#include <SpatialCell.h>
Public Member Functions | |
void | operator++ () |
Advance the iterator, maybe skipping over candidates labelled BAD. More... | |
size_t | operator- (SpatialCellCandidateIterator const &rhs) const |
Return the number of candidate between this and rhs. More... | |
std::shared_ptr< SpatialCellCandidate const > | operator* () const |
Dereference the iterator to return the Candidate (if there is one) More... | |
std::shared_ptr< SpatialCellCandidate > | operator* () |
Return the std::shared_ptr<CellCandidate> 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... | |
Friends | |
class | SpatialCell |
An iterator that only returns usable members of the SpatialCell.
Definition at line 163 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 241 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 253 of file SpatialCell.cc.
|
inline |
Are two SpatialCellCandidateIterators unequal?
Definition at line 190 of file SpatialCell.h.
std::shared_ptr< SpatialCellCandidate > lsst::afw::math::SpatialCellCandidateIterator::operator* | ( | ) |
Return the std::shared_ptr<CellCandidate>
Definition at line 295 of file SpatialCell.cc.
std::shared_ptr< SpatialCellCandidate const > 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 287 of file SpatialCell.cc.
void lsst::afw::math::SpatialCellCandidateIterator::operator++ | ( | ) |
Advance the iterator, maybe skipping over candidates labelled BAD.
Definition at line 262 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 276 of file SpatialCell.cc.
|
inline |
Are two SpatialCellCandidateIterators equal?
Definition at line 188 of file SpatialCell.h.
|
friend |
Definition at line 164 of file SpatialCell.h.