|
ISLEman
|
The common base class of all entity definitions found in the sources. More...
#include <definition.h>
Classes | |
| struct | Cookie |
Public Member Functions | |
| 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 |
| virtual QCString | displayName (bool includeScope=TRUE) const =0 |
| QCString | localName () const |
| virtual QCString | qualifiedName () const |
| QCString | symbolName () const |
| virtual QCString | getOutputFileBase () const =0 |
| virtual QCString | anchor () const =0 |
| 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 | isLinkableInProject () const =0 |
| virtual bool | isLinkable () const =0 |
| 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 |
| FileDef * | getBodyDef () const |
| SrcLangExt | getLanguage () const |
| Returns the programming language this definition was written in. More... | |
| GroupList * | partOfGroups () const |
| bool | isLinkableViaGroup () const |
| QList< ListItemInfo > * | xrefListItems () const |
| virtual Definition * | findInnerCompound (const char *name) |
| virtual Definition * | getOuterScope () const |
| MemberSDict * | getReferencesMembers () const |
| MemberSDict * | getReferencedByMembers () const |
| bool | hasSections () const |
| bool | hasSources () const |
| bool | hasBriefDescription () const |
| returns TRUE if this class has a brief description | |
| 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 |
| virtual void | writeQuickMemberLinks (OutputList &, MemberDef *) const |
| virtual void | writeSummaryLinks (OutputList &) |
| QCString | pathFragment () const |
| void | writeDocAnchorsToTagFile (FTextStream &) |
| void | setLocalName (const QCString name) |
| void | addSectionsToIndex () |
| void | writeToc (OutputList &ol) |
| void | setCookie (Cookie *cookie) |
| Cookie * | cookie () const |
Public Member Functions inherited from DefinitionIntf | |
| virtual DefType | definitionType () const =0 |
Protected Member Functions | |
| Definition (const Definition &d) | |
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 } |
The common base class of all entity definitions found in the sources.
This can be a class or a member function, or a file, or a namespace, etc. Use definitionType() to find which type of definition this is.
| Definition::Definition | ( | const char * | defFileName, |
| int | defLine, | ||
| int | defColumn, | ||
| const char * | name, | ||
| const char * | b = 0, |
||
| const char * | d = 0, |
||
| bool | isSymbol = TRUE |
||
| ) |
Create a new definition
|
virtual |
Destroys the definition
| void Definition::addSectionsToDefinition | ( | QList< SectionInfo > * | anchorList | ) |
Add the list of anchors that mark the sections that are found in the documentation.
|
pure virtual |
|
virtual |
Returns the brief description of this definition. This can include commands.
Reimplemented in MemberDef.
| QCString Definition::briefDescriptionAsTooltip | ( | ) | const |
Returns a plain text version of the brief description suitable for use as a tool tip.
| QCString Definition::briefFile | ( | ) | const |
Returns the file in which the brief description was found. This can differ from getDefFileName().
| int Definition::briefLine | ( | ) | const |
Returns the line number at which the brief description was found.
|
pure virtual |
| QCString Definition::docFile | ( | ) | const |
Returns the file in which the detailed documentation block was found. This can differ from getDefFileName().
| int Definition::docLine | ( | ) | const |
Returns the line number at which the detailed documentation was found.
|
virtual |
Returns the detailed description of this definition
Reimplemented in MemberDef.
Convenience method to return a resolved external link
| FileDef * Definition::getBodyDef | ( | ) | const |
Returns the file in which the body of this item is located or 0 if no body is available.
|
inline |
returns the column number at which the definition was found
| QCString Definition::getDefFileExtension | ( | ) | const |
returns the extension of the file in which this definition was found
| QCString Definition::getDefFileName | ( | ) | const |
returns the file in which this definition was found
|
inline |
returns the line number at which the definition was found
| int Definition::getEndBodyLine | ( | ) | const |
Returns the last line of the body of this item (applicable to classes and functions).
| SrcLangExt Definition::getLanguage | ( | ) | const |
Returns the programming language this definition was written in.
|
pure virtual |
|
virtual |
|
virtual |
Returns the anchor of the source listing of this definition.
|
virtual |
| int Definition::getStartBodyLine | ( | ) | const |
Returns the first line of the body of this item (applicable to classes and functions).
|
virtual |
Returns TRUE iff the definition is documented (which could be generated documentation)
|
virtual |
Returns TRUE iff the definition is documented by the user.
| QCString Definition::inbodyDocumentation | ( | ) | const |
Returns the documentation found inside the body of a member
| QCString Definition::inbodyFile | ( | ) | const |
Returns the file in which the in body documentation was found
| int Definition::inbodyLine | ( | ) | const |
Returns the line at which the first in body documentation part was found
| bool Definition::isArtificial | ( | ) | const |
returns TRUE if this entity was artificially introduced, for instance because it is used to show a template instantiation relation.
| bool Definition::isHidden | ( | ) | const |
Returns TRUE iff this item is supposed to be hidden from the output.
|
pure virtual |
|
pure virtual |
|
virtual |
|
virtual |
Returns TRUE iff the name may appear in the output
|
virtual |
Returns TRUE iff the name is part of this project and may appear in the output
| QCString Definition::localName | ( | ) | const |
Returns the local name without any scope qualifiers.
|
inline |
Returns the name of the definition
| QCString Definition::navigationPathAsString | ( | ) | const |
Returns the string used in the footer for $navpath when GENERATE_TREEVIEW is enabled
|
virtual |
Returns the fully qualified name of this definition
Reimplemented in MemberDef.
|
virtual |
Sets the brief description of this definition to b. A dot is added to the sentence if not available.
Reimplemented in MemberDef.
|
virtual |
Sets the documentation of this definition to d.
Reimplemented in MemberDef.
| void Definition::setId | ( | const char * | name | ) |
Sets a unique id for the symbol. Used for libclang integration.
|
virtual |
Set the documentation that was found inside the body of an item. If there was already some documentation set, the new documentation will be appended.
Reimplemented in MemberDef.
|
virtual |
Sets a new name for the definition
Reimplemented in ClassDef.
| void Definition::setReference | ( | const char * | r | ) |
Sets the tag file id via which this definition was imported.
| QCString Definition::symbolName | ( | ) | const |
Returns the name of this definition as it appears in the symbol map.
| void Definition::writeDocAnchorsToTagFile | ( | FTextStream & | tagFile | ) |
Writes the documentation anchors of the definition to the Doxygen::tagFile stream.
| void Definition::writeInlineCode | ( | OutputList & | ol, |
| const char * | scopeName | ||
| ) |
Write code of this definition into the documentation
| void Definition::writeSourceDef | ( | OutputList & | ol, |
| const char * | scopeName | ||
| ) |
Write a reference to the source code defining this definition
1.8.12