22 #ifndef LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H 23 #define LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H 35 namespace cameraGeom {
197 #endif // LSST_AFW_CAMERAGEOM_DETECTORCOLLECTION_H std::vector< std::shared_ptr< T > > List
void add(std::shared_ptr< T > detector)
Add a detector to the collection.
An object passed to Persistable::write to allow it to persist itself.
std::size_t size() const noexcept
Get the number of detectors.
std::shared_ptr< T > operator[](std::string const &name) const
Implement the [name] operator.
table::Key< int > detector
An abstract base class for collections of Detectors and specific subclasses thereof.
virtual ~DetectorCollectionBase() noexcept=0
A base class for objects that can be persisted via afw::table::io Archive classes.
bool empty() const noexcept
Determine if the collection contains any detectors.
lsst::geom::Box2D const & getFpBBox() const noexcept
Return a focal plane bounding box that encompasses all detectors.
A base class for image defects.
NameMap const & getNameMap() const noexcept
Get a map keyed and ordered by name.
IdMap const & getIdMap() const noexcept
Get a map keyed and ordered by ID.
DetectorCollectionBase() noexcept=default
An immutable collection of Detectors that can be accessed by name or ID.
A vector of catalogs used by Persistable.
DetectorCollectionBase & operator=(DetectorCollectionBase const &)=default
daf::base::PropertyList * list
bool isPersistable() const noexcept override
DetectorCollections are always persistable.
A CRTP facade class for subclasses of Persistable.