14 #define HEADER ('D'<<24)+('O'<<16)+('X'<<8)+'!'
20 b[1]=(((uint)v)>>16)&0xff;
21 b[2]=(((uint)v)>>8)&0xff;
23 s->
write((
const char *)b,4);
33 s->
write((
const char *)b,4);
45 s->
write(&c,
sizeof(
char));
52 if (l>0) s->
write(str.data(),l);
59 if (l>0) s->
write(str.data(),l);
76 QListIterator<ArgumentList> ali(*argLists);
78 for (ali.toFirst();(al=ali.current());++ali)
94 QListIterator<BaseInfo> bli(*baseList);
96 for (bli.toFirst();(bi=bli.current());++bli)
114 QListIterator<Grouping> gli(*groups);
116 for (gli.toFirst();(g=gli.current());++gli)
133 QListIterator<SectionInfo> sli(*anchors);
135 for (sli.toFirst();(si=sli.current());++sli)
157 QListIterator<ListItemInfo> liii(*sli);
159 for (liii.toFirst();(lii=liii.current());++liii)
169 char *b = (
char *)&obj;
170 s->
write(b,
sizeof(
void *));
184 for (sli.toFirst();(si=sli.current());++sli)
205 for (mdi.toFirst();(md=mdi.current());++mdi)
212 assert(count==memberSDict->
count());
271 QListIterator<GroupDef> gli(*groupList);
273 for (gli.toFirst();(gd=gli.current());++gli)
292 for (mli.toFirst();(md=mli.current());++mli)
297 assert(count==ml->
count());
315 for (edi.toFirst();(e=edi.current());++edi)
338 for (mli.toFirst();(ml=mli.current());++mli)
408 QListIterator<Entry> eli(*e->
children());
410 for (eli.toFirst();(child=eli.current());++eli)
421 s->
read((
char *)b,4);
422 int result=(int)((((uint)b[0])<<24)+((uint)b[1]<<16)+((uint)b[2]<<8)+(uint)b[3]);
430 s->
read((
char *)b,4);
431 uint result=(((uint)b[0])<<24)+((uint)b[1]<<16)+((uint)b[2]<<8)+(uint)b[3];
446 s->
read(&result,
sizeof(result));
455 QCString result(len+1);
459 s->
read(result.rawData(),len);
469 QGString result(len+1);
473 s->
read(result.data(),len);
489 QList<ArgumentList> *result =
new QList<ArgumentList>;
490 result->setAutoDelete(TRUE);
491 assert(count<1000000);
493 for (i=0;i<count;i++)
505 QList<BaseInfo> *result =
new QList<BaseInfo>;
506 result->setAutoDelete(TRUE);
507 assert(count<1000000);
508 for (i=0;i<count;i++)
513 result->append(
new BaseInfo(name,prot,virt));
523 QList<Grouping> *result =
new QList<Grouping>;
524 result->setAutoDelete(TRUE);
525 assert(count<1000000);
526 for (i=0;i<count;i++)
530 result->append(
new Grouping(name,prio));
540 QList<SectionInfo> *result =
new QList<SectionInfo>;
541 result->setAutoDelete(TRUE);
542 assert(count<1000000);
543 for (i=0;i<count;i++)
552 result->append(
new SectionInfo(fileName,lineNr,label,title,type,level,ref));
562 QList<ListItemInfo> *result =
new QList<ListItemInfo>;
563 result->setAutoDelete(TRUE);
564 assert(count<1000000);
565 for (i=0;i<count;i++)
578 s->
read((
char *)&result,
sizeof(
void*));
589 assert(count<1000000);
590 for (i=0;i<count;i++)
611 assert(count<1000000);
613 for (i=0;i<count;i++)
666 assert(count<1000000);
668 for (i=0;i<count;i++)
682 assert(count<1000000);
683 for (i=0;i<count;i++)
698 assert(count<1000000);
699 for (i=0;i<count;i++)
717 assert(count<1000000);
718 for (i=0;i<count;i++)
796 for (i=0;i<count;i++)