Doxygen
|
Public Member Functions | |
DirDefImpl (const QCString &path) | |
~DirDefImpl () override | |
DefType | definitionType () const override |
CodeSymbolType | codeSymbolType () const override |
QCString | getOutputFileBase () const override |
QCString | anchor () const override |
bool | isLinkableInProject () const override |
bool | isLinkable () const override |
QCString | displayName (bool=TRUE) const override |
const QCString | shortName () const override |
void | addSubDir (DirDef *subdir) override |
const FileList & | getFiles () const override |
void | addFile (FileDef *fd) override |
const DirList & | subDirs () const override |
bool | hasSubdirs () const override |
int | level () const override |
DirDef * | parent () const override |
int | dirIndex () const override |
const UsedDirLinkedMap & | usedDirs () const override |
bool | isParentOf (const DirDef *dir) const override |
bool | depGraphIsTrivial () const override |
QCString | shortTitle () const override |
bool | hasDetailedDescription () const override |
void | writeDocumentation (OutputList &ol) override |
void | writeTagFile (TextStream &t) override |
void | setDiskName (const QCString &name) override |
void | sort () override |
void | setParent (DirDef *parent) override |
void | setDirIndex (int index) override |
void | setLevel () override |
void | addUsesDependency (const DirDef *usedDir, const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect) override |
Add as "uses" dependency between this dir and dir, that was caused by a dependency on file fd. | |
void | computeDependencies () override |
Computes the dependencies between directories. | |
bool | hasDirectoryGraph () const override |
void | overrideDirectoryGraph (bool e) override |
Public Member Functions inherited from DefinitionMixin< DirDef > | |
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 DirDef | |
Public Member Functions inherited from DefinitionMutable | |
Public Member Functions inherited from Definition |
Static Public Member Functions | |
static DirDef * | mergeDirectoryInTree (const QCString &path) |
Private Member Functions | |
void | writeDetailedDescription (OutputList &ol, const QCString &title) |
void | writeBriefDescription (OutputList &ol) |
void | writeDirectoryGraph (OutputList &ol) |
void | writeSubDirList (OutputList &ol) |
void | writeFileList (OutputList &ol) |
void | startMemberDeclarations (OutputList &ol) |
void | endMemberDeclarations (OutputList &ol) |
Static Private Member Functions | |
static DirDef * | createNewDir (const QCString &path) |
static bool | matchPath (const QCString &path, const StringVector &l) |
Private Attributes | |
DirList | m_subdirs |
QCString | m_dispName |
QCString | m_shortName |
QCString | m_diskName |
FileList | m_fileList |
int | m_dirIndex = -1 |
int | m_level |
DirDef * | m_parent |
UsedDirLinkedMap | m_usedDirs |
bool | m_hasDirectoryGraph = false |
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 37 of file dirdef.cpp.
DirDefImpl::DirDefImpl | ( | const QCString & | path | ) |
Definition at line 116 of file dirdef.cpp.
References Config_getBool, DefinitionMixin< DirDef >::DefinitionMixin(), m_diskName, m_dispName, m_hasDirectoryGraph, m_level, m_parent, m_shortName, DefinitionMixin< DirDef >::setLocalName(), and stripFromPath().
|
override |
Definition at line 145 of file dirdef.cpp.
|
overridevirtual |
Implements DirDef.
Definition at line 176 of file dirdef.cpp.
References m_fileList, and FileDef::setDirDef().
|
overridevirtual |
Implements DirDef.
Definition at line 159 of file dirdef.cpp.
References m_subdirs, DefinitionMutable::setOuterScope(), and DirDef::setParent().
|
overridevirtual |
Add as "uses" dependency between this dir and dir, that was caused by a dependency on file fd.
srcDirect and dstDirect indicate if it is a direct dependencies (true) or if the dependencies was indirect (e.g. a parent dir that has a child dir that has the dependencies)
Implements DirDef.
Definition at line 683 of file dirdef.cpp.
References UsedDir::addFileDep(), DirDef::addUsesDependency(), addUsesDependency(), AUTO_TRACE, AUTO_TRACE_ADD, FALSE, UsedDir::findFilePair(), Definition::getOutputFileBase(), FilePair::key(), m_usedDirs, Definition::name(), DirDef::parent(), parent(), qPrint(), DirDef::shortName(), shortName(), and TRUE.
Referenced by addUsesDependency(), and computeDependencies().
|
inlineoverridevirtual |
Returns the anchor within a page where this item can be found
Implements Definition.
Definition at line 47 of file dirdef.cpp.
|
inlineoverridevirtual |
Used for syntax highlighting symbol class
Implements Definition.
Definition at line 45 of file dirdef.cpp.
References Default.
|
overridevirtual |
Computes the dependencies between directories.
Implements DirDef.
Definition at line 743 of file dirdef.cpp.
References addUsesDependency(), AUTO_TRACE, AUTO_TRACE_ADD, m_fileList, m_usedDirs, Definition::name(), DefinitionMixin< DirDef >::name(), and shortName().
Definition at line 823 of file dirdef.cpp.
References ASSERT, AUTO_TRACE, AUTO_TRACE_ADD, createDirDef(), Doxygen::dirLinkedMap, and DirDef::shortName().
Referenced by mergeDirectoryInTree().
|
inlineoverridevirtual |
Use this for dynamic inspection of the type of the derived class
Implements Definition.
Definition at line 44 of file dirdef.cpp.
References definitionType(), and Definition::TypeDir.
Referenced by definitionType().
|
overridevirtual |
|
inlineoverridevirtual |
Returns the name of the definition as it appears in the output
Implements Definition.
Definition at line 50 of file dirdef.cpp.
References m_dispName, and TRUE.
Referenced by writeDirectoryGraph(), and writeTagFile().
|
private |
Definition at line 482 of file dirdef.cpp.
References OutputList::endMemberSections().
Referenced by writeDocumentation().
|
inlineoverridevirtual |
|
overridevirtual |
Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.
Implements Definition.
Definition at line 222 of file dirdef.cpp.
References AUTO_TRACE, encodeDirName(), and m_diskName.
Referenced by writeDocumentation(), and writeTagFile().
|
overridevirtual |
Implements DirDef.
Definition at line 492 of file dirdef.cpp.
References DefinitionMixin< DirDef >::briefDescription(), Config_getBool, DefinitionMixin< DirDef >::documentation(), and QCString::isEmpty().
|
overridevirtual |
|
inlineoverridevirtual |
|
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 154 of file dirdef.cpp.
References isLinkableInProject(), and DefinitionMixin< DirDef >::isReference().
|
overridevirtual |
Returns TRUE iff it is possible to link to this item within this project.
Implements Definition.
Definition at line 149 of file dirdef.cpp.
References DefinitionMixin< DirDef >::isReference().
Referenced by isLinkable().
|
overridevirtual |
Implements DirDef.
Definition at line 775 of file dirdef.cpp.
References FALSE, isParentOf(), DirDef::parent(), and TRUE.
Referenced by isParentOf().
|
inlineoverridevirtual |
|
staticprivate |
Definition at line 838 of file dirdef.cpp.
References FALSE, QCString::length(), prefix, qstricmp_sort(), and TRUE.
Referenced by mergeDirectoryInTree().
strip part of path if it matches one of the paths in the Config_getList(STRIP_FROM_PATH) list
Definition at line 854 of file dirdef.cpp.
References AUTO_TRACE, Config_getList, createNewDir(), QCString::find(), QCString::left(), matchPath(), and removeLongPathMarker().
Referenced by buildDirectories().
|
overridevirtual |
|
inlineoverridevirtual |
Implements DirDef.
Definition at line 58 of file dirdef.cpp.
References m_parent.
Referenced by addUsesDependency(), and setLevel().
|
overridevirtual |
|
inlineoverridevirtual |
Implements DirDef.
Definition at line 67 of file dirdef.cpp.
References m_diskName, and DefinitionMixin< DirDef >::name().
|
overridevirtual |
Implements DirDef.
Definition at line 661 of file dirdef.cpp.
References DirDef::level(), m_level, parent(), and DirDef::setLevel().
|
overridevirtual |
|
inlineoverridevirtual |
Implements DirDef.
Definition at line 51 of file dirdef.cpp.
References m_shortName.
Referenced by addUsesDependency(), computeDependencies(), and writeDirectoryGraph().
|
overridevirtual |
Implements DirDef.
Definition at line 487 of file dirdef.cpp.
References m_shortName, and theTranslator.
Referenced by writeDocumentation().
|
overridevirtual |
Implements DirDef.
Definition at line 182 of file dirdef.cpp.
References compareDirDefs(), compareFileDefs(), m_fileList, and m_subdirs.
|
private |
Definition at line 477 of file dirdef.cpp.
References OutputList::startMemberSections().
Referenced by writeDocumentation().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
private |
Definition at line 276 of file dirdef.cpp.
References AUTO_TRACE, DefinitionMixin< DirDef >::briefDescription(), DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, createDocParser(), OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< DirDef >::documentation(), OutputList::enable(), OutputList::endParagraph(), OutputList::endTextLink(), FALSE, DefinitionMixin< DirDef >::hasBriefDescription(), 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().
|
private |
Definition at line 229 of file dirdef.cpp.
References AUTO_TRACE, DefinitionMixin< DirDef >::briefDescription(), DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< DirDef >::docFile(), DefinitionMixin< DirDef >::docLine(), DefinitionMixin< DirDef >::documentation(), OutputList::enable(), OutputList::enableAll(), OutputList::endGroupHeader(), FALSE, OutputList::generateDoc(), Html, Latex, Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), RTF, OutputList::startGroupHeader(), TRUE, OutputList::writeAnchor(), OutputList::writeRuler(), and OutputList::writeString().
Referenced by writeDocumentation().
|
private |
Definition at line 315 of file dirdef.cpp.
References Config_getBool, OutputList::disable(), displayName(), OutputList::enableAll(), OutputList::endDirDepGraph(), DotDirDeps::isTrivial(), m_hasDirectoryGraph, Man, msg(), OutputList::parseText(), qPrint(), shortName(), OutputList::startDirDepGraph(), and theTranslator.
Referenced by writeDocumentation().
|
overridevirtual |
Implements DirDef.
Definition at line 537 of file dirdef.cpp.
References AUTO_TRACE, Config_getBool, OutputList::disable(), OutputList::disableAllBut(), OutputList::enableAll(), OutputList::endContents(), endFileWithNavPath(), endMemberDeclarations(), OutputList::endQuickIndices(), endTitle(), err, Files, DefinitionMixin< DirDef >::getLanguage(), getOutputFileBase(), Html, LayoutDocManager::instance(), m_dispName, DefinitionMixin< DirDef >::name(), OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), qPrint(), shortTitle(), OutputList::startContents(), startFile(), startMemberDeclarations(), startTitle(), theTranslator, LayoutDocEntrySection::title(), writeBriefDescription(), writeDetailedDescription(), writeDirectoryGraph(), writeFileList(), DefinitionMixin< DirDef >::writeNavigationPath(), and writeSubDirList().
|
private |
Definition at line 394 of file dirdef.cpp.
References AUTO_TRACE, AUTO_TRACE_ADD, DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), OutputList::docify(), OutputList::enableAll(), OutputList::endBold(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), OutputList::endTextLink(), FALSE, fileVisibleInIndex(), OutputList::generateDoc(), Html, OutputList::insertMemberAlign(), m_fileList, OutputGenerator::Normal, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startBold(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), OutputList::startTextLink(), theTranslator, TRUE, OutputList::writeObjectLink(), and OutputList::writeString().
Referenced by writeDocumentation().
|
private |
Definition at line 335 of file dirdef.cpp.
References AUTO_TRACE, AUTO_TRACE_ADD, DefinitionMixin< DirDef >::briefFile(), DefinitionMixin< DirDef >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), OutputList::enableAll(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), FALSE, OutputList::generateDoc(), Html, OutputList::insertMemberAlign(), m_subdirs, OutputGenerator::Normal, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, TRUE, OutputList::writeObjectLink(), and OutputList::writeString().
Referenced by writeDocumentation().
|
overridevirtual |
Implements DirDef.
Definition at line 498 of file dirdef.cpp.
References addHtmlExtensionIfMissing(), convertToXML(), displayName(), getOutputFileBase(), LayoutDocManager::instance(), m_fileList, m_subdirs, DefinitionMixin< DirDef >::name(), stripFromPath(), and DefinitionMixin< DirDef >::writeDocAnchorsToTagFile().
|
private |
Definition at line 100 of file dirdef.cpp.
Referenced by dirIndex(), and setDirIndex().
|
private |
Definition at line 98 of file dirdef.cpp.
Referenced by DirDefImpl(), getOutputFileBase(), and setDiskName().
|
private |
Definition at line 96 of file dirdef.cpp.
Referenced by DirDefImpl(), displayName(), and writeDocumentation().
|
private |
Definition at line 99 of file dirdef.cpp.
Referenced by addFile(), computeDependencies(), getFiles(), sort(), writeFileList(), and writeTagFile().
|
private |
Definition at line 104 of file dirdef.cpp.
Referenced by DirDefImpl(), hasDirectoryGraph(), overrideDirectoryGraph(), and writeDirectoryGraph().
|
private |
Definition at line 101 of file dirdef.cpp.
Referenced by DirDefImpl(), level(), and setLevel().
|
private |
Definition at line 102 of file dirdef.cpp.
Referenced by depGraphIsTrivial(), DirDefImpl(), parent(), and setParent().
|
private |
Definition at line 97 of file dirdef.cpp.
Referenced by DirDefImpl(), shortName(), and shortTitle().
|
private |
Definition at line 95 of file dirdef.cpp.
Referenced by addSubDir(), hasSubdirs(), sort(), subDirs(), writeSubDirList(), and writeTagFile().
|
private |
Definition at line 103 of file dirdef.cpp.
Referenced by addUsesDependency(), computeDependencies(), depGraphIsTrivial(), and usedDirs().