The FileDef
Class Reference
A model of a file symbol. More...
Declaration
Included Headers
Base classes
class | DefinitionMutable |
class | Definition |
The common base class of all entity definitions found in the sources. More... | |
Derived Classes
class | DefinitionMixin<Base> |
Public Member Functions Index
QCString | fileName () const =0 |
QCString | includeName () const =0 |
QCString | includeDependencyGraphFileName () const =0 |
QCString | includedByDependencyGraphFileName () const =0 |
QCString | absFilePath () const =0 |
const QCString & | docName () const =0 |
bool | isSource () const =0 |
bool | isDocumentationFile () const =0 |
const Definition * | getSourceDefinition (int lineNr) const =0 |
const MemberDef * | getSourceMember (int lineNr) const =0 |
QCString | getPath () const =0 |
QCString | getVersion () const =0 |
bool | isIncluded (const QCString &name) const =0 |
DirDef * | getDirDef () const =0 |
ModuleDef * | getModuleDef () const =0 |
const LinkedRefMap< NamespaceDef > & | getUsedNamespaces () const =0 |
const LinkedRefMap< const Definition > & | getUsedDefinitions () const =0 |
const IncludeInfoList & | includeFileList () const =0 |
const IncludeInfoList & | includedByFileList () const =0 |
void | getAllIncludeFilesRecursively (StringVector &incFiles) const =0 |
MemberList * | getMemberList (MemberListType lt) const =0 |
const MemberLists & | getMemberLists () const =0 |
const MemberGroupList & | getMemberGroups () const =0 |
const NamespaceLinkedRefMap & | getNamespaces () const =0 |
const ConceptLinkedRefMap & | getConcepts () const =0 |
const ClassLinkedRefMap & | getClasses () const =0 |
QCString | title () const =0 |
bool | hasDetailedDescription () const =0 |
QCString | fileVersion () const =0 |
bool | subGrouping () const =0 |
void | countMembers ()=0 |
int | numDocMembers () const =0 |
int | numDecMembers () const =0 |
void | addSourceRef (int line, const Definition *d, const MemberDef *md)=0 |
void | writeDocumentation (OutputList &ol)=0 |
void | writeMemberPages (OutputList &ol)=0 |
void | writeTagFile (TextStream &t)=0 |
void | writeSourceHeader (OutputList &ol)=0 |
void | writeSourceBody (OutputList &ol, ClangTUParser *clangParser)=0 |
void | writeSourceFooter (OutputList &ol)=0 |
void | parseSource (ClangTUParser *clangParser)=0 |
void | setDiskName (const QCString &name)=0 |
void | insertMember (MemberDef *md)=0 |
void | insertClass (ClassDef *cd)=0 |
void | insertConcept (ConceptDef *cd)=0 |
void | insertNamespace (NamespaceDef *nd)=0 |
void | removeMember (MemberDef *md)=0 |
void | computeAnchors ()=0 |
void | setDirDef (DirDef *dd)=0 |
void | setModuleDef (ModuleDef *mod)=0 |
void | addUsingDirective (NamespaceDef *nd)=0 |
void | addUsingDeclaration (const Definition *d)=0 |
void | combineUsingRelations ()=0 |
bool | generateSourceFile () const =0 |
void | sortMemberLists ()=0 |
void | addIncludeDependency (const FileDef *fd, const QCString &incName, IncludeKind kind)=0 |
void | addIncludedByDependency (const FileDef *fd, const QCString &incName, IncludeKind kind)=0 |
void | addMembersToMemberGroup ()=0 |
void | distributeMemberGroupDocumentation ()=0 |
void | findSectionsInDocumentation ()=0 |
void | addIncludedUsingDirectives (FileDefSet &visitedFiles)=0 |
void | addListReferences ()=0 |
bool | hasIncludeGraph () const =0 |
bool | hasIncludedByGraph () const =0 |
void | overrideIncludeGraph (bool e)=0 |
void | overrideIncludedByGraph (bool e)=0 |
Description
A model of a file symbol.
An object of this class contains all file information that is gathered. This includes the members and compounds defined in the file.
The member writeDocumentation() can be used to generate the page of documentation to HTML and LaTeX.
Definition at line 98 of file filedef.h.
Public Member Functions
absFilePath()
|
Returns the absolute path including the file name.
Definition at line 115 of file filedef.h.
Reference absFilePath.
Referenced by MemberDefImpl::_writeGroupInclude, absFilePath, FileDefImpl::addIncludedByDependency, FileDefImpl::addIncludeDependency, addIncludeFile, addVariableToFile, buildFunctionList, DotInclDepGraph::buildGraph, VhdlDocGen::createFlowChart, DotInclDepGraph::DotInclDepGraph, DocParser::findAndCopyImage, findFile, findFilePath, generateFileSources, generateSqlite3ForClass, generateSqlite3ForFile, generateSqlite3ForMember, generateXMLForClass, generateXMLForMember, haveEqualFileNames, DocbookDocVisitor::operator(), XmlDocVisitor::operator(), DocDiaFile::parse, DocDotFile::parse, DocMscFile::parse, DocPlantUmlFile::parse, CCodeParser::parseCode, readTextFileByName, ModuleManager::resolveImports and writeXMLCodeBlock.
addIncludedByDependency()
|
Definition at line 195 of file filedef.h.
Reference addIncludedByDependency.
Referenced by addIncludedByDependency and ModuleManager::resolveImports.
addIncludeDependency()
|
Definition at line 194 of file filedef.h.
Reference addIncludeDependency.
Referenced by addIncludeDependency and ModuleManager::resolveImports.
addIncludedUsingDirectives()
|
Definition at line 200 of file filedef.h.
Reference addIncludedUsingDirectives.
Referenced by addIncludedUsingDirectives.
addListReferences()
|
Definition at line 202 of file filedef.h.
Reference addListReferences.
Referenced by addListReferences.
addMembersToMemberGroup()
|
Definition at line 197 of file filedef.h.
Reference addMembersToMemberGroup.
Referenced by addMembersToMemberGroup.
addSourceRef()
|
addUsingDeclaration()
|
Definition at line 188 of file filedef.h.
Reference addUsingDeclaration.
Referenced by addUsingDeclaration, findUsingDeclarations and findUsingDeclImports.
addUsingDirective()
|
Definition at line 187 of file filedef.h.
Reference addUsingDirective.
Referenced by addUsingDirective and findUsingDirectives.
combineUsingRelations()
|
Definition at line 189 of file filedef.h.
Reference combineUsingRelations.
Referenced by combineUsingRelations.
computeAnchors()
|
countMembers()
|
distributeMemberGroupDocumentation()
|
Definition at line 198 of file filedef.h.
Reference distributeMemberGroupDocumentation.
Referenced by distributeMemberGroupDocumentation.
docName()
|
Returns the name as it is used in the documentation
Definition at line 118 of file filedef.h.
Reference docName.
Referenced by PerlModGenerator::addIncludeInfo, docName, DotInclDepGraph::DotInclDepGraph, generateFileSources, generateSqlite3ForClass and writeIncludeInfo.
fileName()
|
Returns the unique file name (this may include part of the path).
Definition at line 105 of file filedef.h.
Reference fileName.
Referenced by fileName, CCodeParser::parseCode, FortranCodeParser::parseCode, LexCodeParser::parseCode, PythonCodeParser::parseCode, SQLCodeParser::parseCode, VHDLCodeParser::parseCode, XMLCodeParser::parseCode and ModuleManager::resolveImports.
fileVersion()
|
findSectionsInDocumentation()
|
Definition at line 199 of file filedef.h.
Reference findSectionsInDocumentation.
Referenced by findSectionsInDocumentation.
generateSourceFile()
|
Definition at line 191 of file filedef.h.
Reference generateSourceFile.
Referenced by addIncludeFile, addSourceReferences, DotInclDepGraph::buildGraph, fileVisibleInIndex, generateFileSources, generateSourceFile, FileDefImpl::writeIncludeFiles and writeSingleFileIndex.
getAllIncludeFilesRecursively()
|
Definition at line 142 of file filedef.h.
Reference getAllIncludeFilesRecursively.
Referenced by generateFileSources and getAllIncludeFilesRecursively.
getClasses()
|
Definition at line 151 of file filedef.h.
Reference getClasses.
Referenced by generateSqlite3ForFile, generateXMLForFile and getClasses.
getConcepts()
|
Definition at line 150 of file filedef.h.
Reference getConcepts.
Referenced by generateSqlite3ForFile, generateXMLForFile and getConcepts.
getDirDef()
|
Definition at line 136 of file filedef.h.
Reference getDirDef.
Referenced by getDirDef and writePartialFilePath.
getMemberGroups()
|
Definition at line 148 of file filedef.h.
Reference getMemberGroups.
Referenced by PerlModGenerator::generatePerlModForFile, generateSqlite3ForFile, generateXMLForFile and getMemberGroups.
getMemberList()
|
Definition at line 144 of file filedef.h.
Reference getMemberList.
Referenced by generateDEFForFile, PerlModGenerator::generatePerlModForFile and getMemberList.
getMemberLists()
|
Definition at line 145 of file filedef.h.
Reference getMemberLists.
Referenced by generateSqlite3ForFile, generateXMLForFile and getMemberLists.
getModuleDef()
|
Definition at line 137 of file filedef.h.
Reference getModuleDef.
Referenced by findModuleDef and getModuleDef.
getNamespaces()
|
Definition at line 149 of file filedef.h.
Reference getNamespaces.
Referenced by generateSqlite3ForFile, generateXMLForFile and getNamespaces.
getPath()
|
Returns the absolute path of this file.
Definition at line 129 of file filedef.h.
Reference getPath.
Referenced by findFileDef, getPath, ModuleDefImpl::writeFiles and writeSingleFileIndex.
getSourceDefinition()
|
Definition at line 125 of file filedef.h.
Reference getSourceDefinition.
Referenced by getSourceDefinition.
getSourceMember()
|
getUsedDefinitions()
|
Definition at line 139 of file filedef.h.
Reference getUsedDefinitions.
Referenced by getUsedDefinitions and SymbolResolver::Private::isAccessibleFrom.
getUsedNamespaces()
|
Definition at line 138 of file filedef.h.
Reference getUsedNamespaces.
Referenced by findGlobalMember, findMember, findScopeFromQualifiedName, findUsingDirectives, generateClassOrGlobalLink, getUsedNamespaces and SymbolResolver::Private::isAccessibleFrom.
getVersion()
|
Returns version of this file.
Definition at line 132 of file filedef.h.
Reference getVersion.
Referenced by getVersion.
hasDetailedDescription()
|
Definition at line 154 of file filedef.h.
Reference hasDetailedDescription.
Referenced by hasDetailedDescription.
hasIncludedByGraph()
|
Definition at line 206 of file filedef.h.
Reference hasIncludedByGraph.
Referenced by hasIncludedByGraph.
hasIncludeGraph()
|
includedByDependencyGraphFileName()
|
Definition at line 112 of file filedef.h.
Reference includedByDependencyGraphFileName.
Referenced by DotInclDepGraph::DotInclDepGraph and includedByDependencyGraphFileName.
includedByFileList()
|
Definition at line 141 of file filedef.h.
Reference includedByFileList.
Referenced by DotInclDepGraph::buildGraph, PerlModGenerator::generatePerlModForFile, generateSqlite3ForFile, generateXMLForFile and includedByFileList.
includeDependencyGraphFileName()
|
Definition at line 110 of file filedef.h.
Reference includeDependencyGraphFileName.
Referenced by DotInclDepGraph::DotInclDepGraph and includeDependencyGraphFileName.
includeFileList()
|
Definition at line 140 of file filedef.h.
Reference includeFileList.
Referenced by DotInclDepGraph::buildGraph, PerlModGenerator::generatePerlModForFile, generateSqlite3ForFile, generateXMLForFile, getAllIncludeFilesRecursively and includeFileList.
includeName()
|
Returns the name of the verbatim copy of this file (if any).
Definition at line 108 of file filedef.h.
Reference includeName.
Referenced by includeName, FileDefImpl::writeIncludeFiles and writeSingleFileIndex.
insertClass()
|
Definition at line 178 of file filedef.h.
Reference insertClass.
Referenced by addClassToContext, createTagLessInstance, findUsingDeclImports and insertClass.
insertConcept()
|
Definition at line 179 of file filedef.h.
Reference insertConcept.
Referenced by addConceptToContext and insertConcept.
insertMember()
|
Definition at line 177 of file filedef.h.
Reference insertMember.
Referenced by addGlobalFunction, addVariableToFile, buildFunctionList, findEnums, findUsingDeclImports, insertMember, NamespaceDefImpl::insertMember and insertMemberAlias.
insertNamespace()
|
Definition at line 180 of file filedef.h.
Reference insertNamespace.
Referenced by buildNamespaceList, findUsingDirectives and insertNamespace.
isDocumentationFile()
|
Definition at line 123 of file filedef.h.
Reference isDocumentationFile.
Referenced by fileVisibleInIndex, isDocumentationFile and writeSingleFileIndex.
isIncluded()
|
Definition at line 134 of file filedef.h.
References isIncluded and Definition::name.
Referenced by isIncluded.
isSource()
|
Returns TRUE if this file is a source file.
Definition at line 121 of file filedef.h.
Reference isSource.
Referenced by generateFileSources, isSource, parseFilesMultiThreading and parseFilesSingleThreading.
numDecMembers()
|
numDocMembers()
|
overrideIncludedByGraph()
|
Definition at line 209 of file filedef.h.
References createFileDef, overrideIncludedByGraph and toFileDef.
Referenced by buildFileList and overrideIncludedByGraph.
overrideIncludeGraph()
|
Definition at line 208 of file filedef.h.
Reference overrideIncludeGraph.
Referenced by buildFileList and overrideIncludeGraph.
parseSource()
|
Definition at line 174 of file filedef.h.
Reference parseSource.
Referenced by generateFileSources and parseSource.
removeMember()
|
Definition at line 181 of file filedef.h.
Reference removeMember.
Referenced by findMember and removeMember.
setDirDef()
|
Definition at line 184 of file filedef.h.
Reference setDirDef.
Referenced by DirDefImpl::addFile and setDirDef.
setDiskName()
|
Definition at line 175 of file filedef.h.
References Definition::name and setDiskName.
Referenced by generateDiskNames and setDiskName.
setModuleDef()
|
Definition at line 185 of file filedef.h.
Reference setModuleDef.
Referenced by ModuleManager::resolvePartitions and setModuleDef.
sortMemberLists()
|
subGrouping()
|
title()
|
Definition at line 153 of file filedef.h.
Reference title.
Referenced by generateSqlite3ForFile and title.
writeDocumentation()
|
Definition at line 167 of file filedef.h.
Reference writeDocumentation.
Referenced by writeDocumentation.
writeMemberPages()
|
Definition at line 168 of file filedef.h.
Reference writeMemberPages.
Referenced by writeMemberPages.
writeSourceBody()
|
Definition at line 172 of file filedef.h.
Reference writeSourceBody.
Referenced by generateFileSources and writeSourceBody.
writeSourceFooter()
|
Definition at line 173 of file filedef.h.
Reference writeSourceFooter.
Referenced by generateFileSources and writeSourceFooter.
writeSourceHeader()
|
Definition at line 171 of file filedef.h.
Reference writeSourceHeader.
Referenced by generateFileSources and writeSourceHeader.
writeTagFile()
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.