Record class that must contain a unique ID field and a celestial coordinate field.
More...
|
| std::shared_ptr< SimpleTable const > | getTable () const |
| |
| Schema | getSchema () const |
| | Return the Schema that holds this record's fields and keys. More...
|
| |
| template<typename T > |
| Field< T >::Element * | getElement (Key< T > const &key) |
| | Return a pointer to the underlying elements of a field (non-const). More...
|
| |
| template<typename T > |
| Field< T >::Element const * | getElement (Key< T > const &key) const |
| | Return a pointer to the underlying elements of a field (const). More...
|
| |
| template<typename T > |
| Field< T >::Reference | operator[] (Key< T > const &key) |
| | Return a reference (or reference-like type) to the field's value. More...
|
| |
| template<typename T > |
| Field< T >::ConstReference | operator[] (Key< T > const &key) const |
| | Return a const reference (or const-reference-like type) to the field's value. More...
|
| |
| template<typename Ref > |
| Ref | operator[] (ReferenceFunctorKey< Ref > const &key) |
| |
| template<typename ConstRef > |
| ConstRef | operator[] (ConstReferenceFunctorKey< ConstRef > const &key) const |
| |
| template<typename T > |
| Field< T >::Value | get (Key< T > const &key) const |
| | Return the value of a field for the given key. More...
|
| |
| template<typename T > |
| T | get (OutputFunctorKey< T > const &key) const |
| | Compute a calculated or aggregate field. More...
|
| |
| template<typename T , typename U > |
| void | set (Key< T > const &key, U const &value) |
| | Set value of a field for the given key. More...
|
| |
| template<typename T , typename U > |
| void | set (InputFunctorKey< T > const &key, U const &value) |
| | Set a calculated or aggregate field. More...
|
| |
| void | assign (BaseRecord const &other) |
| | Copy all field values from other to this, requiring that they have equal schemas. More...
|
| |
| void | assign (BaseRecord const &other, SchemaMapper const &mapper) |
| | Copy field values from other to this, using a mapper. More...
|
| |
| ndarray::Manager::Ptr | getManager () const |
| |
|
| RecordId | getId () const |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| void | setId (RecordId id) |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| IcrsCoord | getCoord () const |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| void | setCoord (IcrsCoord const &coord) |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| void | setCoord (Coord const &coord) |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| Angle | getRa () const |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| void | setRa (Angle ra) |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| Angle | getDec () const |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
| void | setDec (Angle dec) |
| | Convenience accessors for the keys in the minimal reference schema. More...
|
| |
Record class that must contain a unique ID field and a celestial coordinate field.
SimpleTable / SimpleRecord are intended to be the base class for records representing astronomical objects. In additional to the minimal schema and the convenience accessors it allows, a SimpleTable may hold an IdFactory object that is used to assign unique IDs to new records.
Definition at line 48 of file Simple.h.
template<typename T >
| Field<T>::Reference lsst::afw::table::BaseRecord::operator[] |
( |
Key< T > const & |
key | ) |
|
|
inlineinherited |
Return a reference (or reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and Coord) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 101 of file BaseRecord.h.
template<typename T >
| Field<T>::ConstReference lsst::afw::table::BaseRecord::operator[] |
( |
Key< T > const & |
key | ) |
const |
|
inlineinherited |
Return a const reference (or const-reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and Coord) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 113 of file BaseRecord.h.
template<typename T , typename U >
| void lsst::afw::table::BaseRecord::set |
( |
Key< T > const & |
key, |
|
|
U const & |
value |
|
) |
| |
|
inlineinherited |
Set value of a field for the given key.
This method has an additional template parameter because some fields accept and convert different types to the stored field type.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 136 of file BaseRecord.h.