25 #ifndef LSST_JOINTCAL_STAR_LIST_H 26 #define LSST_JOINTCAL_STAR_LIST_H 73 for (
auto &p : *
this) p->dump(
stream);
97 template <
class Operator>
99 for (
auto &p : *
this) op.transformStar(*(p));
104 template <
class Star>
112 #endif // LSST_JOINTCAL_STAR_LIST_H
std::shared_ptr< Star > Element
StarList()
: default constructor (empty std::list).
void applyTransform(const Operator &op)
enables to apply a geometrical transform if Star is Basestar or derives from it.
void dump(std::ostream &stream=std::cout) const
invokes dump(stream) for all Stars in the std::list.
void extractInFrame(StarList< Star > &out, const Frame &frame) const
copy the part of the std::list which is included in the frame at the end of another std::list ...
void cutTail(const int nKeep)
cuts the end of the std::list
rectangle with sides parallel to axes.
A base class for image defects.
std::list< Element >::const_iterator StarCIterator
void clearList()
Clears the std::list.
void copyTo(StarList< Star > ©) const
clears copy and makes a copy of the std::list to copy
void fluxSort()
a model routine to sort the std::list
std::list< Element >::iterator StarIterator