Reads a dictionary from stream s.
Definition at line 122 of file qptrdict.h.
References FX::QDictBase< keytype, type >::clear(), FXERRHM, and FX::QPtrDict< type >::insert().
00123 { 00124 FXuint mysize; 00125 s >> mysize; 00126 i.clear(); 00127 FXulong key; 00128 for(FXuint n=0; n<mysize; n++) 00129 { 00130 type *item; 00131 FXERRHM(item=new type); 00132 s >> key; 00133 s >> *item; 00134 i.insert((void *)(FXuval) key, item); 00135 } 00136 return s; 00137 }