Public Member Functions | Private Attributes | List of all members
UsedDir Class Reference

#include <dirdef.h>

Public Member Functions

 UsedDir (DirDef *dir, bool inherited)
 
virtual ~UsedDir ()
 
void addFileDep (FileDef *srcFd, FileDef *dstFd)
 
FilePairfindFilePair (const char *name)
 
const FilePairDictfilePairs () const
 
const DirDefdir () const
 
bool inherited () const
 

Private Attributes

DirDefm_dir
 
FilePairDict m_filePairs
 
bool m_inherited
 

Detailed Description

Usage information of a directory.

Definition at line 131 of file dirdef.h.

Constructor & Destructor Documentation

UsedDir::UsedDir ( DirDef dir,
bool  inherited 
)

Definition at line 629 of file dirdef.cpp.

629  :
631 {
633 }
bool inherited() const
Definition: dirdef.h:140
void setAutoDelete(bool val)
Definition: sortdict.h:222
FilePairDict m_filePairs
Definition: dirdef.h:144
DirDef * m_dir
Definition: dirdef.h:143
bool m_inherited
Definition: dirdef.h:145
const bool TRUE
Definition: qglobal.h:371
UsedDir::~UsedDir ( )
virtual

Definition at line 635 of file dirdef.cpp.

636 {
637 }

Member Function Documentation

void UsedDir::addFileDep ( FileDef srcFd,
FileDef dstFd 
)

Definition at line 640 of file dirdef.cpp.

641 {
643  new FilePair(srcFd,dstFd));
644 }
void inSort(const char *key, const T *d)
Definition: sortdict.h:197
FilePairDict m_filePairs
Definition: dirdef.h:144
QCString getOutputFileBase() const
Definition: filedef.h:83
const DirDef* UsedDir::dir ( ) const
inline

Definition at line 139 of file dirdef.h.

139 { return m_dir; }
DirDef * m_dir
Definition: dirdef.h:143
const FilePairDict& UsedDir::filePairs ( ) const
inline

Definition at line 138 of file dirdef.h.

138 { return m_filePairs; }
FilePairDict m_filePairs
Definition: dirdef.h:144
FilePair * UsedDir::findFilePair ( const char *  name)

Definition at line 646 of file dirdef.cpp.

647 {
648  QCString n=name;
649  return n.isEmpty() ? 0 : m_filePairs.find(n);
650 }
static QCString name
Definition: declinfo.cpp:673
bool isEmpty() const
Definition: qcstring.h:189
FilePairDict m_filePairs
Definition: dirdef.h:144
std::void_t< T > n
T * find(const char *key)
Definition: sortdict.h:232
bool UsedDir::inherited ( ) const
inline

Definition at line 140 of file dirdef.h.

140 { return m_inherited; }
bool m_inherited
Definition: dirdef.h:145

Member Data Documentation

DirDef* UsedDir::m_dir
private

Definition at line 143 of file dirdef.h.

FilePairDict UsedDir::m_filePairs
private

Definition at line 144 of file dirdef.h.

bool UsedDir::m_inherited
private

Definition at line 145 of file dirdef.h.


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