DotCallGraph Class Reference

Representation of an call graph. More...

#include <dot.h>

List of all members.

Public Member Functions

 DotCallGraph (MemberDef *md, bool inverse)
 ~DotCallGraph ()
QCString writeGraph (QTextStream &t, GraphOutputFormat f, const char *path, const char *relPath, bool writeImageMap=TRUE) const
void buildGraph (DotNode *n, MemberDef *md, int distance)
bool isTrivial () const
bool isTooBig () const
void determineVisibleNodes (QList< DotNode > &queue, int &maxNodes)
void determineTruncatedNodes (QList< DotNode > &queue)


Detailed Description

Representation of an call graph.

Definition at line 213 of file dot.h.


Constructor & Destructor Documentation

DotCallGraph::DotCallGraph ( MemberDef md,
bool  inverse 
)

Definition at line 2398 of file dot.cpp.

References MemberDef::anchor, buildGraph(), Config_getBool, Config_getInt, determineTruncatedNodes(), determineVisibleNodes(), Definition::getOuterScope(), MemberDef::getOutputFileBase(), MemberDef::getReference(), linkToText(), MemberDef::name, MemberDef::qualifiedName(), and DotNode::setDistance().

DotCallGraph::~DotCallGraph (  ) 

Definition at line 2441 of file dot.cpp.


Member Function Documentation

QCString DotCallGraph::writeGraph ( QTextStream &  t,
GraphOutputFormat  f,
const char *  path,
const char *  relPath,
bool  writeImageMap = TRUE 
) const

Definition at line 2447 of file dot.cpp.

References DotRunner::addJob(), BITMAP, DotNode::CallGraph, Config_getBool, Config_getEnum, convertToQCString(), EPS, err(), MAP_CMD, portable_system(), and DotRunner::run().

Referenced by RTFGenerator::endCallGraph(), LatexGenerator::endCallGraph(), and HtmlGenerator::endCallGraph().

void DotCallGraph::buildGraph ( DotNode n,
MemberDef md,
int  distance 
)

Definition at line 2294 of file dot.cpp.

References DotNode::addChild(), DotNode::addParent(), MemberDef::anchor, Definition::briefDescriptionAsTooltip(), Config_getBool, Definition::getOuterScope(), MemberDef::getOutputFileBase(), MemberDef::getReference(), Definition::getReferencedByMembers(), Definition::getReferencesMembers(), MemberDef::isFunction(), LockingPtr< T >::isNull(), SDict< MemberDef >::Iterator, linkToText(), MemberDef::name, MemberDef::qualifiedName(), and DotNode::setDistance().

Referenced by DotCallGraph().

bool DotCallGraph::isTrivial (  )  const

Definition at line 2561 of file dot.cpp.

References DotNode::m_children.

Referenced by MemberDef::writeDocumentation().

bool DotCallGraph::isTooBig (  )  const

Definition at line 2566 of file dot.cpp.

References Config_getInt, and DotNode::m_children.

Referenced by MemberDef::writeDocumentation().

void DotCallGraph::determineVisibleNodes ( QList< DotNode > &  queue,
int &  maxNodes 
)

Definition at line 2347 of file dot.cpp.

References Config_getInt, DotNode::distance(), DotNode::isVisible(), DotNode::m_children, and DotNode::markAsVisible().

Referenced by DotCallGraph().

void DotCallGraph::determineTruncatedNodes ( QList< DotNode > &  queue  ) 

Definition at line 2371 of file dot.cpp.

References DotNode::isTruncated(), DotNode::isVisible(), DotNode::m_children, DotNode::markAsTruncated(), and DotNode::Unknown.

Referenced by DotCallGraph().


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



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