My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
GroupDef Class Reference

#include <groupdef.h>

Inheritance diagram for GroupDef:
Definition DefinitionIntf

Public Member Functions

 GroupDef (const char *fileName, int line, const char *name, const char *title, const char *refFileName=0)
 
 ~GroupDef ()
 
DefType definitionType () const
 
QCString getOutputFileBase () const
 
QCString anchor () const
 
QCString displayName (bool=TRUE) const
 
const char * groupTitle () const
 
void setGroupTitle (const char *newtitle)
 
bool hasGroupTitle () const
 
void addFile (const FileDef *def)
 
bool addClass (const ClassDef *def)
 
bool addNamespace (const NamespaceDef *def)
 
void addGroup (const GroupDef *def)
 
void addParentGroup (const GroupDef *def)
 
void addPage (PageDef *def)
 
void addExample (const PageDef *def)
 
void addDir (const DirDef *dd)
 
bool insertMember (MemberDef *def, bool docOnly=FALSE)
 
void removeMember (MemberDef *md)
 
bool findGroup (const GroupDef *def) const
 
void writeDocumentation (OutputList &ol)
 
void writeMemberPages (OutputList &ol)
 
void writeQuickMemberLinks (OutputList &ol, MemberDef *currentMd) const
 
void writeTagFile (FTextStream &)
 
int countMembers () const
 
bool isLinkableInProject () const
 
bool isLinkable () const
 
bool isASubGroup () const
 
void computeAnchors ()
 
void addMembersToMemberGroup ()
 
void distributeMemberGroupDocumentation ()
 
void findSectionsInDocumentation ()
 
void addListReferences ()
 
void sortMemberLists ()
 
bool subGrouping () const
 
void setGroupScope (Definition *d)
 
DefinitiongetGroupScope () const
 
MemberListgetMemberList (MemberListType lt) const
 
const QList< MemberList > & getMemberLists () const
 
MemberGroupSDictgetMemberGroupSDict () const
 
FileListgetFiles () const
 
ClassSDictgetClasses () const
 
NamespaceSDictgetNamespaces () const
 
GroupListgetSubGroups () const
 
PageSDictgetPages () const
 
DirListgetDirs () const
 
PageSDictgetExamples () const
 
bool hasDetailedDescription () const
 
void sortSubGroups ()
 
- Public Member Functions inherited from Definition
 Definition (const char *defFileName, int defLine, int defColumn, const char *name, const char *b=0, const char *d=0, bool isSymbol=TRUE)
 
virtual ~Definition ()
 
const QCString & name () const
 
QCString localName () const
 
virtual QCString qualifiedName () const
 
QCString symbolName () const
 
virtual QCString getSourceFileBase () const
 
virtual QCString getSourceAnchor () const
 
virtual QCString documentation () const
 
int docLine () const
 
QCString docFile () const
 
virtual QCString briefDescription (bool abbreviate=FALSE) const
 
QCString briefDescriptionAsTooltip () const
 
int briefLine () const
 
QCString inbodyDocumentation () const
 
QCString inbodyFile () const
 
int inbodyLine () const
 
QCString briefFile () const
 
QCString getDefFileName () const
 
QCString getDefFileExtension () const
 
int getDefLine () const
 
int getDefColumn () const
 
virtual bool hasDocumentation () const
 
virtual bool hasUserDocumentation () const
 
virtual bool isVisibleInProject () const
 
virtual bool isVisible () const
 
bool isHidden () const
 
bool isArtificial () const
 
virtual QCString getReference () const
 
virtual bool isReference () const
 
QCString externalReference (const QCString &relPath) const
 
int getStartBodyLine () const
 
int getEndBodyLine () const
 
FileDefgetBodyDef () const
 
SrcLangExt getLanguage () const
 
GroupListpartOfGroups () const
 
bool isLinkableViaGroup () const
 
QList< ListItemInfo > * xrefListItems () const
 
virtual DefinitionfindInnerCompound (const char *name)
 
virtual DefinitiongetOuterScope () const
 
MemberSDictgetReferencesMembers () const
 
MemberSDictgetReferencedByMembers () const
 
bool hasSections () const
 
bool hasSources () const
 
bool hasBriefDescription () const
 
QCString id () const
 
virtual void setName (const char *name)
 
void setId (const char *name)
 
virtual void setDocumentation (const char *d, const char *docFile, int docLine, bool stripWhiteSpace=TRUE)
 
virtual void setBriefDescription (const char *b, const char *briefFile, int briefLine)
 
virtual void setInbodyDocumentation (const char *d, const char *docFile, int docLine)
 
void setReference (const char *r)
 
void addSectionsToDefinition (QList< SectionInfo > *anchorList)
 
void setBodySegment (int bls, int ble)
 
void setBodyDef (FileDef *fd)
 
void addSourceReferencedBy (MemberDef *d)
 
void addSourceReferences (MemberDef *d)
 
void setRefItems (const QList< ListItemInfo > *sli)
 
void mergeRefItems (Definition *d)
 
virtual void addInnerCompound (Definition *d)
 
virtual void setOuterScope (Definition *d)
 
virtual void setHidden (bool b)
 
void setArtificial (bool b)
 
void setLanguage (SrcLangExt lang)
 
void writeSourceDef (OutputList &ol, const char *scopeName)
 
void writeInlineCode (OutputList &ol, const char *scopeName)
 
void writeSourceRefs (OutputList &ol, const char *scopeName)
 
void writeSourceReffedBy (OutputList &ol, const char *scopeName)
 
void makePartOfGroup (GroupDef *gd)
 
void writeNavigationPath (OutputList &ol) const
 
QCString navigationPathAsString () const
 
QCString pathFragment () const
 
void writeDocAnchorsToTagFile (FTextStream &)
 
void setLocalName (const QCString name)
 
void addSectionsToIndex ()
 
void writeToc (OutputList &ol)
 
void setCookie (Cookie *cookie)
 
Cookiecookie () const
 
- Public Member Functions inherited from DefinitionIntf
 DefinitionIntf ()
 
virtual ~DefinitionIntf ()
 

Public Attributes

bool visited
 

Protected Member Functions

void addMemberListToGroup (MemberList *, bool(MemberDef::*)() const)
 
- Protected Member Functions inherited from Definition
 Definition (const Definition &d)
 

Private Member Functions

MemberListcreateMemberList (MemberListType lt)
 
void addMemberToList (MemberListType lt, MemberDef *md)
 
void writeMemberDeclarations (OutputList &ol, MemberListType lt, const QCString &title)
 
void writeMemberDocumentation (OutputList &ol, MemberListType lt, const QCString &title)
 
void removeMemberFromList (MemberListType lt, MemberDef *md)
 
void writeGroupGraph (OutputList &ol)
 
void writeFiles (OutputList &ol, const QCString &title)
 
void writeNamespaces (OutputList &ol, const QCString &title)
 
void writeNestedGroups (OutputList &ol, const QCString &title)
 
void writeDirs (OutputList &ol, const QCString &title)
 
void writeClasses (OutputList &ol, const QCString &title)
 
void writeInlineClasses (OutputList &ol)
 
void writePageDocumentation (OutputList &ol)
 
void writeDetailedDescription (OutputList &ol, const QCString &title)
 
void writeBriefDescription (OutputList &ol)
 
void writeMemberGroups (OutputList &ol)
 
void startMemberDeclarations (OutputList &ol)
 
void endMemberDeclarations (OutputList &ol)
 
void startMemberDocumentation (OutputList &ol)
 
void endMemberDocumentation (OutputList &ol)
 
void writeAuthorSection (OutputList &ol)
 
void writeSummaryLinks (OutputList &ol)
 
void updateLanguage (const Definition *)
 

Private Attributes

QCString title
 
bool titleSet
 
QCString fileName
 
FileListfileList
 
ClassSDictclassSDict
 
NamespaceSDictnamespaceSDict
 
GroupListgroupList
 
PageSDictpageDict
 
PageSDictexampleDict
 
DirListdirList
 
MemberListallMemberList
 
MemberNameInfoSDictallMemberNameInfoSDict
 
DefinitiongroupScope
 
QList< MemberListm_memberLists
 
MemberGroupSDictmemberGroupSDict
 
bool m_subGrouping
 

Additional Inherited Members

- Public Types inherited from DefinitionIntf
enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeSymbolList = 8
}
 

Detailed Description

A model of a group of symbols.

Definition at line 45 of file groupdef.h.

Constructor & Destructor Documentation

GroupDef::GroupDef ( const char *  fileName,
int  line,
const char *  name,
const char *  title,
const char *  refFileName = 0 
)
GroupDef::~GroupDef ( )

Member Function Documentation

bool GroupDef::addClass ( const ClassDef def)

Definition at line 149 of file groupdef.cpp.

References SDict< T >::append(), SDict< T >::at(), classSDict, Config_getBool, SDict< T >::count(), SDict< T >::find(), SDict< T >::findAt(), SDict< T >::insertAt(), SDict< T >::inSort(), Definition::isHidden(), Definition::name(), Definition::qualifiedName(), and updateLanguage().

Referenced by addClassToGroups(), createTagLessInstance(), distributeClassGroupRelations(), and ClassDef::setGroupDefForAllMembers().

{
static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
if (cd->isHidden()) return FALSE;
QCString qn = cd->name();
if (classSDict->find(qn)==0)
{
//printf("--- addClass %s sort=%d\n",qn.data(),sortBriefDocs);
if (sortBriefDocs)
{
classSDict->inSort(qn,cd);
}
else
{
int i=qn.findRev("::");
if (i==-1) i=qn.find('.');
bool found=FALSE;
//printf("i=%d\n",i);
if (i!=-1)
{
// add nested classes (e.g. A::B, A::C) after their parent (A) in
// order of insertion
QCString scope = qn.left(i);
int j=classSDict->findAt(scope);
if (j!=-1)
{
while (j<(int)classSDict->count() &&
classSDict->at(j)->qualifiedName().left(i)==scope)
{
//printf("skipping over %s\n",classSDict->at(j)->qualifiedName().data());
j++;
}
//printf("Found scope at index %d\n",j);
classSDict->insertAt(j,qn,cd);
found=TRUE;
}
}
if (!found) // no insertion point found -> just append
{
classSDict->append(qn,cd);
}
}
return TRUE;
}
return FALSE;
}
void GroupDef::addDir ( const DirDef dd)

Definition at line 213 of file groupdef.cpp.

References Config_getBool, dirList, and Definition::isHidden().

Referenced by addDirToGroups().

{
if (def->isHidden()) return;
if (Config_getBool(SORT_BRIEF_DOCS))
dirList->inSort(def);
else
dirList->append(def);
}
void GroupDef::addExample ( const PageDef def)

Definition at line 230 of file groupdef.cpp.

References SDict< T >::append(), exampleDict, Definition::isHidden(), and Definition::name().

Referenced by addExampleToGroups().

{
if (def->isHidden()) return;
exampleDict->append(def->name(),def);
}
void GroupDef::addFile ( const FileDef def)

Definition at line 138 of file groupdef.cpp.

References Config_getBool, fileList, Definition::isHidden(), and updateLanguage().

Referenced by buildFileList().

{
static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
if (def->isHidden()) return;
if (sortBriefDocs)
fileList->inSort(def);
else
fileList->append(def);
}
void GroupDef::addGroup ( const GroupDef def)

Definition at line 532 of file groupdef.cpp.

References groupList.

Referenced by addDirsAsGroups(), and addGroupToGroups().

{
//printf("adding group `%s' to group `%s'\n",def->name().data(),name().data());
//if (Config_getBool(SORT_MEMBER_DOCS))
// groupList->inSort(def);
//else
groupList->append(def);
}
void GroupDef::addListReferences ( )
void GroupDef::addMemberListToGroup ( MemberList ,
bool(MemberDef::*)()  const 
)
protected
void GroupDef::addMembersToMemberGroup ( )

Definition at line 237 of file groupdef.cpp.

References SIntDict< MemberGroup >::Iterator, MemberList::listType(), m_memberLists, memberGroupSDict, MemberListType_declarationLists, and MemberGroup::setInGroup().

Referenced by addMembersToMemberGroup().

{
QListIterator<MemberList> mli(m_memberLists);
for (mli.toFirst();(ml=mli.current());++mli)
{
{
}
}
//printf("GroupDef::addMembersToMemberGroup() memberGroupList=%d\n",memberGroupList->count());
for (;(mg=mgli.current());++mgli)
{
mg->setInGroup(TRUE);
}
}
void GroupDef::addMemberToList ( MemberListType  lt,
MemberDef md 
)
private

Definition at line 1565 of file groupdef.cpp.

References MemberList::append(), Config_getBool, createMemberList(), MemberList::listType(), MemberListType_declarationLists, MemberListType_documentationLists, and MemberList::setNeedsSorting().

Referenced by insertMember().

{
static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
static bool sortMemberDocs = Config_getBool(SORT_MEMBER_DOCS);
((ml->listType()&MemberListType_declarationLists) && sortBriefDocs) ||
((ml->listType()&MemberListType_documentationLists) && sortMemberDocs));
ml->append(md);
}
bool GroupDef::addNamespace ( const NamespaceDef def)

Definition at line 197 of file groupdef.cpp.

References SDict< T >::append(), Config_getBool, SDict< T >::find(), SDict< T >::inSort(), Definition::isHidden(), Definition::name(), namespaceSDict, and updateLanguage().

Referenced by addNamespaceToGroups(), and findUsingDirectives().

{
static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
if (def->isHidden()) return FALSE;
if (namespaceSDict->find(def->name())==0)
{
if (sortBriefDocs)
namespaceSDict->inSort(def->name(),def);
else
namespaceSDict->append(def->name(),def);
return TRUE;
}
return FALSE;
}
void GroupDef::addPage ( PageDef def)

Definition at line 222 of file groupdef.cpp.

References SDict< T >::append(), Definition::isHidden(), Definition::makePartOfGroup(), Definition::name(), and pageDict.

Referenced by addRelatedPage().

{
if (def->isHidden()) return;
//printf("Making page %s part of a group\n",def->name.data());
pageDict->append(def->name(),def);
def->makePartOfGroup(this);
}
void GroupDef::addParentGroup ( const GroupDef def)
QCString GroupDef::anchor ( ) const
inlinevirtual

Returns the anchor within a page where this item can be found

Implements Definition.

Definition at line 52 of file groupdef.h.

Referenced by writeDocumentation().

{ return QCString(); }
void GroupDef::computeAnchors ( )

Compute the HTML anchor names for all members in the group

Definition at line 559 of file groupdef.cpp.

References allMemberList, and setAnchors().

Referenced by computeMemberReferences().

{
//printf("GroupDef::computeAnchors()\n");
}
int GroupDef::countMembers ( ) const
MemberList * GroupDef::createMemberList ( MemberListType  lt)
private

Definition at line 1546 of file groupdef.cpp.

References MemberList::listType(), m_memberLists, and MemberList::setInGroup().

Referenced by addMemberToList().

{
m_memberLists.setAutoDelete(TRUE);
QListIterator<MemberList> mli(m_memberLists);
for (mli.toFirst();(ml=mli.current());++mli)
{
if (ml->listType()==lt)
{
return ml;
}
}
// not found, create a new member list
ml = new MemberList(lt);
m_memberLists.append(ml);
ml->setInGroup(TRUE);
return ml;
}
DefType GroupDef::definitionType ( ) const
inlinevirtual

Use this for dynamic inspection of the type of the derived class

Implements DefinitionIntf.

Definition at line 50 of file groupdef.h.

References DefinitionIntf::TypeGroup.

{ return TypeGroup; }
QCString GroupDef::displayName ( bool  includeScope = TRUE) const
inlinevirtual

Returns the name of the definition as it appears in the output

Implements Definition.

Definition at line 53 of file groupdef.h.

References hasGroupTitle(), and Definition::name().

void GroupDef::distributeMemberGroupDocumentation ( )
void GroupDef::endMemberDeclarations ( OutputList ol)
private

Definition at line 990 of file groupdef.cpp.

References OutputList::endMemberSections().

Referenced by writeDocumentation().

void GroupDef::endMemberDocumentation ( OutputList ol)
private

Definition at line 1006 of file groupdef.cpp.

References Config_getBool, OutputList::popGeneratorState(), and Doxygen::suppressDocWarnings.

Referenced by writeDocumentation().

{
//printf("** GroupDef::endMemberDocumentation()\n");
if (Config_getBool(SEPARATE_MEMBER_PAGES))
{
}
}
bool GroupDef::findGroup ( const GroupDef def) const

Definition at line 511 of file groupdef.cpp.

References findGroup(), and groupList.

Referenced by addGroupToGroups(), and findGroup().

{
if (this==def)
{
return TRUE;
}
else if (groupList)
{
GroupDef *gd;
for (;(gd=it.current());++it)
{
if (gd->findGroup(def))
{
return TRUE;
}
}
}
return FALSE;
}
void GroupDef::findSectionsInDocumentation ( )
ClassSDict* GroupDef::getClasses ( ) const
inline
DirList* GroupDef::getDirs ( ) const
inline

Definition at line 105 of file groupdef.h.

References dirList.

Referenced by DotGroupCollaboration::buildGraph(), ModuleContext::Private::dirs(), and writeGroupTreeNode().

{ return dirList; }
PageSDict* GroupDef::getExamples ( ) const
inline

Definition at line 106 of file groupdef.h.

References exampleDict.

Referenced by ModuleContext::Private::examples(), and ModuleContext::Private::pages().

{ return exampleDict; }
FileList* GroupDef::getFiles ( ) const
inline
Definition* GroupDef::getGroupScope ( ) const
inline

Definition at line 92 of file groupdef.h.

References groupScope.

{ return groupScope; }
MemberGroupSDict* GroupDef::getMemberGroupSDict ( ) const
inline
MemberList * GroupDef::getMemberList ( MemberListType  lt) const
const QList<MemberList>& GroupDef::getMemberLists ( ) const
inline

Definition at line 95 of file groupdef.h.

References m_memberLists.

Referenced by generateDocbookForGroup(), generateXMLForGroup(), and writeGroupTreeNode().

{ return m_memberLists; }
NamespaceSDict* GroupDef::getNamespaces ( ) const
inline
QCString GroupDef::getOutputFileBase ( ) const
virtual
PageSDict* GroupDef::getPages ( ) const
inline
GroupList* GroupDef::getSubGroups ( ) const
inline
const char* GroupDef::groupTitle ( ) const
inline
bool GroupDef::hasDetailedDescription ( ) const

Definition at line 1653 of file groupdef.cpp.

References Definition::briefDescription(), Config_getBool, and Definition::documentation().

Referenced by ModuleContext::Private::hasDetails().

{
static bool repeatBrief = Config_getBool(REPEAT_BRIEF);
return ((!briefDescription().isEmpty() && repeatBrief) ||
!documentation().isEmpty());
}
bool GroupDef::hasGroupTitle ( ) const
inline

Definition at line 56 of file groupdef.h.

References titleSet.

Referenced by buildGroupListFiltered(), and displayName().

{ return titleSet; }
bool GroupDef::insertMember ( MemberDef def,
bool  docOnly = FALSE 
)

Definition at line 259 of file groupdef.cpp.

References addMemberToList(), allMemberList, allMemberNameInfoSDict, MemberList::append(), SDict< T >::append(), MemberDef::argumentList(), DefinitionIntf::definitionType(), err(), MemberDef::getClassDef(), MemberDef::getFileDef(), MemberDef::getGroupAlias(), Definition::getOuterScope(), MemberDef::isFunction(), Definition::isHidden(), matchArguments2(), MemberInfo::memberDef, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decEnumValMembers, MemberListType_decEventMembers, MemberListType_decFriendMembers, MemberListType_decFuncMembers, MemberListType_decPriSlotMembers, MemberListType_decPropMembers, MemberListType_decProSlotMembers, MemberListType_decPubSlotMembers, MemberListType_decSignalMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, MemberListType_docDefineMembers, MemberListType_docEnumMembers, MemberListType_docEnumValMembers, MemberListType_docEventMembers, MemberListType_docFriendMembers, MemberListType_docFuncMembers, MemberListType_docPriSlotMembers, MemberListType_docPropMembers, MemberListType_docProSlotMembers, MemberListType_docPubSlotMembers, MemberListType_docSignalMembers, MemberListType_docTypedefMembers, MemberListType_docVarMembers, MemberNameInfo::memberName(), MemberDef::memberType(), MemberType_Define, MemberType_Enumeration, MemberType_EnumValue, MemberType_Event, MemberType_Friend, MemberType_Function, MemberType_Property, MemberType_Signal, MemberType_Slot, MemberType_Typedef, MemberType_Variable, Definition::name(), Protected, MemberDef::protection(), Public, MemberDef::setGroupAlias(), MemberDef::templateArguments(), DefinitionIntf::TypeFile, updateLanguage(), and MemberDef::virtualness().

Referenced by addMemberToGroups(), MemberGroup::insertMember(), and ClassDef::setGroupDefForAllMembers().

{
if (md->isHidden()) return FALSE;
//printf("GroupDef(%s)::insertMember(%s)\n", title.data(), md->name().data());
if ((mni=(*allMemberNameInfoSDict)[md->name()]))
{ // member with this name already found
MemberNameInfoIterator srcMnii(*mni);
MemberInfo *srcMi;
for ( ; (srcMi=srcMnii.current()) ; ++srcMnii )
{
MemberDef *srcMd = srcMi->memberDef;
if (srcMd==md) return FALSE; // already added before!
bool sameScope = srcMd->getOuterScope()==md->getOuterScope() || // same class or namespace
// both inside a file => definition and declaration do not have to be in the same file
md->getOuterScope()->definitionType()==Definition::TypeFile);
ArgumentList *srcMdAl = srcMd->argumentList();
ArgumentList *mdAl = md->argumentList();
ArgumentList *tSrcMdAl = srcMd->templateArguments();
ArgumentList *tMdAl = md->templateArguments();
if (srcMd->isFunction() && md->isFunction() && // both are a function
((tSrcMdAl==0 && tMdAl==0) ||
(tSrcMdAl!=0 && tMdAl!=0 && tSrcMdAl->count()==tMdAl->count())
) && // same number of template arguments
matchArguments2(srcMd->getOuterScope(),srcMd->getFileDef(),srcMdAl,
md->getOuterScope(),md->getFileDef(),mdAl,
TRUE
) && // matching parameters
sameScope // both are found in the same scope
)
{
if (srcMd->getGroupAlias()==0)
{
md->setGroupAlias(srcMd);
}
else if (md!=srcMd->getGroupAlias())
{
md->setGroupAlias(srcMd->getGroupAlias());
}
return FALSE; // member is the same as one that is already added
}
}
mni->append(new MemberInfo(md,md->protection(),md->virtualness(),FALSE));
}
else
{
mni = new MemberNameInfo(md->name());
mni->append(new MemberInfo(md,md->protection(),md->virtualness(),FALSE));
}
//printf("Added member!\n");
switch(md->memberType())
{
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (md->protection()==Public)
{
if (!docOnly)
{
}
}
else if (md->protection()==Protected)
{
if (!docOnly)
{
}
}
else
{
if (!docOnly)
{
}
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
if (!docOnly)
{
}
break;
default:
err("GroupDef::insertMembers(): "
"member `%s' (typeid=%d) with scope `%s' inserted in group scope `%s'!\n",
md->name().data(),md->memberType(),
md->getClassDef() ? md->getClassDef()->name().data() : "",
name().data());
}
return TRUE;
}
bool GroupDef::isASubGroup ( ) const

Definition at line 541 of file groupdef.cpp.

References Definition::partOfGroups().

Referenced by NestingContext::Private::addModules(), generateDocbookForGroup(), and writeGroupTreeNode().

{
GroupList *groups = partOfGroups();
return groups!=0 && groups->count()!=0;
}
bool GroupDef::isLinkable ( ) const
virtual

Returns TRUE iff it is possible to link to this item. This can be a link to another project imported via a tag file.

Implements Definition.

Definition at line 1638 of file groupdef.cpp.

References Definition::hasUserDocumentation().

Referenced by addMemberToSearchIndex(), createJavascriptSearchIndex(), findMembersWithSpecificName(), getDefs(), isLinkableInProject(), and Definition::isLinkableViaGroup().

{
}
bool GroupDef::isLinkableInProject ( ) const
virtual

Returns TRUE iff it is possible to link to this item within this project.

Implements Definition.

Definition at line 1633 of file groupdef.cpp.

References isLinkable(), and Definition::isReference().

Referenced by MemberDef::_computeLinkableInProject(), and writeTagFile().

{
return !isReference() && isLinkable();
}
void GroupDef::removeMember ( MemberDef md)

Definition at line 424 of file groupdef.cpp.

References allMemberNameInfoSDict, err(), SDict< T >::find(), MemberListType_allMembersList, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decEnumValMembers, MemberListType_decEventMembers, MemberListType_decFriendMembers, MemberListType_decFuncMembers, MemberListType_decPriSlotMembers, MemberListType_decPropMembers, MemberListType_decProSlotMembers, MemberListType_decPubSlotMembers, MemberListType_decSignalMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, MemberListType_docDefineMembers, MemberListType_docEnumMembers, MemberListType_docEnumValMembers, MemberListType_docEventMembers, MemberListType_docFriendMembers, MemberListType_docFuncMembers, MemberListType_docPriSlotMembers, MemberListType_docPropMembers, MemberListType_docProSlotMembers, MemberListType_docPubSlotMembers, MemberListType_docSignalMembers, MemberListType_docTypedefMembers, MemberListType_docVarMembers, MemberDef::memberType(), MemberType_Define, MemberType_Enumeration, MemberType_EnumValue, MemberType_Event, MemberType_Friend, MemberType_Function, MemberType_Property, MemberType_Signal, MemberType_Slot, MemberType_Typedef, MemberType_Variable, Definition::name(), Protected, MemberDef::protection(), Public, SDict< T >::remove(), and removeMemberFromList().

Referenced by addMemberToGroups().

{
// fprintf(stderr, "GroupDef(%s)::removeMember( %s )\n", title.data(), md->name().data());
if (mni)
{
while( mnii.current() )
{
if( mnii.current()->memberDef == md )
{
mni->remove(mnii.current());
break;
}
++mnii;
}
if( mni->isEmpty() )
{
}
switch(md->memberType())
{
break;
break;
break;
break;
break;
break;
break;
if (md->protection()==Public)
{
}
else if (md->protection()==Protected)
{
}
else
{
}
break;
break;
break;
break;
default:
err("GroupDef::removeMember(): unexpected member remove in file!\n");
}
}
}
void GroupDef::removeMemberFromList ( MemberListType  lt,
MemberDef md 
)
private

Definition at line 1622 of file groupdef.cpp.

References getMemberList(), and MemberList::remove().

Referenced by removeMember().

{
if (ml) ml->remove(md);
}
void GroupDef::setGroupScope ( Definition d)
inline

Definition at line 91 of file groupdef.h.

References groupScope.

Referenced by findGroupScope().

{ groupScope = d; }
void GroupDef::setGroupTitle ( const char *  newtitle)

Definition at line 91 of file groupdef.cpp.

References Definition::name(), title, and titleSet.

Referenced by buildGroupListFiltered(), and GroupDef().

{
if ( t && qstrlen(t) )
{
title = t;
titleSet = TRUE;
}
else
{
title = name();
title.at(0)=toupper(title.at(0));
titleSet = FALSE;
}
}
void GroupDef::sortMemberLists ( )

Definition at line 1576 of file groupdef.cpp.

References m_memberLists, MemberList::needsSorting(), MemberList::setNeedsSorting(), and MemberList::sort().

Referenced by sortMemberLists().

{
QListIterator<MemberList> mli(m_memberLists);
for (;(ml=mli.current());++mli)
{
if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(FALSE); }
}
}
void GroupDef::sortSubGroups ( )

Definition at line 1628 of file groupdef.cpp.

References groupList.

Referenced by generateOutput().

{
groupList->sort();
}
void GroupDef::startMemberDeclarations ( OutputList ol)
private

Definition at line 985 of file groupdef.cpp.

References OutputList::startMemberSections().

Referenced by writeDocumentation().

void GroupDef::startMemberDocumentation ( OutputList ol)
private

Definition at line 995 of file groupdef.cpp.

References Config_getBool, OutputList::disable(), OutputGenerator::Html, OutputList::pushGeneratorState(), and Doxygen::suppressDocWarnings.

Referenced by writeDocumentation().

{
//printf("** GroupDef::startMemberDocumentation()\n");
if (Config_getBool(SEPARATE_MEMBER_PAGES))
{
}
}
bool GroupDef::subGrouping ( ) const
inline

Definition at line 84 of file groupdef.h.

References m_subGrouping.

Referenced by ModuleContext::Private::memberGroups().

{ return m_subGrouping; }
void GroupDef::updateLanguage ( const Definition d)
private
void GroupDef::writeAuthorSection ( OutputList ol)
private
void GroupDef::writeBriefDescription ( OutputList ol)
private
void GroupDef::writeClasses ( OutputList ol,
const QCString &  title 
)
private

Definition at line 935 of file groupdef.cpp.

References classSDict, and ClassSDict::writeDeclaration().

Referenced by writeDocumentation().

{
// write list of classes
}
void GroupDef::writeDetailedDescription ( OutputList ol,
const QCString &  title 
)
private

Definition at line 708 of file groupdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, SDict< T >::count(), countMembers(), OutputList::disable(), OutputList::disableAllBut(), Definition::docFile(), Definition::docLine(), Definition::documentation(), OutputList::enable(), OutputList::enableAll(), OutputList::endGroupHeader(), OutputList::generateDoc(), OutputGenerator::Html, Definition::inbodyDocumentation(), Definition::inbodyFile(), Definition::inbodyLine(), OutputGenerator::Latex, OutputGenerator::Man, pageDict, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, OutputList::startGroupHeader(), OutputList::writeAnchor(), OutputList::writeRuler(), and OutputList::writeString().

Referenced by writeDocumentation().

{
if ((!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF))
|| !documentation().isEmpty() || !inbodyDocumentation().isEmpty()
)
{
if (pageDict->count()!=countMembers()) // not only pages -> classical layout
{
ol.writeRuler();
ol.writeAnchor(0,"details");
}
// repeat brief description
if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF))
{
ol.generateDoc(briefFile(),briefLine(),this,0,briefDescription(),FALSE,FALSE);
}
// write separator between brief and details
if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF) &&
!documentation().isEmpty())
{
// ol.newParagraph(); // FIXME:PARA
ol.enableAll();
ol.writeString("\n\n");
}
// write detailed documentation
if (!documentation().isEmpty())
{
ol.generateDoc(docFile(),docLine(),this,0,documentation()+"\n",TRUE,FALSE);
}
// write inbody documentation
if (!inbodyDocumentation().isEmpty())
{
ol.generateDoc(inbodyFile(),inbodyLine(),this,0,inbodyDocumentation()+"\n",TRUE,FALSE);
}
}
}
void GroupDef::writeDirs ( OutputList ol,
const QCString &  title 
)
private

Definition at line 902 of file groupdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, dirList, OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), OutputList::generateDoc(), DirDef::getOutputFileBase(), Definition::getReference(), Definition::hasDocumentation(), OutputList::insertMemberAlign(), OutputList::parseText(), DirDef::shortName(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, Translator::trDir(), and OutputList::writeObjectLink().

Referenced by writeDocumentation().

{
// write list of directories
if (dirList->count()>0)
{
ol.startMemberHeader("dirs");
QListIterator<DirDef> it(*dirList);
DirDef *dd;
for (;(dd=it.current());++it)
{
if (!dd->hasDocumentation()) continue;
ol.parseText(theTranslator->trDir(FALSE,TRUE));
if (!dd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
{
ol.generateDoc(briefFile(),briefLine(),dd,0,dd->briefDescription(),FALSE,FALSE,0,TRUE,FALSE);
}
}
}
}
void GroupDef::writeDocumentation ( OutputList ol)

Definition at line 1073 of file groupdef.cpp.

References addGroupListToTitle(), IndexList::addIndexItem(), SearchIndexIntf::addWord(), allMemberList, anchor(), LayoutDocEntry::AuthorSection, LayoutDocEntry::BriefDesc, LayoutDocEntry::ClassAllMembersLink, LayoutDocEntry::ClassCollaborationGraph, LayoutDocEntry::ClassIncludes, LayoutDocEntry::ClassInheritanceGraph, LayoutDocEntry::ClassInlineClasses, LayoutDocEntry::ClassNestedClasses, LayoutDocEntry::ClassUsedFiles, Config_getBool, LayoutDocEntry::DetailedDesc, LayoutDocEntry::DirFiles, LayoutDocEntry::DirGraph, LayoutDocEntry::DirSubDirs, OutputList::disable(), OutputList::disableAllBut(), endFile(), OutputList::endHeaderSection(), endMemberDeclarations(), endMemberDocumentation(), OutputList::endTitleHead(), err(), LayoutDocEntry::FileClasses, LayoutDocEntry::FileConstantGroups, LayoutDocEntry::FileIncludedByGraph, LayoutDocEntry::FileIncludeGraph, LayoutDocEntry::FileIncludes, LayoutDocEntry::FileInlineClasses, LayoutDocEntry::FileNamespaces, LayoutDocEntry::FileSourceLink, Definition::getLanguage(), getOutputFileBase(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, LayoutDocEntry::GroupGraph, LayoutDocEntry::GroupInlineClasses, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, LayoutDocEntry::GroupPageDocs, HLI_Modules, Doxygen::indexList, LayoutDocManager::instance(), LayoutDocEntry::kind(), OutputGenerator::Man, LayoutDocEntry::MemberDecl, LayoutDocEntry::MemberDeclEnd, LayoutDocEntry::MemberDeclStart, LayoutDocEntry::MemberDef, LayoutDocEntry::MemberDefEnd, LayoutDocEntry::MemberDefStart, LayoutDocEntry::MemberGroups, Definition::name(), LayoutDocEntry::NamespaceClasses, LayoutDocEntry::NamespaceInlineClasses, LayoutDocEntry::NamespaceNestedConstantGroups, LayoutDocEntry::NamespaceNestedNamespaces, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), Doxygen::searchIndex, SearchIndexIntf::setCurrentDoc(), MemberList::sort(), OutputList::startContents(), startFile(), OutputList::startHeaderSection(), startMemberDeclarations(), startMemberDocumentation(), OutputList::startTitleHead(), LayoutDocEntrySection::title(), LayoutDocEntryMemberDecl::title(), LayoutDocEntryMemberDef::title(), title, LayoutDocEntryMemberDecl::type, LayoutDocEntryMemberDef::type, writeAuthorSection(), writeBriefDescription(), writeClasses(), writeDetailedDescription(), writeDirs(), writeFiles(), writeGroupGraph(), writeInlineClasses(), writeMemberDeclarations(), writeMemberDocumentation(), writeMemberGroups(), writeMemberPages(), writeNamespaces(), writeNestedGroups(), writePageDocumentation(), and writeSummaryLinks().

Referenced by generateGroupDocs().

{
//static bool generateTreeView = Config_getBool(GENERATE_TREEVIEW);
{
static QRegExp we("[a-zA-Z_][-a-zA-Z_0-9]*");
int i=0,p=0,l=0;
while ((i=we.match(title,p,&l))!=-1) // foreach word in the title
{
p=i+l;
}
}
//---------------------------------------- start flexible part -------------------------------
QListIterator<LayoutDocEntry> eli(
for (eli.toFirst();(lde=eli.current());++eli)
{
switch (lde->kind())
{
break;
break;
{
writeClasses(ol,ls->title(lang));
}
break;
{
}
break;
{
writeNamespaces(ol,ls->title(lang));
}
break;
break;
{
writeMemberDeclarations(ol,lmd->type,lmd->title(lang));
}
break;
break;
{
}
break;
break;
{
writeMemberDocumentation(ol,lmd->type,lmd->title(lang));
}
break;
break;
{
writeNestedGroups(ol,ls->title(lang));
}
break;
break;
{
writeDirs(ol,ls->title(lang));
}
break;
{
writeFiles(ol,ls->title(lang));
}
break;
break;
break;
err("Internal inconsistency: member %d should not be part of "
"LayoutDocManager::Group entry list\n",lde->kind());
break;
}
}
//---------------------------------------- end flexible part -------------------------------
endFile(ol);
if (Config_getBool(SEPARATE_MEMBER_PAGES))
{
}
}
void GroupDef::writeFiles ( OutputList ol,
const QCString &  title 
)
private

Definition at line 814 of file groupdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, OutputList::docify(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), fileList, OutputList::generateDoc(), FileDef::getOutputFileBase(), Definition::getReference(), Definition::hasDocumentation(), OutputList::insertMemberAlign(), FileDef::name(), OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, Translator::trFile(), and OutputList::writeObjectLink().

Referenced by writeDocumentation().

{
// write list of files
if (fileList->count()>0)
{
ol.startMemberHeader("files");
QListIterator<FileDef> it(*fileList);
FileDef *fd;
for (;(fd=it.current());++it)
{
if (!fd->hasDocumentation()) continue;
ol.docify(theTranslator->trFile(FALSE,TRUE)+" ");
if (!fd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
{
ol.generateDoc(briefFile(),briefLine(),fd,0,fd->briefDescription(),FALSE,FALSE,0,TRUE,FALSE);
}
}
}
}
void GroupDef::writeGroupGraph ( OutputList ol)
private
void GroupDef::writeInlineClasses ( OutputList ol)
private

Definition at line 941 of file groupdef.cpp.

References classSDict, and ClassSDict::writeDocumentation().

Referenced by writeDocumentation().

void GroupDef::writeMemberDeclarations ( OutputList ol,
MemberListType  lt,
const QCString &  title 
)
private

Definition at line 1600 of file groupdef.cpp.

References Config_getBool, getMemberList(), MemberList::writeDeclarations(), and VhdlDocGen::writeVhdlDeclarations().

Referenced by writeDocumentation().

{
static bool optimizeVhdl = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
if (optimizeVhdl && ml)
{
return;
}
if (ml)
{
ml->writeDeclarations(ol,0,0,0,this,title,0);
}
}
void GroupDef::writeMemberDocumentation ( OutputList ol,
MemberListType  lt,
const QCString &  title 
)
private

Definition at line 1616 of file groupdef.cpp.

References getMemberList(), Definition::name(), and MemberList::writeDocumentation().

Referenced by writeDocumentation().

{
if (ml) ml->writeDocumentation(ol,name(),this,title);
}
void GroupDef::writeMemberGroups ( OutputList ol)
private

Definition at line 969 of file groupdef.cpp.

References SIntDict< MemberGroup >::Iterator, memberGroupSDict, SIntDict< T >::sort(), and MemberGroup::writeDeclarations().

Referenced by writeDocumentation().

{
/* write user defined member groups */
{
/* write user defined member groups */
for (;(mg=mgli.current());++mgli)
{
mg->writeDeclarations(ol,0,0,0,this);
}
}
}
void GroupDef::writeMemberPages ( OutputList ol)
void GroupDef::writeNamespaces ( OutputList ol,
const QCString &  title 
)
private

Definition at line 846 of file groupdef.cpp.

References namespaceSDict, and NamespaceSDict::writeDeclaration().

Referenced by writeDocumentation().

{
// write list of namespaces
}
void GroupDef::writeNestedGroups ( OutputList ol,
const QCString &  title 
)
private

Definition at line 852 of file groupdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), OutputList::generateDoc(), getOutputFileBase(), Definition::getReference(), groupList, groupTitle(), Definition::hasDocumentation(), OutputList::insertMemberAlign(), Definition::isVisible(), OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), and OutputList::writeObjectLink().

Referenced by writeDocumentation().

{
// write list of groups
int count=0;
if (groupList->count()>0)
{
QListIterator<GroupDef> it(*groupList);
GroupDef *gd;
for (;(gd=it.current());++it)
{
if (gd->isVisible()) count++;
}
}
if (count>0)
{
ol.startMemberHeader("groups");
if (Config_getBool(SORT_GROUP_NAMES))
{
groupList->sort();
}
QListIterator<GroupDef> it(*groupList);
GroupDef *gd;
for (;(gd=it.current());++it)
{
if (gd->isVisible())
{
if (!gd->hasDocumentation()) continue;
//ol.docify(theTranslator->trGroup(FALSE,TRUE));
//ol.docify(" ");
if (!gd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
{
ol.generateDoc(briefFile(),briefLine(),gd,0,gd->briefDescription(),FALSE,FALSE,0,TRUE,FALSE);
}
}
}
}
}
void GroupDef::writePageDocumentation ( OutputList ol)
private
void GroupDef::writeQuickMemberLinks ( OutputList ol,
MemberDef currentMd 
) const
virtual

Reimplemented from Definition.

Definition at line 1263 of file groupdef.cpp.

References allMemberList, MemberDef::anchor(), Config_getBool, convertToHtml(), createSubDirs(), MemberDef::getGroupDef(), MemberDef::getOutputFileBase(), Doxygen::htmlFileExtension, MemberDef::isEnumValue(), MemberDef::isLinkable(), MemberDef::isLinkableInProject(), Definition::localName(), and OutputList::writeString().

{
static bool createSubDirs=Config_getBool(CREATE_SUBDIRS);
ol.writeString(" <div class=\"navtab\">\n");
ol.writeString(" <table>\n");
MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli)
{
if (md->getGroupDef()==this && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
{
if (md==currentMd) // selected item => highlight
{
ol.writeString("<a class=\"qindexHL\" ");
}
else
{
ol.writeString("<a class=\"qindex\" ");
}
ol.writeString("href=\"");
if (createSubDirs) ol.writeString("../../");
ol.writeString("\">");
ol.writeString("</a>");
}
ol.writeString("</td></tr>\n");
}
}
ol.writeString(" </table>\n");
ol.writeString(" </div>\n");
}
void GroupDef::writeSummaryLinks ( OutputList ol)
privatevirtual

Reimplemented from Definition.

Definition at line 1028 of file groupdef.cpp.

References classSDict, ClassSDict::declVisible(), MemberList::declVisible(), NamespaceSDict::declVisible(), dirList, OutputList::disableAllBut(), fileList, Definition::getLanguage(), getMemberList(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, groupList, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, OutputGenerator::Html, LayoutDocManager::instance(), LayoutDocEntry::kind(), MemberList::listType(), MemberList::listTypeAsString(), LayoutDocEntry::MemberDecl, namespaceSDict, OutputList::popGeneratorState(), OutputList::pushGeneratorState(), LayoutDocEntrySection::title(), LayoutDocEntryMemberDecl::title(), LayoutDocEntryMemberDecl::type, OutputList::writeString(), and OutputList::writeSummaryLink().

Referenced by writeDocumentation().

{
QListIterator<LayoutDocEntry> eli(
bool first=TRUE;
for (eli.toFirst();(lde=eli.current());++eli)
{
(lde->kind()==LayoutDocEntry::GroupFiles && fileList->count()>0) ||
(lde->kind()==LayoutDocEntry::GroupDirs && dirList->count()>0)
)
{
QCString label = lde->kind()==LayoutDocEntry::GroupClasses ? "nested-classes" :
lde->kind()==LayoutDocEntry::GroupNamespaces ? "namespaces" :
lde->kind()==LayoutDocEntry::GroupFiles ? "files" :
"dirs";
ol.writeSummaryLink(0,label,ls->title(lang),first);
first=FALSE;
}
else if (lde->kind()==LayoutDocEntry::MemberDecl)
{
if (ml && ml->declVisible())
{
first=FALSE;
}
}
}
if (!first)
{
ol.writeString(" </div>\n");
}
}
void GroupDef::writeTagFile ( FTextStream tagFile)

Definition at line 565 of file groupdef.cpp.

References classSDict, ClassDef::compoundTypeString(), convertToXML(), dirList, DirDef::displayName(), endl(), fileList, getMemberList(), getOutputFileBase(), PageDef::getOutputFileBase(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, groupList, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, LayoutDocEntry::GroupPageDocs, Doxygen::htmlFileExtension, LayoutDocManager::instance(), PageDef::isLinkableInProject(), DirDef::isLinkableInProject(), NamespaceDef::isLinkableInProject(), FileDef::isLinkableInProject(), ClassDef::isLinkableInProject(), Definition::isVisible(), SDict< PageDef >::Iterator, SIntDict< MemberGroup >::Iterator, LayoutDocEntry::kind(), LayoutDocEntry::MemberDecl, LayoutDocEntry::MemberGroups, memberGroupSDict, FileDef::name(), Definition::name(), namespaceSDict, pageDict, title, LayoutDocEntryMemberDecl::type, Definition::writeDocAnchorsToTagFile(), MemberGroup::writeTagFile(), and MemberList::writeTagFile().

Referenced by writeTagFile().

{
tagFile << " <compound kind=\"group\">" << endl;
tagFile << " <name>" << convertToXML(name()) << "</name>" << endl;
tagFile << " <title>" << convertToXML(title) << "</title>" << endl;
tagFile << " <filename>" << convertToXML(getOutputFileBase()) << Doxygen::htmlFileExtension << "</filename>" << endl;
QListIterator<LayoutDocEntry> eli(
for (eli.toFirst();(lde=eli.current());++eli)
{
switch (lde->kind())
{
{
{
ClassDef *cd;
for (ci.toFirst();(cd=ci.current());++ci)
{
{
tagFile << " <class kind=\"" << cd->compoundTypeString()
<< "\">" << convertToXML(cd->name()) << "</class>" << endl;
}
}
}
}
break;
{
{
for (ni.toFirst();(nd=ni.current());++ni)
{
{
tagFile << " <namespace>" << convertToXML(nd->name())
<< "</namespace>" << endl;
}
}
}
}
break;
{
if (fileList)
{
QListIterator<FileDef> it(*fileList);
FileDef *fd;
for (;(fd=it.current());++it)
{
{
tagFile << " <file>" << convertToXML(fd->name()) << "</file>" << endl;
}
}
}
}
break;
{
if (pageDict)
{
PageDef *pd=0;
for (pdi.toFirst();(pd=pdi.current());++pdi)
{
QCString pageName = pd->getOutputFileBase();
{
tagFile << " <page>" << convertToXML(pageName) << "</page>" << endl;
}
}
}
}
break;
{
if (dirList)
{
QListIterator<DirDef> it(*dirList);
DirDef *dd;
for (;(dd=it.current());++it)
{
{
tagFile << " <dir>" << convertToXML(dd->displayName()) << "</dir>" << endl;
}
}
}
}
break;
{
if (groupList)
{
QListIterator<GroupDef> it(*groupList);
GroupDef *gd;
for (;(gd=it.current());++it)
{
if (gd->isVisible())
{
tagFile << " <subgroup>" << convertToXML(gd->name()) << "</subgroup>" << endl;
}
}
}
}
break;
{
if (ml)
{
ml->writeTagFile(tagFile);
}
}
break;
{
{
for (;(mg=mgli.current());++mgli)
{
mg->writeTagFile(tagFile);
}
}
}
break;
default:
break;
}
}
tagFile << " </compound>" << endl;
}

Member Data Documentation

MemberList* GroupDef::allMemberList
private
MemberNameInfoSDict* GroupDef::allMemberNameInfoSDict
private

Definition at line 151 of file groupdef.h.

Referenced by GroupDef(), insertMember(), removeMember(), and ~GroupDef().

ClassSDict* GroupDef::classSDict
private
DirList* GroupDef::dirList
private
PageSDict* GroupDef::exampleDict
private

Definition at line 147 of file groupdef.h.

Referenced by addExample(), countMembers(), getExamples(), GroupDef(), and ~GroupDef().

FileList* GroupDef::fileList
private
QCString GroupDef::fileName
private
GroupList* GroupDef::groupList
private
Definition* GroupDef::groupScope
private

Definition at line 153 of file groupdef.h.

Referenced by getGroupScope(), GroupDef(), and setGroupScope().

QList<MemberList> GroupDef::m_memberLists
private
bool GroupDef::m_subGrouping
private

Definition at line 157 of file groupdef.h.

Referenced by GroupDef(), and subGrouping().

MemberGroupSDict* GroupDef::memberGroupSDict
private
NamespaceSDict* GroupDef::namespaceSDict
private
PageSDict* GroupDef::pageDict
private
QCString GroupDef::title
private
bool GroupDef::titleSet
private

Definition at line 140 of file groupdef.h.

Referenced by hasGroupTitle(), and setGroupTitle().

bool GroupDef::visited

Definition at line 86 of file groupdef.h.

Referenced by countGroups(), and GroupDef().


The documentation for this class was generated from the following files: