Reads in a list from stream s.
Definition at line 312 of file qsortedlist.h.
References FX::QPtrList< type, allocator >::append(), FX::QPtrList< type, allocator >::clear(), and FXERRHM.
00313 { 00314 QPtrList<type, allocator> &ii=(QPtrList<type, allocator> &) i; 00315 FXuint mysize; 00316 s >> mysize; 00317 i.clear(); 00318 for(FXuint n=0; n<mysize; n++) 00319 { 00320 type *item; 00321 FXERRHM(item=new type); 00322 s >> *item; 00323 ii.append(item); 00324 } 00325 return s; 00326 }