Doxygen
|
Usage information of a directory. More...
#include <src/dirdef.h>
Public Member Functions | |
UsedDir (const DirDef *dir) | |
void | addFileDep (const FileDef *srcFd, const FileDef *dstFd, bool srcDirect, bool dstDirect) |
Take up dependency between files. | |
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. | |
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. | |
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. | |
void | sort () |
Private Attributes | |
const DirDef * | m_dir |
FilePairLinkedMap | m_filePairs |
bool | m_hasDirectDeps = false |
bool | m_hasDirectSrcDeps = false |
bool | m_hasDirectDstDeps = false |
UsedDir::UsedDir | ( | const DirDef * | dir | ) |
Definition at line 792 of file dirdef.cpp.
void UsedDir::addFileDep | ( | const FileDef * | srcFd, |
const FileDef * | dstFd, | ||
bool | srcDirect, | ||
bool | dstDirect ) |
Take up dependency between files.
[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) |
Definition at line 797 of file dirdef.cpp.
References FilePair::key(), m_filePairs, m_hasDirectDeps, m_hasDirectDstDeps, and m_hasDirectSrcDeps.
Referenced by DirDefImpl::addUsesDependency().
|
inline |
|
inline |
Definition at line 818 of file dirdef.cpp.
References m_filePairs.
Referenced by DirDefImpl::addUsesDependency().
|
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.
References m_hasDirectDeps.
|
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.
References m_hasDirectDstDeps.
|
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.
References m_hasDirectSrcDeps.
void UsedDir::sort | ( | ) |
Definition at line 805 of file dirdef.cpp.
References m_filePairs.
|
private |
|
private |
Definition at line 99 of file dirdef.h.
Referenced by addFileDep(), filePairs(), findFilePair(), and sort().
|
private |
Definition at line 101 of file dirdef.h.
Referenced by addFileDep(), and hasDirectDeps().
|
private |
Definition at line 103 of file dirdef.h.
Referenced by addFileDep(), and hasDirectDstDeps().
|
private |
Definition at line 102 of file dirdef.h.
Referenced by addFileDep(), and hasDirectSrcDeps().