doxygen
Public Member Functions | List of all members
UsedDir Class Reference

Usage information of a directory. More...

#include <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. More...
 
FilePairfindFilePair (const QCString &name)
 
const FilePairLinkedMapfilePairs () const
 
const DirDefdir () 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 ()
 

Detailed Description

Usage information of a directory.

Member Function Documentation

◆ addFileDep()

void UsedDir::addFileDep ( const FileDef srcFd,
const FileDef dstFd,
bool  srcDirect,
bool  dstDirect 
)

Take up dependency between files.

Parameters
[in]srcFddependent file which depends on dstFd
[in]dstFddependee file on which srcFd depends on
[in]srcDirecttrue iff the source dependency was the direct (not inherited from a sub dir)
[in]dstDirecttrue iff the destination dependency was direct (not inherited from a sub dir)

◆ hasDirectDeps()

bool UsedDir::hasDirectDeps ( ) const
inline

Returns true iff any of the dependencies between source and destination files are direct (i.e.

not "inherited" from sub directories)

◆ hasDirectDstDeps()

bool UsedDir::hasDirectDstDeps ( ) const
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)

◆ hasDirectSrcDeps()

bool UsedDir::hasDirectSrcDeps ( ) const
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)


The documentation for this class was generated from the following files: