37 const char *name,
const char *lref,
38 const char *fName,
const char*type,
41 ,m_isPublished(isPublished)
69 if (type && !strcmp(
"module", type))
73 else if (type && !strcmp(
"constants", type))
77 else if (type && !strcmp(
"library", type))
114 for (;(mg=mgli.current());++mgli)
125 for (;(mg=mgli.current());++mgli)
131 for (mli.toFirst();(ml=mli.current());++mli)
143 if (
files.find(fd)==-1)
192 for (mli.toFirst();(ml=mli.current());++mli)
205 for (;(mg=mgli.current());++mgli)
220 if (allMemberList==0)
225 allMemberList->
append(md);
259 err(
"NamespaceDef::insertMembers(): "
260 "member `%s' with class scope `%s' inserted in namespace scope `%s'!\n",
282 tagFile <<
" <compound kind=\"namespace\">" <<
endl;
285 QCString idStr =
id();
286 if (!idStr.isEmpty())
290 QListIterator<LayoutDocEntry> eli(
293 for (eli.toFirst();(lde=eli.current());++eli)
303 for (ni.toFirst();(nd=ni.current());++ni)
307 tagFile <<
" <namespace>" <<
convertToXML(nd->
name()) <<
"</namespace>" << endl;
319 for (ci.toFirst();(cd=ci.current());++ci)
345 for (;(mg=mgli.current());++mgli)
357 tagFile <<
" </compound>" <<
endl;
408 if (rootNode && !rootNode->
isEmpty())
477 bool const isConstantGroup)
490 for (;(mg=mgli.current());++mgli)
493 && mg->
header()!=
"[NOHEADER]")
517 QListIterator<LayoutDocEntry> eli(
522 for (eli.toFirst();(lde=eli.current());++eli)
571 QCString pageTitle =
title();
574 if (!generateTreeView)
601 QListIterator<LayoutDocEntry> eli(
604 for (eli.toFirst();(lde=eli.current());++eli)
694 err(
"Internal inconsistency: member %d should not be part of "
695 "LayoutDocManager::Namespace entry list\n",lde->
kind());
709 if (allMemberList) allMemberList->
sort();
721 for (mli.toFirst();(ml=mli.current());++mli)
743 for (mli.toFirst();(md=mli.current());++mli)
852 for (;(mg=mgli.current());++mgli)
858 for (mli.toFirst();(ml=mli.current());++mli)
882 QCString result=
name();
883 int i=result.findRev(
"::");
886 result=result.mid(i+2);
899 for (nli.toFirst();(nd=nli.current());++nli)
903 for (nli.toFirst();(nd=nli.current());++nli)
910 for (unli.toFirst();(und=unli.current());++unli)
921 for (cli.toFirst();(ucd=cli.current());++cli)
935 for (ni.toFirst();(nd=ni.current());++ni)
946 bool const isConstantGroup,
bool localName)
950 if (
count()==0)
return;
958 for (ni.toFirst();(nd=ni.current()) && !found;++ni)
971 else if (!isConstantGroup)
975 err(
"Internal inconsistency: constant group but not IDL?\n");
991 for (ni.toFirst();(nd=ni.current());++ni)
1032 for (mli.toFirst();(ml=mli.current());++mli)
1069 for (mli.toFirst();(ml=mli.current());++mli)
1089 for (mli.toFirst();(ml=mli.current());++mli)
1114 int i =
name().findRev(
"::");
1115 if (i==-1) i=0;
else i+=2;
1116 static bool extractAnonNs =
Config_getBool(EXTRACT_ANON_NSPACES);
1117 if (extractAnonNs &&
1118 name().mid(i,20)==
"anonymous_namespace{"
1123 return !
name().isEmpty() &&
name().at(i)!=
'@' &&