2 #ifndef AFW_TABLE_types_h_INCLUDED 3 #define AFW_TABLE_types_h_INCLUDED 9 #include "boost/mpl/vector.hpp" 10 #include "boost/preprocessor/punctuation/paren.hpp" 13 #include "lsst/base.h" 14 #include "lsst/pex/exceptions.h" 28 #define AFW_TABLE_SCALAR_FIELD_TYPE_N 6 29 #define AFW_TABLE_SCALAR_FIELD_TYPES RecordId, std::uint16_t, std::int32_t, float, double, Angle 30 #define AFW_TABLE_SCALAR_FIELD_TYPE_TUPLE BOOST_PP_LPAREN() AFW_TABLE_SCALAR_FIELD_TYPES BOOST_PP_RPAREN() 33 #define AFW_TABLE_ARRAY_FIELD_TYPE_N 4 34 #define AFW_TABLE_ARRAY_FIELD_TYPES std::uint16_t, int, float, double 35 #define AFW_TABLE_ARRAY_FIELD_TYPE_TUPLE BOOST_PP_LPAREN() AFW_TABLE_ARRAY_FIELD_TYPES BOOST_PP_RPAREN() 38 #define AFW_TABLE_FIELD_TYPE_N 12 39 #define AFW_TABLE_FIELD_TYPES \ 40 AFW_TABLE_SCALAR_FIELD_TYPES, Flag, std::string, Array<std::uint16_t>, Array<int>, Array<float>, \ 43 #define AFW_TABLE_FIELD_TYPE_TUPLE BOOST_PP_LPAREN() AFW_TABLE_FIELD_TYPES BOOST_PP_RPAREN() 53 typedef boost::mpl::vector<AFW_TABLE_FIELD_TYPES>
FieldTypes;
58 #endif // !AFW_TABLE_types_h_INCLUDED
boost::mpl::vector< RecordId, std::uint16_t, std::int32_t, float, double, Angle, Flag, std::string, Array< std::uint16_t >, Array< int >, Array< float >, Array< double > > FieldTypes
An MPL vector of all field types.
A base class for image defects.
boost::mpl::vector< RecordId, std::uint16_t, std::int32_t, float, double, Angle > ScalarFieldTypes
An MPL vector of scalar field types.