lsst.afw g4d73512994+c357e897d2
|
Base class for objects that can extract a value from a record, but are not a true Key themselves. More...
#include <FunctorKey.h>
Public Types | |
using | Value = T |
The data type for get. More... | |
Public Member Functions | |
virtual T | get (BaseRecord const &record) const =0 |
virtual | ~OutputFunctorKey () noexcept=default |
Base class for objects that can extract a value from a record, but are not a true Key themselves.
Objects that inherit from OutputFunctorKey can be passed to BaseRecord::get(), just as true Keys can, but the record will simply pass itself to OutputFunctorKey::get() and return the result.
Definition at line 40 of file FunctorKey.h.
using lsst::afw::table::OutputFunctorKey< T >::Value = T |
The data type for get.
Definition at line 43 of file FunctorKey.h.
|
virtualdefaultnoexcept |
|
pure virtual |
Implemented in lsst::afw::table::PointKey< T >, lsst::afw::table::PointKey< int >, lsst::afw::table::PointKey< Element >, lsst::afw::table::PointKey< double >, lsst::afw::table::Point3Key< T >, lsst::afw::table::BoxKey< Box >, lsst::afw::table::BoxKey< lsst::geom::Box2I >, lsst::afw::table::CoordKey, lsst::afw::table::QuadrupoleKey, lsst::afw::table::EllipseKey, lsst::afw::table::CovarianceMatrixKey< T, N >, lsst::afw::table::CovarianceMatrixKey< float, 2 >, lsst::afw::table::CovarianceMatrixKey< float, 3 >, and lsst::afw::table::ArrayKey< T >.