LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
A FunctorKey that maps SdssShapeResult to afw::table Records. More...
#include <SdssShape.h>
Public Member Functions | |
SdssShapeResultKey () | |
Default constructor; instance will not be usuable unless subsequently assigned to. More... | |
SdssShapeResultKey (afw::table::SubSchema const &s) | |
Construct from a subschema, assuming _xx, _yy, etc. subfields. More... | |
virtual SdssShapeResult | get (afw::table::BaseRecord const &record) const |
Get a CentroidResult from the given record. More... | |
virtual void | set (afw::table::BaseRecord &record, SdssShapeResult const &value) const |
Set a CentroidResult in the given record. More... | |
bool | isValid () const |
Return True if the key is valid. More... | |
FlagHandler const & | getFlagHandler () const |
bool | operator== (SdssShapeResultKey const &other) const |
Compare the FunctorKey for equality with another, using the underlying Keys. More... | |
bool | operator!= (SdssShapeResultKey const &other) const |
Compare the FunctorKey for equality with another, using the underlying Keys. More... | |
Public Member Functions inherited from lsst::afw::table::OutputFunctorKey< SdssShapeResult > | |
virtual | ~OutputFunctorKey () |
Public Member Functions inherited from lsst::afw::table::InputFunctorKey< SdssShapeResult > | |
virtual void | set (BaseRecord &record, SdssShapeResultconst &value) const =0 |
virtual | ~InputFunctorKey () |
Static Public Member Functions | |
static SdssShapeResultKey | addFields (afw::table::Schema &schema, std::string const &name) |
Add the appropriate fields to a Schema, and return a SdssShapeResultKey that manages them. More... | |
A FunctorKey that maps SdssShapeResult to afw::table Records.
This is used internally by SdssShapeAlgorithm to transfer results from SdssShapeResult to SourceRecord, but it can also be used in the other direction by codes that need to extra an SdssShapeResult from a record.
Definition at line 66 of file SdssShape.h.
|
inline |
Default constructor; instance will not be usuable unless subsequently assigned to.
Definition at line 82 of file SdssShape.h.
lsst::meas::base::SdssShapeResultKey::SdssShapeResultKey | ( | afw::table::SubSchema const & | s | ) |
Construct from a subschema, assuming _xx, _yy, etc. subfields.
If a schema has "a_xx", "a_yy", etc. fields, this constructor allows you to construct a SdssShapeResultKey via:
Definition at line 686 of file SdssShape.cc.
|
static |
Add the appropriate fields to a Schema, and return a SdssShapeResultKey that manages them.
[in,out] | schema | Schema to add fields to. |
[in] | name | Name prefix for all fields; "_xx", "_yy", etc. will be appended to this to form the full field names. |
Definition at line 654 of file SdssShape.cc.
|
virtual |
Get a CentroidResult from the given record.
Implements lsst::afw::table::OutputFunctorKey< SdssShapeResult >.
Definition at line 696 of file SdssShape.cc.
|
inline |
Definition at line 110 of file SdssShape.h.
bool lsst::meas::base::SdssShapeResultKey::isValid | ( | ) | const |
Return True if the key is valid.
Definition at line 732 of file SdssShape.cc.
|
inline |
Compare the FunctorKey for equality with another, using the underlying Keys.
Definition at line 104 of file SdssShape.h.
bool lsst::meas::base::SdssShapeResultKey::operator== | ( | SdssShapeResultKey const & | other | ) | const |
Compare the FunctorKey for equality with another, using the underlying Keys.
Definition at line 722 of file SdssShape.cc.
|
virtual |
Set a CentroidResult in the given record.
Definition at line 710 of file SdssShape.cc.
|
private |
Definition at line 114 of file SdssShape.h.
|
private |
Definition at line 119 of file SdssShape.h.
|
private |
Definition at line 116 of file SdssShape.h.
|
private |
Definition at line 118 of file SdssShape.h.
|
private |
Definition at line 117 of file SdssShape.h.
|
private |
Definition at line 115 of file SdssShape.h.
|
private |
Definition at line 113 of file SdssShape.h.