void marshalBodyInfo(StorageIntf *s,BodyInfo *bodyInfo) { if (bodyInfo==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,1); marshalInt(s,bodyInfo->startLine); marshalInt(s,bodyInfo->endLine); marshalObjPointer(s,bodyInfo->fileDef); } }
void MemberGroup::marshal(StorageIntf *s) { marshalMemberList(s,memberList); marshalObjPointer(s,inDeclSection); // reference only marshalInt(s,grpId); marshalQCString(s,grpHeader); marshalQCString(s,fileName); marshalObjPointer(s,scope); marshalQCString(s,doc); marshalBool(s,inSameSection); marshalInt(s,m_numDecMembers); marshalInt(s,m_numDocMembers); marshalObjPointer(s,m_parent); marshalQCString(s,m_docFile); marshalItemInfoList (Doxygen::symbolStorage,m_xrefListItems); }
void Definition::flushToDisk() const { //printf("%p: Definition::flushToDisk()\n",this); Definition *that = (Definition *)this; //printf("Definition::flushToDisk(): pos=%d\n",(int)m_storagePos); marshalUInt(Doxygen::symbolStorage,START_MARKER); marshalSectionDict (Doxygen::symbolStorage,m_impl->sectionDict); marshalMemberSDict (Doxygen::symbolStorage,m_impl->sourceRefByDict); marshalMemberSDict (Doxygen::symbolStorage,m_impl->sourceRefsDict); marshalItemInfoList (Doxygen::symbolStorage,m_impl->xrefListItems); marshalGroupList (Doxygen::symbolStorage,m_impl->partOfGroups); marshalDocInfo (Doxygen::symbolStorage,m_impl->details); marshalDocInfo (Doxygen::symbolStorage,m_impl->inbodyDocs); marshalBriefInfo (Doxygen::symbolStorage,m_impl->brief); marshalBodyInfo (Doxygen::symbolStorage,m_impl->body); marshalQCString (Doxygen::symbolStorage,m_impl->docSignatures); marshalQCString (Doxygen::symbolStorage,m_impl->localName); marshalQCString (Doxygen::symbolStorage,m_impl->qualifiedName); marshalQCString (Doxygen::symbolStorage,m_impl->ref); marshalBool (Doxygen::symbolStorage,m_impl->hidden); marshalBool (Doxygen::symbolStorage,m_impl->isArtificial); marshalObjPointer (Doxygen::symbolStorage,m_impl->outerScope); marshalQCString (Doxygen::symbolStorage,m_impl->defFileName); marshalInt (Doxygen::symbolStorage,m_impl->defLine); marshalQCString (Doxygen::symbolStorage,m_impl->defFileExt); marshalUInt(Doxygen::symbolStorage,END_MARKER); delete that->m_impl; that->m_impl = 0; }
void marshalBaseInfoList(StorageIntf *s, QList<BaseInfo> *baseList) { if (baseList==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,baseList->count()); QListIterator<BaseInfo> bli(*baseList); BaseInfo *bi; for (bli.toFirst();(bi=bli.current());++bli) { marshalQCString(s,bi->name); marshalInt(s,(int)bi->prot); marshalInt(s,(int)bi->virt); } } }
void marshalSectionInfoList(StorageIntf *s, QList<SectionInfo> *anchors) { if (anchors==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,anchors->count()); QListIterator<SectionInfo> sli(*anchors); SectionInfo *si; for (sli.toFirst();(si=sli.current());++sli) { marshalQCString(s,si->label); marshalQCString(s,si->title); marshalQCString(s,si->ref); marshalInt(s,(int)si->type); marshalQCString(s,si->fileName); marshalInt(s,si->level); } } }
void marshalDocInfo(StorageIntf *s,DocInfo *docInfo) { if (docInfo==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,1); marshalQCString(s,docInfo->doc); marshalInt(s,docInfo->line); marshalQCString(s,docInfo->file); } }
void marshalBriefInfo(StorageIntf *s,BriefInfo *briefInfo) { if (briefInfo==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,1); marshalQCString(s,briefInfo->doc); marshalQCString(s,briefInfo->tooltip); marshalInt(s,briefInfo->line); marshalQCString(s,briefInfo->file); } }
void marshalItemInfoList(StorageIntf *s, QList<ListItemInfo> *sli) { if (sli==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,sli->count()); QListIterator<ListItemInfo> liii(*sli); ListItemInfo *lii; for (liii.toFirst();(lii=liii.current());++liii) { marshalQCString(s,lii->type); marshalInt(s,lii->itemId); } } }
void marshalGroupingList(StorageIntf *s, QList<Grouping> *groups) { if (groups==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,groups->count()); QListIterator<Grouping> gli(*groups); Grouping *g; for (gli.toFirst();(g=gli.current());++gli) { marshalQCString(s,g->groupname); marshalInt(s,(int)g->pri); } } }
void MemberList::marshal(StorageIntf *s) { marshalInt(s,(int)m_listType); marshalInt(s,m_varCnt); marshalInt(s,m_funcCnt); marshalInt(s,m_enumCnt); marshalInt(s,m_enumValCnt); marshalInt(s,m_typeCnt); marshalInt(s,m_protoCnt); marshalInt(s,m_defCnt); marshalInt(s,m_friendCnt); marshalInt(s,m_numDecMembers); marshalInt(s,m_numDocMembers); marshalBool(s,m_inGroup); marshalBool(s,m_inFile); marshalBool(s,m_needsSorting); if (memberGroupList==0) { marshalUInt(s,NULL_LIST); // null pointer representation } else { marshalUInt(s,memberGroupList->count()); QListIterator<MemberGroup> mgi(*memberGroupList); MemberGroup *mg=0; for (mgi.toFirst();(mg=mgi.current());++mgi) { mg->marshal(s); } } }
void marshalEntry(StorageIntf *s,Entry *e) { marshalUInt(s,HEADER); marshalQCString(s,e->name); marshalQCString(s,e->type); marshalInt(s,e->section); marshalInt(s,(int)e->protection); marshalInt(s,(int)e->mtype); marshalInt(s,e->spec); marshalInt(s,e->propSpec); marshalInt(s,e->initLines); marshalBool(s,e->stat); marshalBool(s,e->explicitExternal); marshalBool(s,e->proto); marshalBool(s,e->subGrouping); marshalBool(s,e->callGraph); marshalBool(s,e->callerGraph); marshalInt(s,(int)e->virt); marshalQCString(s,e->args); marshalQCString(s,e->bitfields); marshalArgumentList(s,e->argList); marshalArgumentLists(s,e->tArgLists); marshalQGString(s,e->program); marshalQGString(s,e->initializer); marshalQCString(s,e->includeFile); marshalQCString(s,e->includeName); marshalQCString(s,e->doc); marshalInt(s,e->docLine); marshalQCString(s,e->docFile); marshalQCString(s,e->brief); marshalInt(s,e->briefLine); marshalQCString(s,e->briefFile); marshalQCString(s,e->inbodyDocs); marshalInt(s,e->inbodyLine); marshalQCString(s,e->inbodyFile); marshalQCString(s,e->relates); marshalInt(s,e->relatesType); marshalQCString(s,e->read); marshalQCString(s,e->write); marshalQCString(s,e->inside); marshalQCString(s,e->exception); marshalArgumentList(s,e->typeConstr); marshalInt(s,e->bodyLine); marshalInt(s,e->endBodyLine); marshalInt(s,e->mGrpId); marshalBaseInfoList(s,e->extends); marshalGroupingList(s,e->groups); marshalSectionInfoList(s,e->anchors); marshalQCString(s,e->fileName); marshalInt(s,e->startLine); marshalItemInfoList(s,e->sli); marshalInt(s,(int)e->lang); marshalBool(s,e->hidden); marshalBool(s,e->artificial); marshalInt(s,(int)e->groupDocType); }