25 #ifndef __PersistBasic__ 26 #define __PersistBasic__ 28 #include "IPMStream.h" 29 #include "k2VectorStreaming.h" 53 ASSERT (stream && stream->IsReading());
66 ASSERT (stream && stream->IsWriting());
79 ASSERT (stream && stream->IsReading());
92 ASSERT (stream && stream->IsWriting());
105 ASSERT (stream && stream->IsReading());
118 ASSERT (stream && stream->IsWriting());
131 ASSERT (stream && stream->IsReading());
133 stream->XferInt64(temp);
146 ASSERT (stream && stream->IsWriting());
149 stream->XferInt64(iNonConst);
161 ASSERT (stream && stream->IsReading());
174 ASSERT (stream && stream->IsWriting());
187 ASSERT (stream && stream->IsReading());
200 ASSERT (stream && stream->IsWriting());
213 ASSERT (stream && stream->IsReading());
214 stream->XferInt64(i);
226 ASSERT (stream && stream->IsWriting());
229 stream->XferInt64(iNonConst);
241 ASSERT (stream && stream->IsReading());
254 ASSERT (stream && stream->IsWriting());
267 ASSERT (stream && stream->IsReading());
280 ASSERT (stream && stream->IsWriting());
314 template <
typename T>
340 ASSERT (stream && stream->IsReading());
341 u.ReadWriteUTF16(stream);
353 ASSERT (stream && stream->IsWriting());