18 #ifndef NAMESPACEDEF_H 19 #define NAMESPACEDEF_H 24 #include "definition.h" 42 NamespaceDef(
const char *defFileName,
int defLine,
int defColumn,
43 const char *
name,
const char *ref=0,
44 const char *refFile=0,
const char*type=0,
45 bool isPublished=
false);
50 void insertUsedFile(
FileDef *fd);
61 void computeAnchors();
67 void combineUsingRelations();
71 bool isConstantGroup()
const {
return CONSTANT_GROUP == m_type; }
72 bool isModule()
const {
return MODULE == m_type; }
73 bool isLibrary()
const {
return LIBRARY == m_type; }
77 bool hasDetailedDescription()
const;
78 void addMembersToMemberGroup();
79 void distributeMemberGroupDocumentation();
80 void findSectionsInDocumentation();
81 void sortMemberLists();
83 virtual Definition *findInnerCompound(
const char *name);
85 void addListReferences();
86 void setFileName(
const QCString &fn);
88 bool subGrouping()
const {
return m_subGrouping; }
90 MemberList *getMemberList(MemberListType lt)
const;
104 QCString compoundTypeString()
const;
109 MemberList *createMemberList(MemberListType lt);
110 void addMemberToList(MemberListType lt,
MemberDef *md);
112 void writeMemberDocumentation(
OutputList &ol,MemberListType lt,
const QCString &title);
120 bool isConstantGroup=
false);
123 void startMemberDocumentation(
OutputList &ol);
141 enum { NAMESPACE, MODULE, CONSTANT_GROUP, LIBRARY } m_type;
152 return qstricmp(nd1->
name(), nd2->
name());
178 void writeDeclaration(
OutputList &ol,
const char *title,
179 bool isConstantGroup=
false,
bool localName=FALSE);
180 bool declVisible()
const;
184 return qstricmp(item1->
name(),item2->
name());
The common base class of all entity definitions found in the sources.
Definition: definition.h:92
A model of a namespace symbol.
Definition: namespacedef.h:39
QCString displayName(bool=TRUE) const
Definition: namespacedef.cpp:871
A model of a class/file/namespace member symbol.
Definition: memberdef.h:43
bool isLinkableInProject() const
Definition: namespacedef.cpp:1116
MemberGroupSDict * getMemberGroupSDict() const
Definition: namespacedef.h:95
An iterator for NamespaceDef objects in a NamespaceList.
Definition: namespacedef.h:157
A model of a file symbol.
Definition: filedef.h:64
Simplified and optimized version of QTextStream.
Definition: ftextstream.h:11
A sorted dictionary of ClassDef objects.
Definition: classlist.h:56
A list of NamespaceDef objects.
Definition: namespacedef.h:146
DefType definitionType() const
Definition: namespacedef.h:47
QCString anchor() const
Definition: namespacedef.h:49
const QCString & name() const
Definition: definition.h:114
DefType
Definition: definition.h:71
An unsorted dictionary of NamespaceDef objects.
Definition: namespacedef.h:165
A list of ClassDef objects.
Definition: classlist.h:30
A list of MemberDef objects.
Definition: memberlist.h:32
A sorted dictionary of NamespaceDef objects.
Definition: namespacedef.h:173
Class representing a list of FileDef objects.
Definition: filedef.h:240
NamespaceSDict * getNamespaceSDict() const
Definition: namespacedef.h:101
Class representing a list of output generators that are written to in parallel.
Definition: outputlist.h:54
QCString getOutputFileBase() const
Definition: namespacedef.cpp:816
bool isLinkable() const
Definition: namespacedef.cpp:1134
This is an alternative implementation of QCString.
Definition: qcstring.h:131
A sorted dictionary of MemberGroup objects.
Definition: membergroup.h:129
A class representing of a compound symbol.
Definition: classdef.h:59
A sorted dictionary of MemberDef objects.
Definition: memberlist.h:131
ClassSDict * getClassSDict() const
Definition: namespacedef.h:98