Doxygen
|
Usage information of a directory. 更多...
#include <dirdef.h>
Public 成员函数 | |
UsedDir (const DirDef *dir) | |
virtual | ~UsedDir () |
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 属性 | |
const DirDef * | m_dir |
FilePairLinkedMap | m_filePairs |
bool | m_hasDirectDeps = false |
bool | m_hasDirectSrcDeps = false |
bool | m_hasDirectDstDeps = false |
UsedDir::UsedDir | ( | const DirDef * | dir | ) |
在文件 dirdef.cpp 第 751 行定义.
|
virtual |
在文件 dirdef.cpp 第 756 行定义.
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) |
在文件 dirdef.cpp 第 760 行定义.
引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), FilePair::key(), m_filePairs, m_hasDirectDeps, m_hasDirectDstDeps , 以及 m_hasDirectSrcDeps.
被这些函数引用 DirDefImpl::addUsesDependency().
|
inline |
|
inline |
在文件 dirdef.cpp 第 781 行定义.
引用了 LinkedMap< T, Hash, KeyEqual, Map >::find() , 以及 m_filePairs.
被这些函数引用 DirDefImpl::addUsesDependency().
|
inline |
Returns true iff any of the dependencies between source and destination files are direct (i.e.
not "inherited" from sub directories)
引用了 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)
引用了 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)
引用了 m_hasDirectSrcDeps.
void UsedDir::sort | ( | ) |
|
private |
被这些函数引用 addFileDep(), filePairs(), findFilePair() , 以及 sort().
|
private |
被这些函数引用 addFileDep() , 以及 hasDirectDeps().
|
private |
被这些函数引用 addFileDep() , 以及 hasDirectDstDeps().
|
private |
被这些函数引用 addFileDep() , 以及 hasDirectSrcDeps().