LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
#include <FlagHandler.h>
Public Types | |
enum | { FAILURE =0 } |
Public Member Functions | |
FlagHandler () | |
FlagHandler (afw::table::SubSchema const &s, FlagDefinition const *begin, FlagDefinition const *end) | |
FlagDefinition | getDefinition (int i) const |
bool | getValue (afw::table::BaseRecord const &record, int i) const |
void | setValue (afw::table::BaseRecord &record, int i, bool value) const |
void | handleFailure (afw::table::BaseRecord &record, MeasurementError const *error=NULL) const |
Static Public Member Functions | |
static FlagHandler | addFields (afw::table::Schema &schema, std::string const &prefix, FlagDefinition const *begin, FlagDefinition const *end) |
Private Types | |
typedef std::vector< std::pair < FlagDefinition, afw::table::Key < afw::table::Flag > > > | Vector |
Private Attributes | |
Vector | _vector |
Definition at line 46 of file FlagHandler.h.
|
private |
Definition at line 80 of file FlagHandler.h.
anonymous enum |
|
inline |
Definition at line 51 of file FlagHandler.h.
lsst::meas::base::FlagHandler::FlagHandler | ( | afw::table::SubSchema const & | s, |
FlagDefinition const * | begin, | ||
FlagDefinition const * | end | ||
) |
Definition at line 47 of file FlagHandler.cc.
|
static |
Definition at line 28 of file FlagHandler.cc.
|
inline |
Definition at line 66 of file FlagHandler.h.
|
inline |
Definition at line 68 of file FlagHandler.h.
void lsst::meas::base::FlagHandler::handleFailure | ( | afw::table::BaseRecord & | record, |
MeasurementError const * | error = NULL |
||
) | const |
Definition at line 59 of file FlagHandler.cc.
|
inline |
Definition at line 72 of file FlagHandler.h.
|
private |
Definition at line 82 of file FlagHandler.h.