| 151 | typename mem_manager |
| 152 | > |
| 153 | void deserialize ( |
| 154 | hash_map_kernel_1<domain,range,expnum,hash_table,mem_manager>& item, |
| 155 | std::istream& in |
| 156 | ) |
| 157 | { |
| 158 | try |
| 159 | { |
| 160 | item.clear(); |
| 161 | unsigned long size; |
| 162 | deserialize(size,in); |
| 163 | domain d; |
| 164 | range r; |
| 165 | for (unsigned long i = 0; i < size; ++i) |
| 166 | { |
| 167 | deserialize(d,in); |
| 168 | deserialize(r,in); |
| 169 | item.add(d,r); |
| 170 | } |
| 171 | } |
| 172 | catch (serialization_error& e) |
| 173 | { |
| 174 | item.clear(); |
| 175 | throw serialization_error(e.info + "\n while deserializing object of type hash_map_kernel_1"); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | // ---------------------------------------------------------------------------------------- |
| 180 | // ---------------------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected