| 1971 | // ---------------------------------------------------------------------------------------- |
| 1972 | |
| 1973 | inline void serialize ( |
| 1974 | const rgb_alpha_pixel& item, |
| 1975 | std::ostream& out |
| 1976 | ) |
| 1977 | { |
| 1978 | try |
| 1979 | { |
| 1980 | serialize(item.red,out); |
| 1981 | serialize(item.green,out); |
| 1982 | serialize(item.blue,out); |
| 1983 | serialize(item.alpha,out); |
| 1984 | } |
| 1985 | catch (serialization_error& e) |
| 1986 | { |
| 1987 | throw serialization_error(e.info + "\n while serializing object of type rgb_alpha_pixel"); |
| 1988 | } |
| 1989 | } |
| 1990 | |
| 1991 | // ---------------------------------------------------------------------------------------- |
| 1992 |
nothing calls this directly
no test coverage detected