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

Reads in a list from stream s.

Definition at line 179 of file qvaluelist.h.

References FX::QValueList< type >::append().

00180 {
00181     FXuint mysize;
00182     s >> mysize;
00183     i.clear();
00184     for(FXuint n=0; n<mysize; n++)
00185     {
00186         type item;
00187         s >> item;
00188         i.append(item);
00189     }
00190     return s;
00191 }


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