Exemple #1
0
void GroupDef::addListReferences()
{
  {
    LockingPtr< QList<ListItemInfo> > xrefItems = xrefListItems();
    addRefItem(xrefItems.pointer(),
             getOutputFileBase(),
             theTranslator->trGroup(TRUE,TRUE),
             getOutputFileBase(),name(),
             0
            );
  }
  MemberGroupSDict::Iterator mgli(*memberGroupSDict);
  MemberGroup *mg;
  for (;(mg=mgli.current());++mgli)
  {
    mg->addListReferences(this);
  }
  QListIterator<MemberList> mli(m_memberLists);
  MemberList *ml;
  for (mli.toFirst();(ml=mli.current());++mli)
  {
    if (ml->listType()&MemberList::documentationLists)
    {
      ml->addListReferences(this);
    }
  }
}
Exemple #2
0
void NamespaceDef::addListReferences()
{
    //bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN");
    {
        QList<ListItemInfo> *xrefItems = xrefListItems();
        addRefItem(xrefItems,
                   qualifiedName(),
                   getLanguage()==SrcLangExt_Fortran ?
                   theTranslator->trModule(TRUE,TRUE) :
                   theTranslator->trNamespace(TRUE,TRUE),
                   getOutputFileBase(),displayName(),
                   0,
                   this
                  );
    }
    MemberGroupSDict::Iterator mgli(*memberGroupSDict);
    MemberGroup *mg;
    for (; (mg=mgli.current()); ++mgli)
    {
        mg->addListReferences(this);
    }
    QListIterator<MemberList> mli(m_memberLists);
    MemberList *ml;
    for (mli.toFirst(); (ml=mli.current()); ++mli)
    {
        if (ml->listType()&MemberListType_documentationLists)
        {
            ml->addListReferences(this);
        }
    }
}