Reads a dictionary from stream s.
Definition at line 235 of file QHostAddress.h.
References FX::QDictBase< keytype, type >::clear(), FXERRHM, and FX::QHostAddressDict< type >::insert().
00236 { 00237 FXuint mysize; 00238 s >> mysize; 00239 i.clear(); 00240 QHostAddress key; 00241 for(FXuint n=0; n<mysize; n++) 00242 { 00243 type *item; 00244 FXERRHM(item=new type); 00245 s >> key; 00246 s >> *item; 00247 i.insert(key, item); 00248 } 00249 return s; 00250 }