1 #ifndef color_rgb_akin_xyz 2 #define color_rgb_akin_xyz 3 4 #include "../../generic/akin/rgb.hpp" 5 #include "../category.hpp" 6 #include "../../xyz/category.hpp" 7 8 namespace color 9 { 10 namespace akin 11 { 12 13 template< >struct rgb< ::color::category::xyz_uint8 >{ typedef ::color::category::rgb_uint8 akin_type; }; 14 template< >struct rgb< ::color::category::xyz_uint16 >{ typedef ::color::category::rgb_uint16 akin_type; }; 15 template< >struct rgb< ::color::category::xyz_uint32 >{ typedef ::color::category::rgb_uint32 akin_type; }; 16 template< >struct rgb< ::color::category::xyz_uint64 >{ typedef ::color::category::rgb_uint64 akin_type; }; 17 template< >struct rgb< ::color::category::xyz_float >{ typedef ::color::category::rgb_float akin_type; }; 18 template< >struct rgb< ::color::category::xyz_double >{ typedef ::color::category::rgb_double akin_type; }; 19 template< >struct rgb< ::color::category::xyz_ldouble >{ typedef ::color::category::rgb_ldouble akin_type; }; 20 21 } 22 } 23 24 #endif 25