22 #include <sys/types.h> 25 #include "definition.h" 47 MemberDef(
const char *defFileName,
int defLine,
int defColumn,
48 const char *type,
const char *
name,
const char *args,
67 const char *declaration()
const;
68 const char *definition()
const;
69 const char *typeString()
const;
70 const char *argsString()
const;
71 const char *excpString()
const;
72 const char *bitfieldString()
const;
73 const char *extraTypeChars()
const;
75 int initializerLines()
const;
76 uint64 getMemberSpecifiers()
const;
87 const char *getReadAccessor()
const;
88 const char *getWriteAccessor()
const;
93 const char *getGroupFileName()
const;
94 int getGroupStartLine()
const;
95 bool getGroupHasDocs()
const;
97 QCString objCMethodName(
bool localLink,
bool showStatic)
const;
101 Specifier virtualness(
int count=0)
const;
102 MemberType memberType()
const;
106 bool isSignal()
const;
108 bool isVariable()
const;
109 bool isEnumerate()
const;
110 bool isEnumValue()
const;
111 bool isTypedef()
const;
112 bool isFunction()
const;
113 bool isFunctionPtr()
const;
114 bool isDefine()
const;
115 bool isFriend()
const;
117 bool isProperty()
const;
118 bool isEvent()
const;
119 bool isRelated()
const;
120 bool isForeign()
const;
121 bool isStatic()
const;
122 bool isInline()
const;
123 bool isExplicit()
const;
124 bool isMutable()
const;
125 bool isGettable()
const;
126 bool isPrivateGettable()
const;
127 bool isProtectedGettable()
const;
128 bool isSettable()
const;
129 bool isPrivateSettable()
const;
130 bool isProtectedSettable()
const;
131 bool isReadable()
const;
132 bool isWritable()
const;
133 bool isAddable()
const;
134 bool isRemovable()
const;
135 bool isRaisable()
const;
136 bool isFinal()
const;
137 bool isAbstract()
const;
138 bool isOverride()
const;
139 bool isInitonly()
const;
140 bool isOptional()
const;
141 bool isRequired()
const;
142 bool isNonAtomic()
const;
144 bool isAssign()
const;
145 bool isRetain()
const;
147 bool isStrong()
const;
148 bool isUnretained()
const;
150 bool isSealed()
const;
151 bool isImplementation()
const;
152 bool isExternal()
const;
153 bool isAlias()
const;
154 bool isDefault()
const;
155 bool isDelete()
const;
156 bool isNoExcept()
const;
157 bool isAttribute()
const;
158 bool isUNOProperty()
const;
159 bool isReadonly()
const;
160 bool isBound()
const;
161 bool isConstrained()
const;
162 bool isTransient()
const;
163 bool isMaybeVoid()
const;
164 bool isMaybeDefault()
const;
165 bool isMaybeAmbiguous()
const;
166 bool isPublished()
const;
167 bool isTemplateSpecialization()
const;
168 bool hasDocumentedParams()
const;
169 bool hasDocumentedReturnType()
const;
170 bool isObjCMethod()
const;
171 bool isObjCProperty()
const;
172 bool isConstructor()
const;
173 bool isDestructor()
const;
174 bool hasOneLineInitializer()
const;
175 bool hasMultiLineInitializer()
const;
176 bool protectionVisible()
const;
177 bool showInCallGraph()
const;
178 bool isStrongEnumValue()
const;
179 bool livesInsideEnum()
const;
182 bool isFriendToHide()
const;
183 bool isNotFriend()
const;
184 bool isFunctionOrSignalSlot()
const;
185 bool isRelatedOrFriend()
const;
192 bool isDeleted()
const;
194 bool isDetailedSectionVisible(
bool inGroup,
bool inFile)
const;
195 bool isDetailedSectionLinkable()
const;
196 bool isFriendClass()
const;
197 bool isDocumentedFriendClass()
const;
201 bool isReimplementedBy(
ClassDef *cd)
const;
209 bool hasDocumentedEnumValues()
const;
211 bool isDocsForDefinition()
const;
214 void setEnumBaseType(
const QCString &type);
219 bool isPrototype()
const;
228 int getMemberGroupId()
const;
231 bool fromAnonymousScope()
const;
232 bool anonymousDeclShown()
const;
236 bool hasCallGraph()
const;
237 bool hasCallerGraph()
const;
238 bool visibleMemberGroup(
bool hideNoHeader);
245 bool isTypedefValCached()
const;
246 ClassDef *getCachedTypedefVal()
const;
247 QCString getCachedTypedefTemplSpec()
const;
248 QCString getCachedResolvedTypedef()
const;
276 void setMemberType(MemberType t);
277 void setDefinition(
const char *d);
281 void setMemberSpecifiers(uint64 s);
282 void mergeMemberSpecifiers(uint64 s);
283 void setInitializer(
const char *i);
284 void setBitfields(
const char *s);
285 void setMaxInitLines(
int lines);
289 const QCString &fileName,
int startLine,
bool hasDocs,
291 void setExplicitExternal(
bool b);
292 void setReadAccessor(
const char *r);
293 void setWriteAccessor(
const char *w);
294 void setTemplateSpecialization(
bool b);
298 void setHasDocumentedParams(
bool b);
299 void setHasDocumentedReturnType(
bool b);
302 void setArgsString(
const char *as);
306 void insertReimplementedBy(
MemberDef *md);
315 void setEnumScope(
MemberDef *md,
bool livesInsideEnum=FALSE);
316 void setEnumClassScope(
ClassDef *cd);
317 void setDocumentedEnumValues(
bool value);
318 void setAnonymousEnumType(
MemberDef *md);
321 bool addExample(
const char *anchor,
const char *name,
const char *file);
324 void setPrototype(
bool p);
331 void setType(
const char *t);
332 void setAccessorType(
ClassDef *cd,
const char *t);
339 void setMemberGroupId(
int id);
340 void makeImplementationDetail();
343 void setFromAnonymousScope(
bool b);
344 void setFromAnonymousMember(
MemberDef *m);
346 void enableCallGraph(
bool e);
347 void enableCallerGraph(
bool e);
351 void setDocsForDefinition(
bool b);
355 void invalidateTypedefValCache();
357 void invalidateCachedArgumentTypes();
361 void setMemberDeclaration(
MemberDef *md);
363 void setAnonymousUsed();
373 void setHidden(
bool b);
382 bool inGroup,
ClassDef *inheritFrom=0,
const char *inheritId=0);
385 bool inGroup,
bool showEnumValues=FALSE,
bool 388 void writeEnumDeclaration(
OutputList &typeDecl,
391 void warnIfUndocumented();
392 void warnIfUndocumentedParams();
397 void findSectionsInDocumentation();
402 void flushToDisk()
const;
403 void loadFromDisk()
const;
407 void saveToDisk()
const;
408 void makeResident()
const;
409 void _computeLinkableInProject();
410 void _computeIsConstructor();
411 void _computeIsDestructor();
412 void _writeGroupInclude(
OutputList &ol,
bool inGroup);
423 void _writeTagData(
const DefType);
424 void _addToSearchIndex();
426 static int s_indentLevel;
433 bool onlyText=FALSE);
436 uchar m_isLinkableCached;
437 uchar m_isConstructorCached;
438 uchar m_isDestructorCached;
bool isReference() const
Definition: memberdef.cpp:5156
Definition: qstrlist.h:57
This class represents an function or template argument list.
Definition: arguments.h:89
This file contains a number of basic enums and types.
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 qualifiedName() const
Definition: memberdef.cpp:3997
QCString getOutputFileBase() const
Definition: memberdef.cpp:949
A model of a class/file/namespace member symbol.
Definition: memberdef.h:43
DefType definitionType() const
Definition: memberdef.h:53
int briefLine() const
Definition: definition.cpp:1789
A model of a file symbol.
Definition: filedef.h:64
GroupPri_t
Grouping priority.
Definition: types.h:65
QCString documentation() const
Definition: memberdef.cpp:5114
This struct is used to capture the tag file information for an Entry.
Definition: entry.h:50
QCString anchor() const
Definition: memberdef.cpp:1039
Simplified and optimized version of QTextStream.
Definition: ftextstream.h:11
int docLine() const
Definition: definition.cpp:1695
bool isLinkable() const
Definition: memberdef.cpp:1169
Relationship
Kind of member relationship.
Definition: types.h:38
bool isBriefSectionVisible() const
Definition: memberdef.cpp:1297
QCString inbodyFile() const
Definition: definition.cpp:1811
A class representing a group of members.
Definition: membergroup.h:40
void writeDocumentation(MemberList *ml, int memCount, int memTotal, OutputList &ol, const char *scopeName, Definition *container, bool inGroup, bool showEnumValues=FALSE, bool showInline=FALSE)
Definition: memberdef.cpp:2541
const QCString & name() const
Definition: definition.h:114
void setDocumentation(const char *d, const char *docFile, int docLine, bool stripWhiteSpace=TRUE)
Definition: memberdef.cpp:1134
DefType
Definition: definition.h:71
void setInbodyDocumentation(const char *d, const char *inbodyFile, int inbodyLine)
Definition: memberdef.cpp:1146
Specifier
Virtualness of a member.
Definition: types.h:29
QCString briefFile() const
Definition: definition.cpp:1794
A list of MemberDef objects.
Definition: memberlist.h:32
bool isLinkableInProject() const
Definition: memberdef.cpp:1158
The QTextStream class provides basic functions for reading and writing text using a QIODevice...
Definition: qtextstream.h:53
~MemberDef()
Definition: memberdef.cpp:861
Class representing a list of output generators that are written to in parallel.
Definition: outputlist.h:54
bool hasDocumentation() const
Definition: memberdef.cpp:3303
Definition: memberdef.cpp:470
ClassDef * getClassDefOfAnonymousType()
Definition: memberdef.cpp:1244
Protection
Protection level of members.
Definition: types.h:26
int inbodyLine() const
Definition: definition.cpp:1806
QCString briefDescription(bool abbr=FALSE) const
Definition: memberdef.cpp:5102
QCString getReference() const
Definition: memberdef.cpp:1009
A sorted dictionary of Example objects.
Definition: example.h:36
This is an alternative implementation of QCString.
Definition: qcstring.h:131
A model of a group of symbols.
Definition: groupdef.h:45
QCString docFile() const
Definition: definition.cpp:1700
A class representing of a compound symbol.
Definition: classdef.h:59
void setBriefDescription(const char *b, const char *briefFile, int briefLine)
Definition: memberdef.cpp:1140
void writeDeclaration(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, bool inGroup, ClassDef *inheritFrom=0, const char *inheritId=0)
Definition: memberdef.cpp:1419
MemberDef(const char *defFileName, int defLine, int defColumn, const char *type, const char *name, const char *args, const char *excp, Protection prot, Specifier virt, bool stat, Relationship related, MemberType t, const ArgumentList *tal, const ArgumentList *al)
Definition: memberdef.cpp:744
QCString displayName(bool=TRUE) const
Definition: memberdef.cpp:4916