Class SimpleShapeResultKey

Inheritance Relationships

Base Type

Class Documentation

class SimpleShapeResultKey : public lsst::afw::table::FunctorKey<SimpleShapeResult>

Unnamed Group

bool operator==(SimpleShapeResultKey const &other) const

Compare the FunctorKey for equality with another, using the underlying Keys.

bool operator!=(SimpleShapeResultKey const &other) const

Public Functions

SimpleShapeResultKey()
SimpleShapeResultKey(lsst::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 SimpleShapeResultKey via:

SimpleShapeResultKey k(schema["a"]);

virtual SimpleShapeResult get(afw::table::BaseRecord const &record) const
virtual void set(afw::table::BaseRecord &record, SimpleShapeResult const &value) const
bool isValid() const

Return True if the key is valid.

lsst::meas::base::FlagHandler const &getFlagHandler() const

Public Static Functions

static SimpleShapeResultKey addFields(afw::table::Schema &schema, std::string const &name)