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' ") %
90 schema._impl->_recordSize +=
bytes;
98 #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)
static Key< std::string > makeKeyString(int offset, int size)
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)
def format(config, name=None, writeSourceLine=True, prefix="", verbose=False)
A description of a field in a table.
static Key< Flag > makeKey(int offset, int bit)
Tag types used to declare specialized field types.
Reports errors in the logical structure of the program.
static Key< Array< T > > makeKeyArray(int offset, int size)
T Element
the type of subfields (the same as the type itself for scalars)
#define LSST_EXCEPT(type,...)
Create an exception with a given 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.