Doxygen
definition.h
浏览该文件的文档.
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17 
18 #ifndef DEFINITION_H
19 #define DEFINITION_H
20 
21 #include <vector>
22 
23 #include "types.h"
24 #include "reflist.h"
25 
26 #ifdef _MSC_VER
27 // To disable 'inherits via dominance' warnings with MSVC.
28 // See also https://stackoverflow.com/a/14487243/784672
29 #pragma warning( disable: 4250 )
30 #endif
31 
32 class FileDef;
33 class OutputList;
34 class SectionRefs;
35 class MemberDef;
36 class MemberVector;
37 class GroupDef;
38 class GroupList;
39 class SectionInfo;
40 class Definition;
41 class DefinitionMutable;
42 class DefinitionImpl;
43 class TextStream;
44 
45 /** Data associated with a detailed description. */
46 struct DocInfo
47 {
49  int line = -1;
51 };
52 
53 /** Data associated with a brief description. */
54 struct BriefInfo
55 {
58  int line = -1;
60 };
61 
62 /** Data associated with description found in the body. */
63 struct BodyInfo
64 {
65  int defLine = -1; //!< line number of the start of the definition
66  int startLine = -1; //!< line number of the start of the definition's body
67  int endLine = -1; //!< line number of the end of the definition's body
68  const FileDef *fileDef = 0; //!< file definition containing the function body
69 };
70 
71 /** The common base class of all entity definitions found in the sources.
72  *
73  * This can be a class or a member function, or a file, or a namespace, etc.
74  * Use definitionType() to find which type of definition this is.
75  */
77 {
78  public:
79  struct Cookie
80  {
81  virtual ~Cookie() {}
82  };
83 
84  /*! Types of derived classes */
85  enum DefType
86  {
87  TypeClass = 0,
88  TypeFile = 1,
91  TypeGroup = 4,
93  TypePage = 6,
94  TypeDir = 7,
96  };
97 
98 
99  //-----------------------------------------------------------------------------------
100  // ---- getters -----
101  //-----------------------------------------------------------------------------------
102 
103  /*! Use this for dynamic inspection of the type of the derived class */
104  virtual DefType definitionType() const = 0;
105 
106  /*! Used for syntax highlighting symbol class */
107  virtual CodeSymbolType codeSymbolType() const = 0;
108 
109  /*! Returns TRUE if this is an alias of another definition */
110  virtual bool isAlias() const = 0;
111 
112  /*! Returns the name of the definition */
113  virtual QCString name() const = 0;
114 
115  /*! Returns TRUE iff this definition has an artificially generated name
116  * (typically starting with a @) that is used for nameless definitions
117  */
118  virtual bool isAnonymous() const = 0;
119 
120  /*! Returns the name of the definition as it appears in the output */
121  virtual QCString displayName(bool includeScope=TRUE) const = 0;
122 
123  /*! Returns the local name without any scope qualifiers. */
124  virtual QCString localName() const = 0;
125 
126  /*! Returns the fully qualified name of this definition
127  */
128  virtual QCString qualifiedName() const = 0;
129 
130  /*! Returns the name of this definition as it appears in the symbol map.
131  */
132  virtual QCString symbolName() const = 0;
133 
134  /*! Returns the base file name (without extension) of this definition.
135  * as it is referenced to/written to disk.
136  */
137  virtual QCString getOutputFileBase() const = 0;
138 
139  /*! Returns the anchor within a page where this item can be found */
140  virtual QCString anchor() const = 0;
141 
142  /*! Returns the name of the source listing of this definition. */
143  virtual QCString getSourceFileBase() const = 0;
144 
145  /*! Returns the anchor of the source listing of this definition. */
146  virtual QCString getSourceAnchor() const = 0;
147 
148  /*! Returns the detailed description of this definition */
149  virtual QCString documentation() const = 0;
150 
151  /*! Returns the line number at which the detailed documentation was found. */
152  virtual int docLine() const = 0;
153 
154  /*! Returns the file in which the detailed documentation block was found.
155  * This can differ from getDefFileName().
156  */
157  virtual QCString docFile() const = 0;
158 
159  /*! Returns the brief description of this definition. This can include commands. */
160  virtual QCString briefDescription(bool abbreviate=FALSE) const = 0;
161 
162  /*! Returns a plain text version of the brief description suitable for use
163  * as a tool tip.
164  */
165  virtual QCString briefDescriptionAsTooltip() const = 0;
166 
167  /*! Returns the line number at which the brief description was found. */
168  virtual int briefLine() const = 0;
169 
170  /*! Returns the documentation found inside the body of a member */
171  virtual QCString inbodyDocumentation() const = 0;
172 
173  /*! Returns the file in which the in body documentation was found */
174  virtual QCString inbodyFile() const = 0;
175 
176  /*! Returns the line at which the first in body documentation
177  part was found */
178  virtual int inbodyLine() const = 0;
179 
180  /*! Returns the file in which the brief description was found.
181  * This can differ from getDefFileName().
182  */
183  virtual QCString briefFile() const = 0;
184 
185  /*! returns the file in which this definition was found */
186  virtual QCString getDefFileName() const = 0;
187 
188  /*! returns the extension of the file in which this definition was found */
189  virtual QCString getDefFileExtension() const = 0;
190 
191  /*! returns the line number at which the definition was found (can be the declaration) */
192  virtual int getDefLine() const = 0;
193 
194  /*! returns the column number at which the definition was found */
195  virtual int getDefColumn() const = 0;
196 
197  /*! Returns TRUE iff the definition is documented
198  * (which could be generated documentation)
199  * @see hasUserDocumentation()
200  */
201  virtual bool hasDocumentation() const = 0;
202 
203  /*! Returns TRUE iff the definition is documented by the user. */
204  virtual bool hasUserDocumentation() const = 0;
205 
206  /*! Returns TRUE iff it is possible to link to this item within this
207  * project.
208  */
209  virtual bool isLinkableInProject() const = 0;
210 
211  /*! Returns TRUE iff it is possible to link to this item. This can
212  * be a link to another project imported via a tag file.
213  */
214  virtual bool isLinkable() const = 0;
215 
216  /*! Returns TRUE iff the name is part of this project and
217  * may appear in the output
218  */
219  virtual bool isVisibleInProject() const = 0;
220 
221  /*! Returns TRUE iff the name may appear in the output */
222  virtual bool isVisible() const = 0;
223 
224  /*! Returns TRUE iff this item is supposed to be hidden from the output. */
225  virtual bool isHidden() const = 0;
226 
227  /*! returns TRUE if this entity was artificially introduced, for
228  * instance because it is used to show a template instantiation relation.
229  */
230  virtual bool isArtificial() const = 0;
231 
232  /*! If this definition was imported via a tag file, this function
233  * returns the tagfile for the external project. This can be
234  * translated into an external link target via
235  * Doxygen::tagDestinationDict
236  */
237  virtual QCString getReference() const = 0;
238 
239  /*! Returns TRUE if this definition is imported via a tag file. */
240  virtual bool isReference() const = 0;
241 
242  /*! Convenience method to return a resolved external link */
243  virtual QCString externalReference(const QCString &relPath) const = 0;
244 
245  /*! Returns the first line of the implementation of this item. See also getDefLine() */
246  virtual int getStartDefLine() const = 0;
247 
248  /*! Returns the first line of the body of this item (applicable to classes and
249  * functions).
250  */
251  virtual int getStartBodyLine() const = 0;
252 
253  /*! Returns the last line of the body of this item (applicable to classes and
254  * functions).
255  */
256  virtual int getEndBodyLine() const = 0;
257 
258  /*! Returns the file in which the body of this item is located or 0 if no
259  * body is available.
260  */
261  virtual const FileDef *getBodyDef() const = 0;
262 
263  /** Returns the programming language this definition was written in. */
264  virtual SrcLangExt getLanguage() const = 0;
265 
266  virtual const GroupList &partOfGroups() const = 0;
267  virtual bool isLinkableViaGroup() const = 0;
268 
269  virtual const RefItemVector &xrefListItems() const = 0;
270 
271  virtual const Definition *findInnerCompound(const QCString &name) const = 0;
272  virtual Definition *getOuterScope() const = 0;
273 
274  virtual const MemberVector &getReferencesMembers() const = 0;
275  virtual const MemberVector &getReferencedByMembers() const = 0;
276 
277  virtual bool hasSections() const = 0;
278  virtual bool hasSources() const = 0;
279 
280  /** returns TRUE if this class has a brief description */
281  virtual bool hasBriefDescription() const = 0;
282 
283  virtual QCString id() const = 0;
284 
285  /** returns the section dictionary, only of importance for pagedef */
286  virtual const SectionRefs &getSectionRefs() const = 0;
287 
288  virtual QCString navigationPathAsString() const = 0;
289  virtual QCString pathFragment() const = 0;
290 
291  //-----------------------------------------------------------------------------------
292  // --- symbol name ----
293  //-----------------------------------------------------------------------------------
294  virtual void _setSymbolName(const QCString &name) = 0;
295  virtual QCString _symbolName() const = 0;
296 
297  // ---------------------------------
298  virtual ~Definition() = default;
299 
300  private:
301  friend class DefinitionImpl;
305  virtual const DefinitionImpl *toDefinitionImpl_() const = 0;
306 };
307 
309 {
310  public:
311 
312 
313  //-----------------------------------------------------------------------------------
314  // ---- setters -----
315  //-----------------------------------------------------------------------------------
316 
317  /*! Sets a new \a name for the definition */
318  virtual void setName(const QCString &name) = 0;
319 
320  /*! Sets a unique id for the symbol. Used for libclang integration. */
321  virtual void setId(const QCString &name) = 0;
322 
323  /*! Set a new file name and position */
324  virtual void setDefFile(const QCString& df,int defLine,int defColumn) = 0;
325 
326  /*! Sets the documentation of this definition to \a d. */
327  virtual void setDocumentation(const QCString &d,const QCString &docFile,int docLine,bool stripWhiteSpace=TRUE) = 0;
328 
329  /*! Sets the brief description of this definition to \a b.
330  * A dot is added to the sentence if not available.
331  */
332  virtual void setBriefDescription(const QCString &b,const QCString &briefFile,int briefLine) = 0;
333 
334  /*! Set the documentation that was found inside the body of an item.
335  * If there was already some documentation set, the new documentation
336  * will be appended.
337  */
338  virtual void setInbodyDocumentation(const QCString &d,const QCString &docFile,int docLine) = 0;
339 
340  /*! Sets the tag file id via which this definition was imported. */
341  virtual void setReference(const QCString &r) = 0;
342 
343  // source references
344  virtual void setBodySegment(int defLine, int bls,int ble) = 0;
345  virtual void setBodyDef(const FileDef *fd) = 0;
346 
347  virtual void setRefItems(const RefItemVector &sli) = 0;
348  virtual void setOuterScope(Definition *d) = 0;
349 
350  virtual void setHidden(bool b) = 0;
351 
352  virtual void setArtificial(bool b) = 0;
353  virtual void setLanguage(SrcLangExt lang) = 0;
354  virtual void setLocalName(const QCString &name) = 0;
355 
356  //-----------------------------------------------------------------------------------
357  // --- actions ----
358  //-----------------------------------------------------------------------------------
359 
360  virtual void makePartOfGroup(const GroupDef *gd) = 0;
361 
362  /*! Add the list of anchors that mark the sections that are found in the
363  * documentation.
364  */
365  virtual void addSectionsToDefinition(const std::vector<const SectionInfo*> &anchorList) = 0;
366  virtual void addSourceReferencedBy(const MemberDef *d) = 0;
367  virtual void addSourceReferences(const MemberDef *d) = 0;
368  virtual void mergeRefItems(Definition *d) = 0;
369  virtual void addInnerCompound(const Definition *d) = 0;
370  virtual void addSectionsToIndex() = 0;
371  virtual void mergeReferences(const Definition *other) = 0;
372  virtual void mergeReferencedBy(const Definition *other) = 0;
373  virtual void computeTooltip() = 0;
374 
375  //-----------------------------------------------------------------------------------
376  // --- writing output ----
377  //-----------------------------------------------------------------------------------
378  virtual void writeSourceDef(OutputList &ol,const QCString &scopeName) const = 0;
379  virtual void writeInlineCode(OutputList &ol,const QCString &scopeName) const = 0;
380  virtual bool hasSourceRefs() const = 0;
381  virtual bool hasSourceReffedBy() const = 0;
382  virtual void writeSourceRefs(OutputList &ol,const QCString &scopeName) const = 0;
383  virtual void writeSourceReffedBy(OutputList &ol,const QCString &scopeName) const = 0;
384  virtual void writeNavigationPath(OutputList &ol) const = 0;
385  virtual void writeQuickMemberLinks(OutputList &,const MemberDef *) const = 0;
386  virtual void writeSummaryLinks(OutputList &) const = 0;
387  virtual void writeDocAnchorsToTagFile(TextStream &) const = 0;
388  virtual void writeToc(OutputList &ol, const LocalToc &lt) const = 0;
389 
390  // ---------------------------------
391  virtual ~DefinitionMutable() = default;
392 
393  private:
395  virtual Definition *toDefinition_() = 0;
396 };
397 
401 
402 /** Reads a fragment from file \a fileName starting with line \a startLine
403  * and ending with line \a endLine. The result is returned as a string
404  * via \a result. The function returns TRUE if successful and FALSE
405  * in case of an error.
406  */
407 bool readCodeFragment(const QCString &fileName,
408  int &startLine,int &endLine,
409  QCString &result);
410 #endif
DefinitionMutable::setInbodyDocumentation
virtual void setInbodyDocumentation(const QCString &d, const QCString &docFile, int docLine)=0
toDefinition
Definition * toDefinition(DefinitionMutable *dm)
Definition: definition.cpp:1950
Definition::getSourceFileBase
virtual QCString getSourceFileBase() const =0
Definition::getDefFileExtension
virtual QCString getDefFileExtension() const =0
DefinitionMutable::addSourceReferences
virtual void addSourceReferences(const MemberDef *d)=0
Definition::hasBriefDescription
virtual bool hasBriefDescription() const =0
returns TRUE if this class has a brief description
DefinitionMutable::writeSummaryLinks
virtual void writeSummaryLinks(OutputList &) const =0
DefinitionMutable::setDocumentation
virtual void setDocumentation(const QCString &d, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE)=0
DefinitionMutable::addSectionsToDefinition
virtual void addSectionsToDefinition(const std::vector< const SectionInfo * > &anchorList)=0
Definition::docLine
virtual int docLine() const =0
DefinitionMutable::hasSourceRefs
virtual bool hasSourceRefs() const =0
DefinitionMutable::writeSourceReffedBy
virtual void writeSourceReffedBy(OutputList &ol, const QCString &scopeName) const =0
BodyInfo::fileDef
const FileDef * fileDef
file definition containing the function body
Definition: definition.h:68
Definition::TypeMember
@ TypeMember
Definition: definition.h:90
Definition::getDefColumn
virtual int getDefColumn() const =0
Definition::toDefinitionMutable
friend DefinitionMutable * toDefinitionMutable(Definition *)
Definition: definition.cpp:1956
DefinitionMutable::writeSourceRefs
virtual void writeSourceRefs(OutputList &ol, const QCString &scopeName) const =0
Definition
The common base class of all entity definitions found in the sources.
Definition: definition.h:76
Definition::id
virtual QCString id() const =0
Definition::isLinkable
virtual bool isLinkable() const =0
types.h
This file contains a number of basic enums and types.
DefinitionMutable::setDefFile
virtual void setDefFile(const QCString &df, int defLine, int defColumn)=0
DefinitionMutable::setLocalName
virtual void setLocalName(const QCString &name)=0
DefinitionMutable::mergeRefItems
virtual void mergeRefItems(Definition *d)=0
Definition::getDefLine
virtual int getDefLine() const =0
DefinitionMutable::setName
virtual void setName(const QCString &name)=0
DefinitionMutable::toDefinition
friend Definition * toDefinition(DefinitionMutable *)
Definition: definition.cpp:1950
DefinitionMutable::setReference
virtual void setReference(const QCString &r)=0
DocInfo::doc
QCString doc
Definition: definition.h:48
Definition::findInnerCompound
virtual const Definition * findInnerCompound(const QCString &name) const =0
Definition::TypePage
@ TypePage
Definition: definition.h:93
BriefInfo::file
QCString file
Definition: definition.h:59
Definition::toDefinitionImpl_
virtual const DefinitionImpl * toDefinitionImpl_() const =0
Definition::getReferencedByMembers
virtual const MemberVector & getReferencedByMembers() const =0
SrcLangExt
SrcLangExt
Language as given by extension
Definition: types.h:41
DocInfo::file
QCString file
Definition: definition.h:50
Definition::isHidden
virtual bool isHidden() const =0
Definition::TypeGroup
@ TypeGroup
Definition: definition.h:91
DefinitionMutable::mergeReferences
virtual void mergeReferences(const Definition *other)=0
Definition::inbodyLine
virtual int inbodyLine() const =0
TextStream
Text streaming class that buffers data.
Definition: textstream.h:33
Definition::briefLine
virtual int briefLine() const =0
Definition::pathFragment
virtual QCString pathFragment() const =0
abbreviate
static QCString abbreviate(const QCString &s, const QCString &name)
Definition: definition.cpp:1592
DefinitionMutable::writeToc
virtual void writeToc(OutputList &ol, const LocalToc &lt) const =0
Definition::docFile
virtual QCString docFile() const =0
DefinitionMutable::writeNavigationPath
virtual void writeNavigationPath(OutputList &ol) const =0
Definition::getLanguage
virtual SrcLangExt getLanguage() const =0
Returns the programming language this definition was written in.
BodyInfo
Data associated with description found in the body.
Definition: definition.h:63
BriefInfo::doc
QCString doc
Definition: definition.h:56
GroupDef
A model of a group of symbols.
Definition: groupdef.h:49
DefinitionMutable::setBodyDef
virtual void setBodyDef(const FileDef *fd)=0
DocInfo::line
int line
Definition: definition.h:49
Definition::getBodyDef
virtual const FileDef * getBodyDef() const =0
LocalToc
Definition: types.h:301
OutputList
Class representing a list of output generators that are written to in parallel.
Definition: outputlist.h:37
Definition::qualifiedName
virtual QCString qualifiedName() const =0
DefinitionMutable::setBriefDescription
virtual void setBriefDescription(const QCString &b, const QCString &briefFile, int briefLine)=0
MemberDef
A model of a class/file/namespace member symbol.
Definition: memberdef.h:45
DocInfo
Data associated with a detailed description.
Definition: definition.h:46
Definition::TypeNamespace
@ TypeNamespace
Definition: definition.h:89
DefinitionMutable::setArtificial
virtual void setArtificial(bool b)=0
Definition::TypePackage
@ TypePackage
Definition: definition.h:92
Definition::externalReference
virtual QCString externalReference(const QCString &relPath) const =0
DefinitionMutable::hasSourceReffedBy
virtual bool hasSourceReffedBy() const =0
Definition::hasSections
virtual bool hasSections() const =0
Definition::isAlias
virtual bool isAlias() const =0
DefinitionMutable::makePartOfGroup
virtual void makePartOfGroup(const GroupDef *gd)=0
BriefInfo::tooltip
QCString tooltip
Definition: definition.h:57
Definition::getReferencesMembers
virtual const MemberVector & getReferencesMembers() const =0
Definition::isAnonymous
virtual bool isAnonymous() const =0
Definition::symbolName
virtual QCString symbolName() const =0
DefinitionMutable
Definition: definition.h:308
Definition::TypeFile
@ TypeFile
Definition: definition.h:88
DefinitionImpl
Definition: definitionimpl.h:26
BriefInfo
Data associated with a brief description.
Definition: definition.h:54
Definition::isVisible
virtual bool isVisible() const =0
Definition::isReference
virtual bool isReference() const =0
Definition::displayName
virtual QCString displayName(bool includeScope=TRUE) const =0
Definition::inbodyDocumentation
virtual QCString inbodyDocumentation() const =0
Definition::~Definition
virtual ~Definition()=default
Definition::name
virtual QCString name() const =0
DefinitionMutable::writeQuickMemberLinks
virtual void writeQuickMemberLinks(OutputList &, const MemberDef *) const =0
Definition::inbodyFile
virtual QCString inbodyFile() const =0
Definition::TypeConcept
@ TypeConcept
Definition: definition.h:95
DefinitionMutable::setOuterScope
virtual void setOuterScope(Definition *d)=0
DefinitionMutable::setLanguage
virtual void setLanguage(SrcLangExt lang)=0
Definition::briefDescription
virtual QCString briefDescription(bool abbreviate=FALSE) const =0
TRUE
#define TRUE
Definition: qcstring.h:36
Definition::TypeDir
@ TypeDir
Definition: definition.h:94
Definition::getOutputFileBase
virtual QCString getOutputFileBase() const =0
Definition::getStartBodyLine
virtual int getStartBodyLine() const =0
MemberVector
A vector of MemberDef object
Definition: memberlist.h:32
Definition::getEndBodyLine
virtual int getEndBodyLine() const =0
BodyInfo::endLine
int endLine
line number of the end of the definition's body
Definition: definition.h:67
DefinitionMutable::computeTooltip
virtual void computeTooltip()=0
Definition::navigationPathAsString
virtual QCString navigationPathAsString() const =0
Definition::partOfGroups
virtual const GroupList & partOfGroups() const =0
BodyInfo::startLine
int startLine
line number of the start of the definition's body
Definition: definition.h:66
reflist.h
Definition::DefType
DefType
Definition: definition.h:85
Definition::TypeClass
@ TypeClass
Definition: definition.h:87
Definition::definitionType
virtual DefType definitionType() const =0
Definition::briefFile
virtual QCString briefFile() const =0
DefinitionMutable::addSourceReferencedBy
virtual void addSourceReferencedBy(const MemberDef *d)=0
GroupList
Definition: groupdef.h:127
Definition::getSectionRefs
virtual const SectionRefs & getSectionRefs() const =0
returns the section dictionary, only of importance for pagedef
Definition::codeSymbolType
virtual CodeSymbolType codeSymbolType() const =0
Definition::hasSources
virtual bool hasSources() const =0
readCodeFragment
bool readCodeFragment(const QCString &fileName, int &startLine, int &endLine, QCString &result)
Reads a fragment from file fileName starting with line startLine and ending with line endLine.
Definition: definition.cpp:719
Definition::getReference
virtual QCString getReference() const =0
BriefInfo::line
int line
Definition: definition.h:58
DefinitionMutable::writeInlineCode
virtual void writeInlineCode(OutputList &ol, const QCString &scopeName) const =0
RefItemVector
std::vector< RefItem * > RefItemVector
Definition: reflist.h:132
DefinitionMutable::setId
virtual void setId(const QCString &name)=0
Definition::anchor
virtual QCString anchor() const =0
DefinitionMutable::writeDocAnchorsToTagFile
virtual void writeDocAnchorsToTagFile(TextStream &) const =0
Definition::hasDocumentation
virtual bool hasDocumentation() const =0
Definition::documentation
virtual QCString documentation() const =0
Definition::getOuterScope
virtual Definition * getOuterScope() const =0
Definition::_setSymbolName
virtual void _setSymbolName(const QCString &name)=0
Definition::isArtificial
virtual bool isArtificial() const =0
SectionRefs
class that represents a list of constant references to sections.
Definition: section.h:98
DefinitionMutable::setBodySegment
virtual void setBodySegment(int defLine, int bls, int ble)=0
Definition::getDefFileName
virtual QCString getDefFileName() const =0
SectionInfo
class that provide information about a section.
Definition: section.h:49
Definition::isVisibleInProject
virtual bool isVisibleInProject() const =0
DefinitionMutable::setRefItems
virtual void setRefItems(const RefItemVector &sli)=0
DefinitionMutable::~DefinitionMutable
virtual ~DefinitionMutable()=default
DefinitionMutable::writeSourceDef
virtual void writeSourceDef(OutputList &ol, const QCString &scopeName) const =0
DefinitionMutable::toDefinition_
virtual Definition * toDefinition_()=0
FileDef
A model of a file symbol.
Definition: filedef.h:73
DefinitionMutable::addInnerCompound
virtual void addInnerCompound(const Definition *d)=0
Definition::toDefinitionMutable_
virtual DefinitionMutable * toDefinitionMutable_()=0
DefinitionMutable::addSectionsToIndex
virtual void addSectionsToIndex()=0
Definition::isLinkableInProject
virtual bool isLinkableInProject() const =0
Definition::isLinkableViaGroup
virtual bool isLinkableViaGroup() const =0
Definition::xrefListItems
virtual const RefItemVector & xrefListItems() const =0
Definition::briefDescriptionAsTooltip
virtual QCString briefDescriptionAsTooltip() const =0
Definition::_symbolName
virtual QCString _symbolName() const =0
DefinitionMutable::setHidden
virtual void setHidden(bool b)=0
toDefinitionMutable
DefinitionMutable * toDefinitionMutable(Definition *d)
Definition: definition.cpp:1956
Definition::getStartDefLine
virtual int getStartDefLine() const =0
Definition::localName
virtual QCString localName() const =0
CodeSymbolType
CodeSymbolType
Definition: types.h:204
BodyInfo::defLine
int defLine
line number of the start of the definition
Definition: definition.h:65
Definition::getSourceAnchor
virtual QCString getSourceAnchor() const =0
DefinitionMutable::mergeReferencedBy
virtual void mergeReferencedBy(const Definition *other)=0
FALSE
#define FALSE
Definition: qcstring.h:33
Definition::hasUserDocumentation
virtual bool hasUserDocumentation() const =0
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108