| 80 | // ---------------------------------------------------------------------------------------- |
| 81 | |
| 82 | inline void serialize ( |
| 83 | const ordered_sample_pair& item, |
| 84 | std::ostream& out |
| 85 | ) |
| 86 | { |
| 87 | try |
| 88 | { |
| 89 | serialize(item.index1(),out); |
| 90 | serialize(item.index2(),out); |
| 91 | serialize(item.distance(),out); |
| 92 | } |
| 93 | catch (serialization_error& e) |
| 94 | { |
| 95 | throw serialization_error(e.info + "\n while serializing object of type ordered_sample_pair"); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | inline void deserialize ( |
| 100 | ordered_sample_pair& item, |
nothing calls this directly
no test coverage detected