lsst.afw
20.0.0-14-g1a12fe12b+614f89f815
|
Field base class default implementation (used for numeric scalars and lsst::geom::Angle). More...
#include <FieldBase.h>
Public Types | |
typedef T | Value |
the type returned by BaseRecord::get More... | |
typedef T & | Reference |
the type returned by BaseRecord::operator[] (non-const) More... | |
typedef T const & | ConstReference |
the type returned by BaseRecord::operator[] (const) More... | |
typedef T | Element |
the type of subfields (the same as the type itself for scalars) More... | |
Public Member Functions | |
int | getElementCount () const noexcept |
Return the number of subfield elements (always one for scalars). More... | |
FieldBase ()=default | |
FieldBase (int) | |
FieldBase (FieldBase const &) noexcept=default | |
FieldBase (FieldBase &&) noexcept=default | |
FieldBase & | operator= (FieldBase const &) noexcept=default |
FieldBase & | operator= (FieldBase &&) noexcept=default |
~FieldBase () noexcept=default | |
Static Public Member Functions | |
static std::string | getTypeString () |
Return a string description of the field type. More... | |
Protected Member Functions | |
void | stream (std::ostream &os) const |
Defines how Fields are printed. More... | |
Reference | getReference (Element *p, ndarray::Manager::Ptr const &) const |
Used to implement BaseRecord::operator[] (non-const). More... | |
ConstReference | getConstReference (Element const *p, ndarray::Manager::Ptr const &) const |
Used to implement BaseRecord::operator[] (const). More... | |
Value | getValue (Element const *p, ndarray::Manager::Ptr const &) const |
Used to implement BaseRecord::get. More... | |
void | setValue (Element *p, ndarray::Manager::Ptr const &, Value v) const |
Used to implement BaseRecord::set. More... | |
Static Protected Member Functions | |
static FieldBase | makeDefault () noexcept |
Needed to allow Keys to be default-constructed. More... | |
Field base class default implementation (used for numeric scalars and lsst::geom::Angle).
Definition at line 43 of file FieldBase.h.
typedef T const& lsst::afw::table::FieldBase< T >::ConstReference |
the type returned by BaseRecord::operator[] (const)
Definition at line 46 of file FieldBase.h.
typedef T lsst::afw::table::FieldBase< T >::Element |
the type of subfields (the same as the type itself for scalars)
Definition at line 47 of file FieldBase.h.
typedef T& lsst::afw::table::FieldBase< T >::Reference |
the type returned by BaseRecord::operator[] (non-const)
Definition at line 45 of file FieldBase.h.
typedef T lsst::afw::table::FieldBase< T >::Value |
the type returned by BaseRecord::get
Definition at line 44 of file FieldBase.h.
|
default |
|
inline |
Definition at line 59 of file FieldBase.h.
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineprotected |
Used to implement BaseRecord::operator[] (const).
Definition at line 80 of file FieldBase.h.
|
inlinenoexcept |
Return the number of subfield elements (always one for scalars).
Definition at line 50 of file FieldBase.h.
|
inlineprotected |
Used to implement BaseRecord::operator[] (non-const).
Definition at line 77 of file FieldBase.h.
|
static |
Return a string description of the field type.
Definition at line 56 of file FieldBase.cc.
|
inlineprotected |
Used to implement BaseRecord::get.
Definition at line 83 of file FieldBase.h.
|
inlinestaticprotectednoexcept |
Needed to allow Keys to be default-constructed.
Definition at line 71 of file FieldBase.h.
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineprotected |
Used to implement BaseRecord::set.
Definition at line 86 of file FieldBase.h.
|
inlineprotected |
Defines how Fields are printed.
Definition at line 74 of file FieldBase.h.