void Definition::loadFromDisk() const { //printf("%p: Definition::loadFromDisk()\n",this); Definition *that = (Definition *)this; assert(m_impl==0); that->m_impl = new DefinitionImpl; uint marker = unmarshalUInt(Doxygen::symbolStorage); assert(marker==START_MARKER); m_impl->sectionDict = unmarshalSectionDict (Doxygen::symbolStorage); m_impl->sourceRefByDict = unmarshalMemberSDict (Doxygen::symbolStorage); m_impl->sourceRefsDict = unmarshalMemberSDict (Doxygen::symbolStorage); m_impl->xrefListItems = unmarshalItemInfoList (Doxygen::symbolStorage); m_impl->partOfGroups = unmarshalGroupList (Doxygen::symbolStorage); m_impl->details = unmarshalDocInfo (Doxygen::symbolStorage); m_impl->inbodyDocs = unmarshalDocInfo (Doxygen::symbolStorage); m_impl->brief = unmarshalBriefInfo (Doxygen::symbolStorage); m_impl->body = unmarshalBodyInfo (Doxygen::symbolStorage); m_impl->docSignatures = unmarshalQCString (Doxygen::symbolStorage); m_impl->localName = unmarshalQCString (Doxygen::symbolStorage); m_impl->qualifiedName = unmarshalQCString (Doxygen::symbolStorage); m_impl->ref = unmarshalQCString (Doxygen::symbolStorage); m_impl->hidden = unmarshalBool (Doxygen::symbolStorage); m_impl->isArtificial = unmarshalBool (Doxygen::symbolStorage); m_impl->outerScope = (Definition *)unmarshalObjPointer (Doxygen::symbolStorage); m_impl->defFileName = unmarshalQCString (Doxygen::symbolStorage); m_impl->defLine = unmarshalInt (Doxygen::symbolStorage); m_impl->defFileExt = unmarshalQCString (Doxygen::symbolStorage); marker = unmarshalUInt(Doxygen::symbolStorage); assert(marker==END_MARKER); }
void MemberGroup::unmarshal(StorageIntf *s) { memberList = unmarshalMemberList(s); inDeclSection = (MemberList *)unmarshalObjPointer(s); grpId = unmarshalInt(s); grpHeader = unmarshalQCString(s); fileName = unmarshalQCString(s); scope = (Definition *)unmarshalObjPointer(s); doc = unmarshalQCString(s); inSameSection = unmarshalBool(s); m_numDecMembers = unmarshalInt(s); m_numDocMembers = unmarshalInt(s); m_parent = (Definition *)unmarshalObjPointer(s); m_docFile = unmarshalQCString(s); m_xrefListItems = unmarshalItemInfoList (Doxygen::symbolStorage); }
Entry * unmarshalEntry(StorageIntf *s) { Entry *e = new Entry; uint header=unmarshalUInt(s); ASSERT(header==HEADER); e->name = unmarshalQCString(s); e->type = unmarshalQCString(s); e->section = unmarshalInt(s); e->protection = (Protection)unmarshalInt(s); e->mtype = (MethodTypes)unmarshalInt(s); e->spec = unmarshalInt(s); e->propSpec = unmarshalInt(s); e->initLines = unmarshalInt(s); e->stat = unmarshalBool(s); e->explicitExternal = unmarshalBool(s); e->proto = unmarshalBool(s); e->subGrouping = unmarshalBool(s); e->callGraph = unmarshalBool(s); e->callerGraph = unmarshalBool(s); e->virt = (Specifier)unmarshalInt(s); e->args = unmarshalQCString(s); e->bitfields = unmarshalQCString(s); delete e->argList; e->argList = unmarshalArgumentList(s); e->tArgLists = unmarshalArgumentLists(s); e->program = unmarshalQGString(s); e->initializer = unmarshalQGString(s); e->includeFile = unmarshalQCString(s); e->includeName = unmarshalQCString(s); e->doc = unmarshalQCString(s); e->docLine = unmarshalInt(s); e->docFile = unmarshalQCString(s); e->brief = unmarshalQCString(s); e->briefLine = unmarshalInt(s); e->briefFile = unmarshalQCString(s); e->inbodyDocs = unmarshalQCString(s); e->inbodyLine = unmarshalInt(s); e->inbodyFile = unmarshalQCString(s); e->relates = unmarshalQCString(s); e->relatesType = (RelatesType)unmarshalInt(s); e->read = unmarshalQCString(s); e->write = unmarshalQCString(s); e->inside = unmarshalQCString(s); e->exception = unmarshalQCString(s); e->typeConstr = unmarshalArgumentList(s); e->bodyLine = unmarshalInt(s); e->endBodyLine = unmarshalInt(s); e->mGrpId = unmarshalInt(s); delete e->extends; e->extends = unmarshalBaseInfoList(s); delete e->groups; e->groups = unmarshalGroupingList(s); delete e->anchors; e->anchors = unmarshalSectionInfoList(s); e->fileName = unmarshalQCString(s); e->startLine = unmarshalInt(s); e->sli = unmarshalItemInfoList(s); e->lang = (SrcLangExt)unmarshalInt(s); e->hidden = unmarshalBool(s); e->artificial = unmarshalBool(s); e->groupDocType = (Entry::GroupDocType)unmarshalInt(s); return e; }