|
virtual boost::shared_ptr
< tbl::io::Persistable > | read (InputArchive const &archive, CatalogVector const &catalogs) const |
|
| Factory (std::string const &name) |
|
Definition at line 154 of file CoaddBoundedField.cc.
lsst::meas::algorithms::CoaddBoundedField::Factory::Factory |
( |
std::string const & |
name | ) |
|
|
inline |
virtual boost::shared_ptr< tbl::io::Persistable > lsst::meas::algorithms::CoaddBoundedField::Factory::read |
( |
InputArchive const & |
archive, |
|
|
CatalogVector const & |
catalogs |
|
) |
| const |
|
inlinevirtual |
Definition at line 158 of file CoaddBoundedField.cc.
159 CoaddBoundedFieldPersistenceKeys1
const & keys1 = CoaddBoundedFieldPersistenceKeys1::get();
160 CoaddBoundedFieldPersistenceKeys2
const & keys2 = CoaddBoundedFieldPersistenceKeys2::get();
164 tbl::BaseRecord
const & record1 = catalogs.front().front();
166 elements.reserve(catalogs.back().size());
167 for (tbl::BaseCatalog::const_iterator i = catalogs.back().begin(); i != catalogs.back().end(); ++i) {
170 archive.get<afw::math::BoundedField>(i->get(keys2.field)),
172 archive.get<afw::geom::polygon::Polygon>(i->get(keys2.validPolygon)),
177 return boost::make_shared<CoaddBoundedField>(
178 afw::geom::Box2I(record1.get(keys1.bboxMin), record1.get(keys1.bboxMax)),
181 record1.get(keys1.default_)
std::vector< Element > ElementVector
#define LSST_ARCHIVE_ASSERT(EXPR)
An assertion macro used to validate the structure of an InputArchive.
CoaddBoundedFieldElement Element
lsst::afw::image::Wcs Wcs
The documentation for this class was generated from the following file: