template<class type, class allocator>
FXStream& FX::operator>> ( FXStream &  s,
QPtrList< type, allocator > &  i 
)

Reads in a list from stream s.

Definition at line 526 of file qptrlist.h.

References FXERRHM.

00526 {
00527     FXuint mysize;
00528     s >> mysize;
00529     i.clear();
00530     for(uint n=0; n<mysize; n++)
00531     {
00532         type *item;
00533         FXERRHM(item=new type);
00534         s >> *item;
00535         i.append(item);
00536     }
00537     return s;
00538 }
00539 


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:28 2009 for TnFOX by doxygen v1.4.7