DotClassGraph Class Reference

Representation of a class inheritance or dependency graph. More...

#include <dot.h>

List of all members.

Public Member Functions

 DotClassGraph (ClassDef *cd, DotNode::GraphType t)
 ~DotClassGraph ()
bool isTrivial () const
bool isTooBig () const
QCString writeGraph (QTextStream &t, GraphOutputFormat f, const char *path, const char *relPath, bool TBRank=TRUE, bool imageMap=TRUE) const
void writeXML (QTextStream &t)
void writeDEF (QTextStream &t)
QCString diskName () const


Detailed Description

Representation of a class inheritance or dependency graph.

Definition at line 155 of file dot.h.


Constructor & Destructor Documentation

DotClassGraph::DotClassGraph ( ClassDef cd,
DotNode::GraphType  t 
)

Definition at line 1606 of file dot.cpp.

References Definition::briefDescriptionAsTooltip(), Config_getInt, ClassDef::displayName(), ClassDef::getOutputFileBase(), ClassDef::getReference(), DotNode::Inheritance, Definition::isHidden(), ClassDef::isLinkable(), and DotNode::setDistance().

DotClassGraph::~DotClassGraph (  ) 

Definition at line 1671 of file dot.cpp.


Member Function Documentation

bool DotClassGraph::isTrivial (  )  const

Definition at line 1651 of file dot.cpp.

References DotNode::Inheritance, DotNode::m_children, and DotNode::m_parents.

Referenced by generateDEFForClass(), PerlModGenerator::generatePerlModForClass(), and ClassDef::writeClassDiagrams().

bool DotClassGraph::isTooBig (  )  const

Definition at line 1659 of file dot.cpp.

References Config_getInt, DotNode::Inheritance, DotNode::m_children, and DotNode::m_parents.

Referenced by ClassDef::writeClassDiagrams().

QCString DotClassGraph::writeGraph ( QTextStream &  t,
GraphOutputFormat  f,
const char *  path,
const char *  relPath,
bool  TBRank = TRUE,
bool  imageMap = TRUE 
) const

Definition at line 1800 of file dot.cpp.

References DotRunner::addJob(), BITMAP, DotNode::Collaboration, Config_getBool, Config_getEnum, convertNameToFile(), convertToQCString(), diskName(), EPS, err(), DotNode::Inheritance, DotNode::m_label, MAP_CMD, portable_system(), and DotRunner::run().

Referenced by LatexGenerator::endDotGraph(), and HtmlGenerator::endDotGraph().

void DotClassGraph::writeXML ( QTextStream &  t  ) 

Definition at line 1962 of file dot.cpp.

References DotNode::writeXML().

void DotClassGraph::writeDEF ( QTextStream &  t  ) 

Definition at line 1972 of file dot.cpp.

References DotNode::writeDEF().

Referenced by generateDEFForClass().

QCString DotClassGraph::diskName (  )  const

Definition at line 1779 of file dot.cpp.

References DotNode::Collaboration, and DotNode::Inheritance.

Referenced by writeGraph().


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