Template Struct FieldBase¶
Defined in File FieldBase.h
Inheritance Relationships¶
Derived Types¶
public lsst::afw::table::Key< afw::table::Array< Scalar > >(Template Class Key)public lsst::afw::table::Key< afw::table::Flag >(Template Class Key)public lsst::afw::table::Key< afw::table::RecordId >(Template Class Key)public lsst::afw::table::Key< CentroidElement >(Template Class Key)public lsst::afw::table::Key< double >(Template Class Key)public lsst::afw::table::Key< Element >(Template Class Key)public lsst::afw::table::Key< ErrElement >(Template Class Key)public lsst::afw::table::Key< float >(Template Class Key)public lsst::afw::table::Key< FluxErrElement >(Template Class Key)public lsst::afw::table::Key< int >(Template Class Key)public lsst::afw::table::Key< lsst::afw::table::Array< int > >(Template Class Key)public lsst::afw::table::Key< lsst::afw::table::Array< Scalar > >(Template Class Key)public lsst::afw::table::Key< lsst::geom::Angle >(Template Class Key)public lsst::afw::table::Key< Mag >(Template Class Key)public lsst::afw::table::Key< MagErrElement >(Template Class Key)public lsst::afw::table::Key< meas::base::Flux >(Template Class Key)public lsst::afw::table::Key< RecordId >(Template Class Key)public lsst::afw::table::Key< Scalar >(Template Class Key)public lsst::afw::table::Field< T >(Template Struct Field)public lsst::afw::table::Key< T >(Template Class Key)
Struct Documentation¶
- 
template<typename 
T>
structFieldBase Field base class default implementation (used for numeric scalars and lsst::geom::Angle).
Subclassed by lsst::afw::table::Key< afw::table::Array< Scalar > >, lsst::afw::table::Key< afw::table::Flag >, lsst::afw::table::Key< afw::table::RecordId >, lsst::afw::table::Key< CentroidElement >, lsst::afw::table::Key< double >, lsst::afw::table::Key< Element >, lsst::afw::table::Key< ErrElement >, lsst::afw::table::Key< float >, lsst::afw::table::Key< FluxErrElement >, lsst::afw::table::Key< int >, lsst::afw::table::Key< lsst::afw::table::Array< int > >, lsst::afw::table::Key< lsst::afw::table::Array< Scalar > >, lsst::afw::table::Key< lsst::geom::Angle >, lsst::afw::table::Key< Mag >, lsst::afw::table::Key< MagErrElement >, lsst::afw::table::Key< meas::base::Flux >, lsst::afw::table::Key< RecordId >, lsst::afw::table::Key< Scalar >, lsst::afw::table::Field< T >, lsst::afw::table::Key< T >
Public Types
- 
typedef T 
Value¶ the type returned by BaseRecord::get
- 
typedef T &
Reference¶ the type returned by BaseRecord::operator[] (non-const)
- 
typedef T const &
ConstReference¶ the type returned by BaseRecord::operator[] (const)
- 
typedef T 
Element¶ the type of subfields (the same as the type itself for scalars)
Public Functions
- 
int 
getElementCount() const¶ Return the number of subfield elements (always one for scalars).
- 
FieldBase()¶ 
- 
FieldBase(int)¶ 
- 
FieldBase &
operator=(FieldBase const&)¶ 
- 
FieldBase &
operator=(FieldBase&&)¶ 
- 
~FieldBase()¶ 
Public Static Functions
- 
static std::string 
getTypeString()¶ Return a string description of the field type.
Protected Functions
- 
void 
stream(std::ostream &os) const¶ Defines how Fields are printed.
- 
Reference 
getReference(Element *p, ndarray::Manager::Ptr const&) const¶ Used to implement BaseRecord::operator[] (non-const).
- 
ConstReference 
getConstReference(Element const *p, ndarray::Manager::Ptr const&) const¶ Used to implement BaseRecord::operator[] (const).
- 
Value 
getValue(Element const *p, ndarray::Manager::Ptr const&) const¶ Used to implement BaseRecord::get.
- 
void 
setValue(Element *p, ndarray::Manager::Ptr const&, Value v) const¶ Used to implement BaseRecord::set.
Protected Static Functions
- 
static FieldBase 
makeDefault()¶ Needed to allow Keys to be default-constructed.
- 
typedef T