The UsedDir
Class Reference
Usage information of a directory. More...
Declaration
Included Headers
Public Constructors Index
UsedDir (const DirDef *dir) | |
Public Member Functions Index
void | addFileDep (const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect) |
Take up dependency between files. More... | |
FilePair * | findFilePair (const QCString &name) |
const FilePairLinkedMap & | filePairs () const |
const DirDef * | dir () const |
bool | hasDirectDeps () const |
Returns true iff any of the dependencies between source and destination files are direct (i.e. More... | |
bool | hasDirectSrcDeps () const |
Returns true iff any of the dependencies from the source file to the destination file are directly coming from a file in the source directory (i.e. More... | |
bool | hasDirectDstDeps () const |
Returns true iff any of the dependencies from the source file to the destination file are directly targeting a file in the destination directory (i.e. More... | |
void | sort () |
Private Member Attributes Index
const DirDef * | m_dir |
FilePairLinkedMap | m_filePairs |
bool | m_hasDirectDeps = false |
bool | m_hasDirectSrcDeps = false |
bool | m_hasDirectDstDeps = false |
Description
Usage information of a directory.
Definition at line 63 of file dirdef.h.
Public Member Functions
addFileDep()
|
Take up dependency between files.
- Parameters
-
[in] srcFd dependent file which depends on dstFd
[in] dstFd dependee file on which srcFd depends on
[in] srcDirect true iff the source dependency was the direct (not inherited from a sub dir)
[in] dstDirect true iff the destination dependency was direct (not inherited from a sub dir)
Declaration at line 75 of file dirdef.h, definition at line 820 of file dirdef.cpp.
References FilePair::key, m_filePairs, m_hasDirectDeps, m_hasDirectDstDeps and m_hasDirectSrcDeps.
Referenced by DirDefImpl::addUsesDependency.
dir()
| inline |
filePairs()
| inline |
Definition at line 77 of file dirdef.h.
Reference m_filePairs.
findFilePair()
|
Declaration at line 76 of file dirdef.h, definition at line 841 of file dirdef.cpp.
Reference m_filePairs.
Referenced by DirDefImpl::addUsesDependency.
hasDirectDeps()
| inline |
Returns true iff any of the dependencies between source and destination files are direct (i.e.
not "inherited" from sub directories)
Definition at line 83 of file dirdef.h.
Reference m_hasDirectDeps.
hasDirectDstDeps()
| inline |
Returns true iff any of the dependencies from the source file to the destination file are directly targeting a file in the destination directory (i.e.
not inherited via sub directories)
Definition at line 93 of file dirdef.h.
Reference m_hasDirectDstDeps.
hasDirectSrcDeps()
| inline |
Returns true iff any of the dependencies from the source file to the destination file are directly coming from a file in the source directory (i.e.
not inherited via sub directories)
Definition at line 88 of file dirdef.h.
Reference m_hasDirectSrcDeps.
sort()
|
Declaration at line 95 of file dirdef.h, definition at line 828 of file dirdef.cpp.
Reference m_filePairs.
Private Member Attributes
m_dir
|
m_filePairs
|
Definition at line 99 of file dirdef.h.
Referenced by addFileDep, filePairs, findFilePair and sort.
m_hasDirectDeps
|
Definition at line 101 of file dirdef.h.
Referenced by addFileDep and hasDirectDeps.
m_hasDirectDstDeps
|
Definition at line 103 of file dirdef.h.
Referenced by addFileDep and hasDirectDstDeps.
m_hasDirectSrcDeps
|
Definition at line 102 of file dirdef.h.
Referenced by addFileDep and hasDirectSrcDeps.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.