DirDef Class Reference

#include <dirdef.h>

Inheritance diagram for DirDef:

Definition DefinitionIntf LockableObj List of all members.

Public Member Functions

 DirDef (const char *path)
virtual ~DirDef ()
virtual DefType definitionType () const
virtual QCString getOutputFileBase () const
virtual bool isLinkableInProject () const
virtual bool isLinkable () const
QCString displayName () const
QCString shortName () const
void addSubDir (DirDef *subdir)
FileListgetFiles () const
void addFile (FileDef *fd)
const DirListsubDirs () const
bool isCluster () const
int level () const
DirDefparent () const
int dirCount () const
const QDict< UsedDir > * usedDirs () const
bool isParentOf (DirDef *dir) const
bool depGraphIsTrivial () const
void writeDetailedDocumentation (OutputList &ol)
void writeDocumentation (OutputList &ol)
void writeDepGraph (QTextStream &t)

Static Public Member Functions

static DirDefmergeDirectoryInTree (const QCString &path)

Public Attributes

bool visited

Friends

void computeDirDependencies ()

Detailed Description

A directory

Definition at line 45 of file dirdef.h.


Constructor & Destructor Documentation

DirDef::DirDef ( const char *  path  ) 

Definition at line 17 of file dirdef.cpp.

References Definition::setLocalName(), and stripFromPath().

DirDef::~DirDef (  )  [virtual]

Definition at line 42 of file dirdef.cpp.


Member Function Documentation

virtual DefType DirDef::definitionType (  )  const [inline, virtual]

Use this for dynamic inspection of the type of the derived class

Implements DefinitionIntf.

Definition at line 52 of file dirdef.h.

References DefinitionIntf::TypeDir.

QCString DirDef::getOutputFileBase (  )  const [virtual]

Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.

Implements Definition.

Definition at line 104 of file dirdef.cpp.

References Definition::name().

Referenced by DotGroupCollaboration::buildGraph(), LatexGenerator::endIndexSection(), writeDirDependencyGraph(), writeDirTreeNode(), GroupDef::writeDocumentation(), writeDocumentation(), writeDotDirDepGraph(), and DotDirDeps::writeGraph().

bool DirDef::isLinkableInProject (  )  const [virtual]

Returns TRUE iff it is possible to link to this item within this project.

Implements Definition.

Definition at line 48 of file dirdef.cpp.

References Config_getBool, and Definition::isReference().

Referenced by countDirs(), LatexGenerator::endIndexSection(), isLinkable(), and LatexGenerator::startIndexSection().

bool DirDef::isLinkable (  )  const [virtual]

Returns TRUE iff it is possible to link to this item. This can be a link to another project imported via a tag file.

Implements Definition.

Definition at line 53 of file dirdef.cpp.

References isLinkableInProject(), and Definition::isReference().

Referenced by resolveLink().

QCString DirDef::displayName (  )  const [inline]

Definition at line 56 of file dirdef.h.

Referenced by writeDirDependencyGraph(), GroupDef::writeDocumentation(), DirRelation::writeDocumentation(), writeDocumentation(), and DotDirDeps::writeGraph().

QCString DirDef::shortName (  )  const [inline]

Definition at line 57 of file dirdef.h.

Referenced by computeDirDependencies(), writeDirTreeNode(), GroupDef::writeDocumentation(), DirRelation::writeDocumentation(), writeDocumentation(), and writeDotDirDepGraph().

void DirDef::addSubDir ( DirDef subdir  ) 

Definition at line 58 of file dirdef.cpp.

References m_parent, and Definition::setOuterScope().

Referenced by buildDirectories().

FileList* DirDef::getFiles (  )  const [inline]

Definition at line 59 of file dirdef.h.

Referenced by writeDirTreeNode().

void DirDef::addFile ( FileDef fd  ) 

Definition at line 65 of file dirdef.cpp.

References FileDef::setDirDef().

Referenced by buildDirectories().

const DirList& DirDef::subDirs (  )  const [inline]

Definition at line 61 of file dirdef.h.

Referenced by writeDirTreeNode(), and writeDotDirDepGraph().

bool DirDef::isCluster (  )  const [inline]

Definition at line 62 of file dirdef.h.

Referenced by writeDotDirDepGraph().

int DirDef::level (  )  const [inline]

Definition at line 63 of file dirdef.h.

DirDef* DirDef::parent (  )  const [inline]

Definition at line 64 of file dirdef.h.

Referenced by isParentOf(), and writeDotDirDepGraph().

int DirDef::dirCount (  )  const [inline]

Definition at line 65 of file dirdef.h.

Referenced by writeDotDirDepGraph().

const QDict<UsedDir>* DirDef::usedDirs (  )  const [inline]

Definition at line 66 of file dirdef.h.

Referenced by computeDirDependencies(), and writeDotDirDepGraph().

bool DirDef::isParentOf ( DirDef dir  )  const

Definition at line 459 of file dirdef.cpp.

References parent().

Referenced by writeDotDirDepGraph().

bool DirDef::depGraphIsTrivial (  )  const

Definition at line 469 of file dirdef.cpp.

Referenced by DotDirDeps::isTrivial().

void DirDef::writeDetailedDocumentation ( OutputList ol  ) 

Definition at line 110 of file dirdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, OutputList::disable(), Definition::docFile(), Definition::docLine(), Definition::documentation(), OutputList::endGroupHeader(), OutputGenerator::Latex, OutputList::newParagraph(), OutputList::parseDoc(), OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, OutputList::startGroupHeader(), theTranslator, Translator::trDetailedDescription(), OutputList::writeAnchor(), and OutputList::writeRuler().

Referenced by writeDocumentation().

void DirDef::writeDocumentation ( OutputList ol  ) 

Definition at line 139 of file dirdef.cpp.

References Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), Config_getBool, Config_getString, convertToXML(), OutputList::disable(), OutputList::disableAllBut(), displayName(), OutputList::docify(), OutputList::enableAll(), OutputList::endBold(), OutputList::endDirDepGraph(), endFile(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), OutputList::endMemberSections(), OutputList::endQuickIndices(), OutputList::endTextLink(), endTitle(), FileDef::generateSourceFile(), FileDef::getOutputFileBase(), getOutputFileBase(), Definition::getReference(), HLI_None, OutputGenerator::Html, Doxygen::htmlFileExtension, FileDef::includeName(), OutputList::insertMemberAlign(), FileDef::isLinkable(), DotDirDeps::isTrivial(), OutputGenerator::Latex, OutputGenerator::Man, msg(), FileDef::name(), Definition::name(), OutputList::newParagraph(), OutputList::parseDoc(), OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), QCString, OutputGenerator::RTF, shortName(), OutputList::startBold(), OutputList::startContents(), OutputList::startDirDepGraph(), startFile(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), OutputList::startMemberSections(), OutputList::startTextLink(), startTitle(), Doxygen::tagFile, theTranslator, Translator::trCode(), Translator::trDir(), Translator::trDirReference(), Translator::trFile(), Translator::trMore(), writeDetailedDocumentation(), Definition::writeDocAnchorsToTagFile(), Definition::writeNavigationPath(), OutputList::writeObjectLink(), and OutputList::writeString().

Referenced by generateDirDocs().

void DirDef::writeDepGraph ( QTextStream &  t  ) 

Definition at line 559 of file dirdef.cpp.

References writeDotDirDepGraph().

Referenced by writeDirDependencyGraph(), and DotDirDeps::writeGraph().

DirDef * DirDef::mergeDirectoryInTree ( const QCString &  path  )  [static]

strip part of path if it matches one of the paths in the Config_getList("STRIP_FROM_PATH") list

Definition at line 542 of file dirdef.cpp.

References Config_getList, and QCString.

Referenced by buildDirectories().


Friends And Related Function Documentation

void computeDirDependencies (  )  [friend]

Definition at line 697 of file dirdef.cpp.


Member Data Documentation

bool DirDef::visited

Definition at line 76 of file dirdef.h.

Referenced by countDirs().


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1