Reads a dictionary from stream s.
Definition at line 113 of file qintdict.h.
References FX::QDictBase< keytype, type >::clear(), FXERRHM, and FX::QIntDict< type >::insert().
00114 { 00115 FXuint mysize; 00116 s >> mysize; 00117 i.clear(); 00118 FXlong key; 00119 for(FXuint n=0; n<mysize; n++) 00120 { 00121 type *item; 00122 FXERRHM(item=new type); 00123 s >> key; 00124 s >> *item; 00125 i.insert((FXint) key, item); 00126 } 00127 return s; 00128 }