defgen.cpp File Reference

#include <stdlib.h>
#include "qtbc.h"
#include "defgen.h"
#include "doxygen.h"
#include "message.h"
#include "config.h"
#include "classlist.h"
#include "util.h"
#include "defargs.h"
#include "outputgen.h"
#include "dot.h"
#include <qdir.h>
#include <qfile.h>
#include <qtextstream.h>

Go to the source code of this file.

Defines

#define DEF_DB(x)

Functions

void writeDEFString (QTextStream &t, const char *s)
void generateDEFForMember (MemberDef *md, QTextStream &t, Definition *def, const char *Prefix)
void generateDEFClassSection (ClassDef *cd, QTextStream &t, MemberList *ml, const char *kind)
void generateDEFForClass (ClassDef *cd, QTextStream &t)
void generateDEFSection (Definition *d, QTextStream &t, MemberList *ml, const char *kind)
void generateDEFForNamespace (NamespaceDef *nd, QTextStream &t)
void generateDEFForFile (FileDef *fd, QTextStream &t)
void generateDEF ()


Define Documentation

#define DEF_DB (  ) 

Definition at line 36 of file defgen.cpp.


Function Documentation

void generateDEF (  ) 

Definition at line 551 of file defgen.cpp.

References Doxygen::classSDict, Config_getBool, Config_getString, err(), generateDEFForClass(), generateDEFForFile(), Doxygen::inputNameList, SDict< ClassDef >::Iterator, and QCString.

Referenced by generateOutput().

void generateDEFClassSection ( ClassDef cd,
QTextStream &  t,
MemberList ml,
const char *  kind 
)

Definition at line 315 of file defgen.cpp.

References generateDEFForMember().

Referenced by generateDEFForClass().

void generateDEFForClass ( ClassDef cd,
QTextStream &  t 
)

Definition at line 335 of file defgen.cpp.

References ClassDef::baseClasses(), Definition::briefDescription(), BaseClassDef::classDef, DotNode::Collaboration, ClassDef::compoundTypeString(), MemberList::dcopMethods, MemberList::detailedLists, Definition::documentation(), MemberList::friends, generateDEFClassSection(), Definition::getDefFileName(), Definition::getDefLine(), ClassDef::getMemberList(), ClassDef::getMemberLists(), ClassDef::getOutputFileBase(), DotNode::Inheritance, ClassDef::isReference(), DotClassGraph::isTrivial(), ClassDef::name, Normal, Package, MemberList::priAttribs, MemberList::priMethods, MemberList::priSlots, MemberList::priStaticAttribs, MemberList::priStaticMethods, MemberList::priTypes, Private, MemberList::proAttribs, MemberList::proMethods, MemberList::properties, MemberList::proSlots, MemberList::proStaticAttribs, MemberList::proStaticMethods, BaseClassDef::prot, Protected, MemberList::proTypes, MemberList::pubAttribs, Public, MemberList::pubMethods, MemberList::pubSlots, MemberList::pubStaticAttribs, MemberList::pubStaticMethods, MemberList::pubTypes, Pure, MemberList::related, MemberList::signals, ClassDef::subClasses(), ClassDef::templateMaster(), BaseClassDef::virt, Virtual, and DotClassGraph::writeDEF().

Referenced by generateDEF().

void generateDEFForFile ( FileDef fd,
QTextStream &  t 
)

Definition at line 521 of file defgen.cpp.

References Definition::briefDescription(), MemberList::decDefineMembers, MemberList::decEnumMembers, MemberList::decFuncMembers, MemberList::decProtoMembers, MemberList::decTypedefMembers, MemberList::decVarMembers, Definition::documentation(), generateDEFSection(), Definition::getDefFileName(), Definition::getDefLine(), FileDef::getMemberList(), FileDef::getOutputFileBase(), Definition::isReference(), FileDef::name(), and writeDEFString().

Referenced by generateDEF().

void generateDEFForMember ( MemberDef md,
QTextStream &  t,
Definition def,
const char *  Prefix 
)

Definition at line 53 of file defgen.cpp.

References MemberDef::anchor, MemberDef::argsString(), MemberDef::argumentList(), Argument::array, Argument::attrib, Definition::briefDescription(), MemberDef::DCOP, MemberDef::Define, Argument::defval, Definition::documentation(), MemberDef::Enumeration, MemberDef::enumFieldList(), MemberDef::EnumValue, MemberDef::Event, MemberDef::Friend, MemberDef::Function, Definition::getBodyDef(), MemberDef::getClassDef(), Definition::getDefFileName(), Definition::getDefLine(), MemberDef::getNamespaceDef(), FileDef::getOutputFileBase(), MemberDef::getOutputFileBase(), Definition::getReferencedByMembers(), Definition::getReferencesMembers(), MemberDef::getScopeString(), Definition::getStartBodyLine(), MemberDef::initializer(), LockingPtr< T >::isNull(), SDict< MemberDef >::Iterator, MemberDef::memberType(), Argument::name, MemberDef::name, Definition::name(), ClassDef::name, Normal, Package, Private, MemberDef::Property, Protected, MemberDef::protection(), MemberDef::Prototype, Public, Pure, QCString, replaceAnonymousScopes(), MemberDef::Signal, MemberDef::Slot, stringToArgumentList(), Argument::type, MemberDef::Typedef, MemberDef::typeString(), MemberDef::Variable, Virtual, MemberDef::virtualness(), and writeDEFString().

Referenced by generateDEFClassSection(), and generateDEFSection().

void generateDEFForNamespace ( NamespaceDef nd,
QTextStream &  t 
)

Definition at line 495 of file defgen.cpp.

References Definition::briefDescription(), MemberList::decDefineMembers, MemberList::decEnumMembers, MemberList::decFuncMembers, MemberList::decProtoMembers, MemberList::decTypedefMembers, MemberList::decVarMembers, Definition::documentation(), generateDEFSection(), Definition::getDefFileName(), Definition::getDefLine(), NamespaceDef::getMemberList(), NamespaceDef::getOutputFileBase(), Definition::isReference(), Definition::name(), and writeDEFString().

void generateDEFSection ( Definition d,
QTextStream &  t,
MemberList ml,
const char *  kind 
)

Definition at line 477 of file defgen.cpp.

References generateDEFForMember().

Referenced by generateDEFForFile(), and generateDEFForNamespace().

void writeDEFString ( QTextStream &  t,
const char *  s 
) [inline]

Definition at line 38 of file defgen.cpp.

Referenced by generateDEFForFile(), generateDEFForMember(), and generateDEFForNamespace().



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