2 #ifndef AFW_TABLE_DETAIL_Access_h_INCLUDED 3 #define AFW_TABLE_DETAIL_Access_h_INCLUDED 7 #include "ndarray/Manager.h" 40 "Cannot extract subfield key from invalid key of type '%s' " 41 "(most often this is caused by failing to setup centroid or shape slots)") %
54 (boost::format(
"Cannot extract subfield key from invalid key of type '%s' ") %
81 schema._impl->_recordSize +=
bytes;
89 #endif // !AFW_TABLE_DETAIL_Access_h_INCLUDED
Defines the fields and offsets for a table.
static Key< Array< T > > extractRange(KeyBase< Array< T > > const &kb, int begin, int end)
static void padSchema(Schema &schema, int bytes)
afw::table::Schema schema
static Key< T > makeKey(int offset)
static Key< T > makeKey(Field< T > const &field, int offset)
A base class for image defects.
static Key< typename Key< T >::Element > extractElement(KeyBase< T > const &kb, int n)
A description of a field in a table.
static Key< Flag > makeKey(int offset, int bit)
Tag types used to declare specialized field types.
T Element
the type of subfields (the same as the type itself for scalars)
#define LSST_EXCEPT(type,...)
A base class for Key that allows subfield keys to be extracted for some field types.
A class used as a handle to a particular field in a table.
Key specialization for Flag.