Doxygen
|
Public Member Functions | |
ConceptDefImpl (const QCString &fileName, int startLine, int startColumn, const QCString &name, const QCString &tagRef=QCString(), const QCString &tagFile=QCString()) | |
~ConceptDefImpl () override | |
DefType | definitionType () const override |
CodeSymbolType | codeSymbolType () const override |
QCString | getOutputFileBase () const override |
bool | hasDetailedDescription () const override |
QCString | displayName (bool includeScope=true) const override |
const IncludeInfo * | includeInfo () const override |
ArgumentList | getTemplateParameterList () const override |
QCString | anchor () const override |
bool | isLinkableInProject () const override |
bool | isLinkable () const override |
QCString | initializer () const override |
void | writeDeclarationLink (OutputList &ol, bool &found, const QCString &header, bool localNames) const override |
const NamespaceDef * | getNamespaceDef () const override |
const FileDef * | getFileDef () const override |
const ModuleDef * | getModuleDef () const override |
QCString | title () const override |
int | groupId () const override |
void | setIncludeFile (FileDef *fd, const QCString &incName, bool local, bool force) override |
void | setTemplateArguments (const ArgumentList &al) override |
void | setNamespace (NamespaceDef *nd) override |
void | setFileDef (FileDef *fd) override |
void | setModuleDef (ModuleDef *mod) override |
void | writeTagFile (TextStream &) override |
void | writeDocumentation (OutputList &) override |
void | setInitializer (const QCString &init) override |
void | findSectionsInDocumentation () override |
void | setGroupId (int id) override |
void | writeBriefDescription (OutputList &) const |
void | writeAuthorSection (OutputList &ol) const |
void | writeIncludeFiles (OutputList &ol) const |
void | writeDetailedDescription (OutputList &ol, const QCString &title) const |
void | writeDefinition (OutputList &ol, const QCString &title) const |
void | addConceptAttributes (OutputList &ol) const |
Public Member Functions inherited from DefinitionMixin< ConceptDefMutable > | |
DefinitionMixin (const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=nullptr, const char *d=nullptr, bool isSymbol=TRUE) | |
DefinitionMixin (const DefinitionMixin &other) | |
DefinitionMixin (DefinitionMixin &&)=delete | |
DefinitionMixin & | operator= (const DefinitionMixin &other) |
DefinitionMixin & | operator= (DefinitionMixin &&)=delete |
~DefinitionMixin () override=default | |
bool | isAlias () const override |
const QCString & | name () const override |
bool | isAnonymous () const override |
const QCString & | localName () const override |
QCString | qualifiedName () const override |
QCString | symbolName () const override |
QCString | getSourceFileBase () const override |
QCString | getSourceAnchor () const override |
QCString | documentation () const override |
int | docLine () const override |
QCString | docFile () const override |
QCString | briefDescription (bool abbreviate=FALSE) const override |
QCString | briefDescriptionAsTooltip () const override |
int | briefLine () const override |
QCString | inbodyDocumentation () const override |
QCString | inbodyFile () const override |
int | inbodyLine () const override |
QCString | briefFile () const override |
QCString | getDefFileName () const override |
QCString | getDefFileExtension () const override |
int | getDefLine () const override |
int | getDefColumn () const override |
bool | hasDocumentation () const override |
bool | hasUserDocumentation () const override |
bool | isVisibleInProject () const override |
bool | isVisible () const override |
bool | isHidden () const override |
bool | isArtificial () const override |
bool | isExported () const override |
QCString | getReference () const override |
bool | isReference () const override |
QCString | externalReference (const QCString &relPath) const override |
int | getStartDefLine () const override |
int | getStartBodyLine () const override |
int | getEndBodyLine () const override |
const FileDef * | getBodyDef () const override |
SrcLangExt | getLanguage () const override |
const GroupList & | partOfGroups () const override |
bool | isLinkableViaGroup () const override |
const RefItemVector & | xrefListItems () const override |
const Definition * | findInnerCompound (const QCString &name) const override |
Definition * | getOuterScope () const override |
const MemberVector & | getReferencesMembers () const override |
const MemberVector & | getReferencedByMembers () const override |
bool | hasSections () const override |
bool | hasSources () const override |
bool | hasBriefDescription () const override |
QCString | id () const override |
const SectionRefs & | getSectionRefs () const override |
void | setName (const QCString &name) override |
void | setId (const QCString &name) override |
void | setDefFile (const QCString &df, int defLine, int defColumn) override |
void | setDocumentation (const QCString &doc, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE) override |
void | setBriefDescription (const QCString &brief, const QCString &briefFile, int briefLine) override |
void | setInbodyDocumentation (const QCString &doc, const QCString &docFile, int docLine) override |
void | setReference (const QCString &r) override |
void | addSectionsToDefinition (const std::vector< const SectionInfo * > &anchorList) override |
void | setBodySegment (int defLine, int bls, int ble) override |
void | setBodyDef (const FileDef *fd) override |
void | addSourceReferencedBy (MemberDef *md, const QCString &sourceRefName) override |
void | addSourceReferences (MemberDef *md, const QCString &sourceRefName) override |
void | setRefItems (const RefItemVector &sli) override |
void | mergeRefItems (Definition *def) override |
void | mergeReferences (const Definition *other) override |
void | mergeReferencedBy (const Definition *other) override |
void | addInnerCompound (Definition *def) override |
void | setOuterScope (Definition *def) override |
void | setHidden (bool b) override |
void | setArtificial (bool b) override |
void | setExported (bool b) override |
void | setLanguage (SrcLangExt lang) override |
void | writeSourceDef (OutputList &ol) const override |
void | writeInlineCode (OutputList &ol, const QCString &scopeName) const override |
bool | hasSourceRefs () const override |
bool | hasSourceReffedBy () const override |
void | writeSourceRefs (OutputList &ol, const QCString &scopeName) const override |
void | writeSourceReffedBy (OutputList &ol, const QCString &scopeName) const override |
void | makePartOfGroup (GroupDef *gd) override |
void | writeNavigationPath (OutputList &ol) const override |
QCString | navigationPathAsString () const override |
void | writeQuickMemberLinks (OutputList &ol, const MemberDef *md) const override |
void | writeSummaryLinks (OutputList &ol) const override |
QCString | pathFragment () const override |
void | writeDocAnchorsToTagFile (TextStream &fs) const override |
void | setLocalName (const QCString &name) override |
void | writeToc (OutputList &ol, const LocalToc <) const override |
void | computeTooltip () override |
void | _setSymbolName (const QCString &name) override |
QCString | _symbolName () const override |
Public Member Functions inherited from ConceptDefMutable | |
Public Member Functions inherited from DefinitionMutable | |
Public Member Functions inherited from ConceptDef | |
Public Member Functions inherited from Definition |
Private Attributes | |
QCString | m_fileName |
std::unique_ptr< IncludeInfo > | m_incInfo |
NamespaceDef * | m_nspace = nullptr |
FileDef * | m_fileDef = nullptr |
ModuleDef * | m_moduleDef = nullptr |
ArgumentList | m_tArgList |
QCString | m_initializer |
int | m_groupId = -1 |
Additional Inherited Members | |
Public Types inherited from Definition | |
enum | DefType { TypeClass = 0 , TypeFile = 1 , TypeNamespace = 2 , TypeModule = 3 , TypeMember = 4 , TypeGroup = 5 , TypePackage = 6 , TypePage = 7 , TypeDir = 8 , TypeConcept = 9 } |
Definition at line 31 of file conceptdef.cpp.
ConceptDefImpl::ConceptDefImpl | ( | const QCString & | fileName, |
int | startLine, | ||
int | startColumn, | ||
const QCString & | name, | ||
const QCString & | tagRef = QCString(), | ||
const QCString & | tagFile = QCString() ) |
Definition at line 156 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::DefinitionMixin(), QCString::isEmpty(), and DefinitionMixin< ConceptDefMutable >::name().
|
override |
Definition at line 177 of file conceptdef.cpp.
void ConceptDefImpl::addConceptAttributes | ( | OutputList & | ol | ) | const |
Definition at line 500 of file conceptdef.cpp.
References OutputList::disableAllBut(), OutputList::endLabels(), Html, DefinitionMixin< ConceptDefMutable >::isExported(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startLabels(), and OutputList::writeLabel().
Referenced by writeDocumentation().
|
overridevirtual |
Returns the anchor within a page where this item can be found
Implements Definition.
Definition at line 200 of file conceptdef.cpp.
Referenced by writeDeclarationLink().
|
inlineoverridevirtual |
Used for syntax highlighting symbol class
Implements Definition.
Definition at line 41 of file conceptdef.cpp.
References Concept.
|
overridevirtual |
Use this for dynamic inspection of the type of the derived class
Implements Definition.
Definition at line 181 of file conceptdef.cpp.
References Definition::TypeConcept.
|
overridevirtual |
Returns the name of the definition as it appears in the output
Implements Definition.
Definition at line 205 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::localName(), and DefinitionMixin< ConceptDefMutable >::name().
Referenced by title(), writeDeclarationLink(), and writeDocumentation().
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 683 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::briefDescription(), DefinitionMixin< ConceptDefMutable >::docFile(), docFindSections(), DefinitionMixin< ConceptDefMutable >::documentation(), and DefinitionMixin< ConceptDefMutable >::inbodyDocumentation().
|
overridevirtual |
Implements ConceptDef.
Definition at line 276 of file conceptdef.cpp.
References m_fileDef.
|
overridevirtual |
Implements ConceptDef.
Definition at line 281 of file conceptdef.cpp.
References m_moduleDef.
|
overridevirtual |
Implements ConceptDef.
Definition at line 261 of file conceptdef.cpp.
References m_nspace.
|
overridevirtual |
Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.
Implements Definition.
Definition at line 186 of file conceptdef.cpp.
References m_fileName.
Referenced by writeBriefDescription(), writeDeclarationLink(), writeDocumentation(), and writeTagFile().
|
overridevirtual |
Implements ConceptDef.
Definition at line 215 of file conceptdef.cpp.
References m_tArgList.
|
overridevirtual |
|
overridevirtual |
Implements ConceptDef.
Definition at line 191 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::briefDescription(), Config_getBool, DefinitionMixin< ConceptDefMutable >::documentation(), DefinitionMixin< ConceptDefMutable >::getBodyDef(), and DefinitionMixin< ConceptDefMutable >::getStartBodyLine().
Referenced by writeBriefDescription(), and writeDetailedDescription().
|
overridevirtual |
Implements ConceptDef.
Definition at line 210 of file conceptdef.cpp.
References m_incInfo.
|
overridevirtual |
Implements ConceptDef.
Definition at line 417 of file conceptdef.cpp.
References m_initializer.
|
overridevirtual |
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 228 of file conceptdef.cpp.
References isLinkableInProject(), and DefinitionMixin< ConceptDefMutable >::isReference().
Referenced by writeDeclarationLink().
|
overridevirtual |
Returns TRUE iff it is possible to link to this item within this project.
Implements Definition.
Definition at line 220 of file conceptdef.cpp.
References Config_getBool, DefinitionMixin< ConceptDefMutable >::hasDocumentation(), DefinitionMixin< ConceptDefMutable >::isHidden(), and DefinitionMixin< ConceptDefMutable >::isReference().
Referenced by isLinkable().
|
overridevirtual |
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 296 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::id(), and m_groupId.
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 233 of file conceptdef.cpp.
References IncludeLocal, IncludeSystem, QCString::isEmpty(), and m_incInfo.
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 412 of file conceptdef.cpp.
References m_initializer, m_tArgList, DefinitionMixin< ConceptDefMutable >::name(), and templateSpec().
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 271 of file conceptdef.cpp.
References m_moduleDef.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements ConceptDef.
Definition at line 286 of file conceptdef.cpp.
References displayName(), and theTranslator.
Referenced by writeDefinition(), and writeDetailedDescription().
void ConceptDefImpl::writeAuthorSection | ( | OutputList & | ol | ) | const |
Definition at line 488 of file conceptdef.cpp.
References Config_getString, OutputList::disableAllBut(), OutputList::endGroupHeader(), Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startGroupHeader(), theTranslator, and TRUE.
Referenced by writeDocumentation().
void ConceptDefImpl::writeBriefDescription | ( | OutputList & | ol | ) | const |
Definition at line 317 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::briefDescription(), DefinitionMixin< ConceptDefMutable >::briefFile(), DefinitionMixin< ConceptDefMutable >::briefLine(), Config_getBool, createDocParser(), OutputList::disable(), OutputList::disableAllBut(), OutputList::enable(), OutputList::endParagraph(), OutputList::endTextLink(), FALSE, getOutputFileBase(), DefinitionMixin< ConceptDefMutable >::hasBriefDescription(), hasDetailedDescription(), Html, Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), RTF, OutputList::startParagraph(), OutputList::startTextLink(), theTranslator, TRUE, validatingParseDoc(), OutputList::writeDoc(), OutputList::writeString(), and OutputList::writeSynopsis().
Referenced by writeDocumentation().
|
overridevirtual |
Implements ConceptDef.
Definition at line 625 of file conceptdef.cpp.
References anchor(), DefinitionMixin< ConceptDefMutable >::briefDescription(), DefinitionMixin< ConceptDefMutable >::briefFile(), DefinitionMixin< ConceptDefMutable >::briefLine(), Config_getBool, createDocParser(), displayName(), OutputList::docify(), OutputList::endBold(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), FALSE, found, getOutputFileBase(), DefinitionMixin< ConceptDefMutable >::getReference(), OutputList::insertMemberAlign(), QCString::isEmpty(), isLinkable(), OutputGenerator::Normal, OutputList::parseText(), OutputList::startBold(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, TRUE, validatingParseDoc(), OutputList::writeDoc(), OutputList::writeObjectLink(), and OutputList::writeString().
void ConceptDefImpl::writeDefinition | ( | OutputList & | ol, |
const QCString & | title ) const |
Definition at line 422 of file conceptdef.cpp.
References OutputList::codeGenerators(), Config_getBool, Cpp, OutputList::endGroupHeader(), DefinitionMixin< ConceptDefMutable >::getOuterScope(), Doxygen::globalScope, m_fileDef, m_initializer, Definition::name(), Doxygen::parserManager, OutputList::parseText(), OutputCodeList::startCodeFragment(), OutputList::startGroupHeader(), TextStream::str(), and title().
Referenced by writeDocumentation().
void ConceptDefImpl::writeDetailedDescription | ( | OutputList & | ol, |
const QCString & | title ) const |
Definition at line 441 of file conceptdef.cpp.
References DefinitionMixin< ConceptDefMutable >::briefDescription(), DefinitionMixin< ConceptDefMutable >::briefFile(), DefinitionMixin< ConceptDefMutable >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< ConceptDefMutable >::docFile(), DefinitionMixin< ConceptDefMutable >::docLine(), DefinitionMixin< ConceptDefMutable >::documentation(), OutputList::endGroupHeader(), OutputList::endTextBlock(), FALSE, OutputList::generateDoc(), hasDetailedDescription(), Html, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startGroupHeader(), OutputList::startTextBlock(), title(), TRUE, OutputList::writeAnchor(), OutputList::writeRuler(), DefinitionMixin< ConceptDefMutable >::writeSourceDef(), and OutputList::writeString().
Referenced by writeDocumentation().
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 513 of file conceptdef.cpp.
References addConceptAttributes(), addGroupListToTitle(), ConceptVisible, Config_getBool, displayName(), OutputList::endContents(), endFileWithNavPath(), OutputList::endQuickIndices(), endTitle(), err, DefinitionMixin< ConceptDefMutable >::getLanguage(), DefinitionMixin< ConceptDefMutable >::getOuterScope(), getOutputFileBase(), Doxygen::globalScope, LayoutDocManager::instance(), DefinitionMixin< ConceptDefMutable >::name(), OutputList::parseText(), qPrint(), OutputList::startContents(), startFile(), startTitle(), theTranslator, LayoutDocEntrySection::title(), writeAuthorSection(), writeBriefDescription(), writeDefinition(), writeDetailedDescription(), writeIncludeFiles(), and DefinitionMixin< ConceptDefMutable >::writeNavigationPath().
void ConceptDefImpl::writeIncludeFiles | ( | OutputList & | ol | ) | const |
Definition at line 353 of file conceptdef.cpp.
References Cpp, OutputList::disable(), OutputList::disableAllBut(), OutputList::docify(), OutputList::enable(), OutputList::endParagraph(), OutputList::endTypewriter(), Html, includeClose(), includeOpen(), includeStatement(), QCString::isEmpty(), m_incInfo, OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startParagraph(), OutputList::startTypewriter(), and OutputList::writeObjectLink().
Referenced by writeDocumentation().
|
overridevirtual |
Implements ConceptDefMutable.
Definition at line 301 of file conceptdef.cpp.
References addHtmlExtensionIfMissing(), convertToXML(), getOutputFileBase(), DefinitionMixin< ConceptDefMutable >::id(), QCString::isEmpty(), DefinitionMixin< ConceptDefMutable >::name(), and DefinitionMixin< ConceptDefMutable >::writeDocAnchorsToTagFile().
|
private |
Definition at line 83 of file conceptdef.cpp.
Referenced by getFileDef(), setFileDef(), and writeDefinition().
|
private |
Definition at line 80 of file conceptdef.cpp.
Referenced by getOutputFileBase().
|
private |
Definition at line 87 of file conceptdef.cpp.
Referenced by groupId(), and setGroupId().
|
private |
Definition at line 81 of file conceptdef.cpp.
Referenced by includeInfo(), setIncludeFile(), and writeIncludeFiles().
|
private |
Definition at line 86 of file conceptdef.cpp.
Referenced by initializer(), setInitializer(), and writeDefinition().
|
private |
Definition at line 84 of file conceptdef.cpp.
Referenced by getModuleDef(), and setModuleDef().
|
private |
Definition at line 82 of file conceptdef.cpp.
Referenced by getNamespaceDef(), and setNamespace().
|
private |
Definition at line 85 of file conceptdef.cpp.
Referenced by getTemplateParameterList(), setInitializer(), and setTemplateArguments().