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

Reads a dictionary from stream s.

Definition at line 116 of file qint64dict.h.

References FX::QDictBase< FXlong, type >::clear(), FXERRHM, and FX::QInt64Dict< type >::insert().

00117 {
00118     FXuint mysize;
00119     s >> mysize;
00120     i.clear();
00121     FXlong key;
00122     for(FXuint n=0; n<mysize; n++)
00123     {
00124         type *item;
00125         FXERRHM(item=new type);
00126         s >> key;
00127         s >> *item;
00128         i.insert(key, item);
00129     }
00130     return s;
00131 }


(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