My Project
|
Public Member Functions | |
PerlModGenerator (bool pretty) | |
void | generatePerlModForMember (MemberDef *md, Definition *) |
void | generatePerlModSection (Definition *d, MemberList *ml, const char *name, const char *header=0) |
void | addListOfAllMembers (ClassDef *cd) |
void | generatePerlModForClass (ClassDef *cd) |
void | generatePerlModForNamespace (NamespaceDef *nd) |
void | generatePerlModForFile (FileDef *fd) |
void | generatePerlModForGroup (GroupDef *gd) |
void | generatePerlModForPage (PageDef *pi) |
bool | createOutputFile (QFile &f, const char *s) |
bool | createOutputDir (QDir &perlModDir) |
bool | generateDoxyLatexTex () |
bool | generateDoxyFormatTex () |
bool | generateDoxyStructurePM () |
bool | generateDoxyLatexPL () |
bool | generateDoxyLatexStructurePL () |
bool | generateDoxyRules () |
bool | generateMakefile () |
bool | generatePerlModOutput () |
void | generate () |
Public Attributes | |
PerlModOutput | m_output |
QCString | pathDoxyStructurePM |
QCString | pathDoxyDocsTex |
QCString | pathDoxyFormatTex |
QCString | pathDoxyLatexTex |
QCString | pathDoxyLatexDVI |
QCString | pathDoxyLatexPDF |
QCString | pathDoxyStructureTex |
QCString | pathDoxyDocsPM |
QCString | pathDoxyLatexPL |
QCString | pathDoxyLatexStructurePL |
QCString | pathDoxyRules |
QCString | pathMakefile |
Definition at line 1504 of file perlmodgen.cpp.
|
inline |
Definition at line 1523 of file perlmodgen.cpp.
void PerlModGenerator::addListOfAllMembers | ( | ClassDef * | cd | ) |
Definition at line 1734 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), MemberInfo::ambiguityResolutionScope, PerlModOutput::closeList(), MemberDef::getClassDef(), MemberDef::getGroupDef(), getProtectionName(), getVirtualnessName(), SDict< MemberNameInfo >::Iterator, m_output, MemberInfo::memberDef, ClassDef::memberNameInfoSDict(), Definition::name(), PerlModOutput::openHash(), PerlModOutput::openList(), MemberInfo::prot, and MemberDef::virtualness().
Referenced by generatePerlModForClass().
bool PerlModGenerator::createOutputDir | ( | QDir & | perlModDir | ) |
Definition at line 2249 of file perlmodgen.cpp.
References Config_getString, err(), and msg().
Referenced by generate().
bool PerlModGenerator::createOutputFile | ( | QFile & | f, |
const char * | s | ||
) |
Definition at line 2238 of file perlmodgen.cpp.
References err().
Referenced by generateDoxyFormatTex(), generateDoxyLatexPL(), generateDoxyLatexStructurePL(), generateDoxyLatexTex(), generateDoxyRules(), generateDoxyStructurePM(), generateMakefile(), and generatePerlModOutput().
void PerlModGenerator::generate | ( | ) |
Definition at line 2952 of file perlmodgen.cpp.
References Config_getBool, createOutputDir(), generateDoxyFormatTex(), generateDoxyLatexPL(), generateDoxyLatexStructurePL(), generateDoxyLatexTex(), generateDoxyRules(), generateDoxyStructurePM(), generateMakefile(), generatePerlModOutput(), pathDoxyDocsPM, pathDoxyDocsTex, pathDoxyFormatTex, pathDoxyLatexDVI, pathDoxyLatexPDF, pathDoxyLatexPL, pathDoxyLatexStructurePL, pathDoxyLatexTex, pathDoxyRules, pathDoxyStructurePM, pathDoxyStructureTex, and pathMakefile.
Referenced by generatePerlMod().
bool PerlModGenerator::generateDoxyFormatTex | ( | ) |
Definition at line 2763 of file perlmodgen.cpp.
References createOutputFile(), pathDoxyFormatTex, and pathDoxyStructureTex.
Referenced by generate().
bool PerlModGenerator::generateDoxyLatexPL | ( | ) |
Definition at line 2640 of file perlmodgen.cpp.
References createOutputFile(), and pathDoxyLatexPL.
Referenced by generate().
bool PerlModGenerator::generateDoxyLatexStructurePL | ( | ) |
Definition at line 2606 of file perlmodgen.cpp.
References createOutputFile(), and pathDoxyLatexStructurePL.
Referenced by generate().
bool PerlModGenerator::generateDoxyLatexTex | ( | ) |
Definition at line 2926 of file perlmodgen.cpp.
References createOutputFile(), pathDoxyDocsTex, and pathDoxyLatexTex.
Referenced by generate().
bool PerlModGenerator::generateDoxyRules | ( | ) |
Definition at line 2482 of file perlmodgen.cpp.
References Config_getBool, Config_getString, createOutputFile(), pathDoxyDocsPM, pathDoxyDocsTex, pathDoxyFormatTex, pathDoxyLatexDVI, pathDoxyLatexPDF, pathDoxyLatexPL, pathDoxyLatexStructurePL, pathDoxyLatexTex, pathDoxyRules, pathDoxyStructurePM, and pathDoxyStructureTex.
Referenced by generate().
bool PerlModGenerator::generateDoxyStructurePM | ( | ) |
Definition at line 2298 of file perlmodgen.cpp.
References createOutputFile(), and pathDoxyStructurePM.
Referenced by generate().
bool PerlModGenerator::generateMakefile | ( | ) |
Definition at line 2579 of file perlmodgen.cpp.
References Config_getBool, Config_getString, createOutputFile(), pathDoxyRules, and pathMakefile.
Referenced by generate().
void PerlModGenerator::generatePerlModForClass | ( | ClassDef * | cd | ) |
Definition at line 1768 of file perlmodgen.cpp.
References PerlModOutput::addFieldBoolean(), PerlModOutput::addFieldQuotedString(), addListOfAllMembers(), addPerlModDocBlock(), addTemplateList(), ClassDef::baseClasses(), Definition::briefDescription(), PerlModOutput::closeHash(), PerlModOutput::closeList(), FileDef::docName(), Definition::documentation(), endl(), IncludeInfo::fileDef, generatePerlModSection(), ClassDef::getClassSDict(), Definition::getDefFileName(), Definition::getDefLine(), Definition::getEndBodyLine(), ClassDef::getMemberGroupSDict(), ClassDef::getMemberList(), FileDef::getOutputFileBase(), getProtectionName(), Definition::getStartBodyLine(), getVirtualnessName(), ClassDef::includeInfo(), IncludeInfo::includeName, ClassDef::isReference(), Definition::isReference(), DotClassGraph::isTrivial(), SDict< ClassDef >::Iterator, SIntDict< MemberGroup >::Iterator, IncludeInfo::local, m_output, MemberListType_dcopMethods, MemberListType_friends, MemberListType_priAttribs, MemberListType_priMethods, MemberListType_priSlots, MemberListType_priStaticAttribs, MemberListType_priStaticMethods, MemberListType_priTypes, MemberListType_proAttribs, MemberListType_proMethods, MemberListType_properties, MemberListType_proSlots, MemberListType_proStaticAttribs, MemberListType_proStaticMethods, MemberListType_proTypes, MemberListType_pubAttribs, MemberListType_pubMethods, MemberListType_pubSlots, MemberListType_pubStaticAttribs, MemberListType_pubStaticMethods, MemberListType_pubTypes, MemberListType_related, MemberListType_signals, Definition::name(), PerlModOutput::openHash(), PerlModOutput::openList(), ClassDef::subClasses(), and ClassDef::templateMaster().
Referenced by generatePerlModOutput().
void PerlModGenerator::generatePerlModForFile | ( | FileDef * | fd | ) |
Definition at line 1981 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), addPerlModDocBlock(), Definition::briefDescription(), PerlModOutput::closeHash(), PerlModOutput::closeList(), Definition::documentation(), IncludeInfo::fileDef, generatePerlModSection(), Definition::getDefFileName(), Definition::getDefLine(), FileDef::getMemberList(), FileDef::getOutputFileBase(), FileDef::includedByFileList(), FileDef::includeFileList(), IncludeInfo::includeName, Definition::isReference(), m_output, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decFuncMembers, MemberListType_decProtoMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, FileDef::name(), PerlModOutput::openHash(), and PerlModOutput::openList().
Referenced by generatePerlModOutput().
void PerlModGenerator::generatePerlModForGroup | ( | GroupDef * | gd | ) |
Definition at line 2050 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), addPerlModDocBlock(), Definition::briefDescription(), PerlModOutput::closeHash(), PerlModOutput::closeList(), Definition::documentation(), generatePerlModSection(), GroupDef::getClasses(), Definition::getDefFileName(), Definition::getDefLine(), GroupDef::getFiles(), GroupDef::getMemberGroupSDict(), GroupDef::getMemberList(), GroupDef::getNamespaces(), GroupDef::getPages(), GroupDef::getSubGroups(), GroupDef::groupTitle(), Definition::isReference(), SDict< PageDef >::Iterator, SDict< ClassDef >::Iterator, SDict< NamespaceDef >::Iterator, SIntDict< MemberGroup >::Iterator, m_output, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decFuncMembers, MemberListType_decProtoMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, FileDef::name(), Definition::name(), PerlModOutput::openHash(), PerlModOutput::openList(), and PageDef::title().
Referenced by generatePerlModOutput().
void PerlModGenerator::generatePerlModForMember | ( | MemberDef * | md, |
Definition * | |||
) |
Definition at line 1549 of file perlmodgen.cpp.
References PerlModOutput::addFieldBoolean(), PerlModOutput::addFieldQuotedString(), addPerlModDocBlock(), MemberDef::argsString(), MemberDef::argumentList(), Argument::array, Argument::attrib, MemberDef::briefDescription(), PerlModOutput::closeHash(), PerlModOutput::closeList(), ArgumentList::constSpecifier, MemberDef::declArgumentList(), Argument::defval, MemberDef::documentation(), MemberDef::enumFieldList(), MemberDef::excpString(), Definition::getDefFileName(), Definition::getDefLine(), Definition::getOuterScope(), getProtectionName(), getVirtualnessName(), MemberDef::initializer(), MemberDef::isStatic(), m_output, MemberDef::memberType(), MemberType_DCOP, MemberType_Define, MemberType_Enumeration, MemberType_EnumValue, MemberType_Event, MemberType_Friend, MemberType_Function, MemberType_Interface, MemberType_Property, MemberType_Service, MemberType_Signal, MemberType_Slot, MemberType_Typedef, MemberType_Variable, Argument::name, Definition::name(), PerlModOutput::openHash(), PerlModOutput::openList(), MemberDef::protection(), MemberDef::reimplementedBy(), MemberDef::reimplements(), Argument::type, MemberDef::typeString(), MemberDef::virtualness(), and ArgumentList::volatileSpecifier.
Referenced by generatePerlModSection().
void PerlModGenerator::generatePerlModForNamespace | ( | NamespaceDef * | nd | ) |
Definition at line 1918 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), addPerlModDocBlock(), Definition::briefDescription(), PerlModOutput::closeHash(), PerlModOutput::closeList(), Definition::documentation(), generatePerlModSection(), NamespaceDef::getClassSDict(), Definition::getDefFileName(), Definition::getDefLine(), NamespaceDef::getMemberGroupSDict(), NamespaceDef::getMemberList(), NamespaceDef::getNamespaceSDict(), Definition::isReference(), SDict< ClassDef >::Iterator, SDict< NamespaceDef >::Iterator, SIntDict< MemberGroup >::Iterator, m_output, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decFuncMembers, MemberListType_decProtoMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, Definition::name(), PerlModOutput::openHash(), and PerlModOutput::openList().
Referenced by generatePerlModOutput().
void PerlModGenerator::generatePerlModForPage | ( | PageDef * | pi | ) |
Definition at line 2156 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), addPerlModDocBlock(), PerlModOutput::closeHash(), Definition::docFile(), Definition::docLine(), Definition::documentation(), filterTitle(), SDict< T >::find(), Definition::isReference(), m_output, Definition::name(), PerlModOutput::openHash(), Doxygen::sectionDict, and SectionInfo::title.
Referenced by generatePerlModOutput().
bool PerlModGenerator::generatePerlModOutput | ( | ) |
Definition at line 2175 of file perlmodgen.cpp.
References PerlModOutput::add(), Doxygen::classSDict, PerlModOutput::closeHash(), PerlModOutput::closeList(), createOutputFile(), generatePerlModForClass(), generatePerlModForFile(), generatePerlModForGroup(), generatePerlModForNamespace(), generatePerlModForPage(), Doxygen::groupSDict, Doxygen::inputNameList, SDict< GroupDef >::Iterator, SDict< ClassDef >::Iterator, SDict< PageDef >::Iterator, SDict< NamespaceDef >::Iterator, m_output, Doxygen::mainPage, Doxygen::namespaceSDict, PerlModOutput::openHash(), PerlModOutput::openList(), Doxygen::pageSDict, pathDoxyDocsPM, and PerlModOutput::setPerlModOutputStream().
Referenced by generate().
void PerlModGenerator::generatePerlModSection | ( | Definition * | d, |
MemberList * | ml, | ||
const char * | name, | ||
const char * | header = 0 |
||
) |
Definition at line 1713 of file perlmodgen.cpp.
References PerlModOutput::addFieldQuotedString(), PerlModOutput::closeHash(), PerlModOutput::closeList(), generatePerlModForMember(), m_output, PerlModOutput::openHash(), and PerlModOutput::openList().
Referenced by generatePerlModForClass(), generatePerlModForFile(), generatePerlModForGroup(), and generatePerlModForNamespace().
PerlModOutput PerlModGenerator::m_output |
Definition at line 1508 of file perlmodgen.cpp.
Referenced by addListOfAllMembers(), generatePerlModForClass(), generatePerlModForFile(), generatePerlModForGroup(), generatePerlModForMember(), generatePerlModForNamespace(), generatePerlModForPage(), generatePerlModOutput(), and generatePerlModSection().
QCString PerlModGenerator::pathDoxyDocsPM |
Definition at line 1517 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyRules(), and generatePerlModOutput().
QCString PerlModGenerator::pathDoxyDocsTex |
Definition at line 1511 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyLatexTex(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyFormatTex |
Definition at line 1512 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyFormatTex(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyLatexDVI |
Definition at line 1514 of file perlmodgen.cpp.
Referenced by generate(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyLatexPDF |
Definition at line 1515 of file perlmodgen.cpp.
Referenced by generate(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyLatexPL |
Definition at line 1518 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyLatexPL(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyLatexStructurePL |
Definition at line 1519 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyLatexStructurePL(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyLatexTex |
Definition at line 1513 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyLatexTex(), and generateDoxyRules().
QCString PerlModGenerator::pathDoxyRules |
Definition at line 1520 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyRules(), and generateMakefile().
QCString PerlModGenerator::pathDoxyStructurePM |
Definition at line 1510 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyRules(), and generateDoxyStructurePM().
QCString PerlModGenerator::pathDoxyStructureTex |
Definition at line 1516 of file perlmodgen.cpp.
Referenced by generate(), generateDoxyFormatTex(), and generateDoxyRules().
QCString PerlModGenerator::pathMakefile |
Definition at line 1521 of file perlmodgen.cpp.
Referenced by generate(), and generateMakefile().