Doxygen
|
A bunch of utility functions. 更多...
#include <memory>
#include <unordered_map>
#include <algorithm>
#include <functional>
#include <fstream>
#include <ctype.h>
#include "types.h"
#include "docparser.h"
#include "containers.h"
#include "outputgen.h"
#include "regex.h"
#include "conceptdef.h"
类 | |
class | TextGeneratorIntf |
Abstract interface for a hyperlinked text fragment. 更多... | |
class | TextGeneratorOLImpl |
Implements TextGeneratorIntf for an OutputDocInterface stream. 更多... | |
struct | ColoredImgDataItem |
Data associated with a HSV colored image. 更多... | |
函数 | |
QCString | langToString (SrcLangExt lang) |
Returns a string representation of lang. 更多... | |
QCString | getLanguageSpecificSeparator (SrcLangExt lang, bool classScope=FALSE) |
Returns the scope separator to use given the programming language lang 更多... | |
void | linkifyText (const TextGeneratorIntf &ol, const Definition *scope, const FileDef *fileScope, const Definition *self, const QCString &text, bool autoBreak=FALSE, bool external=TRUE, bool keepSpaces=FALSE, int indentLevel=0) |
QCString | fileToString (const QCString &name, bool filter=FALSE, bool isSourceCode=FALSE) |
QCString | dateToString (bool) |
bool | getDefs (const QCString &scopeName, const QCString &memberName, const QCString &args, const MemberDef *&md, const ClassDef *&cd, const FileDef *&fd, const NamespaceDef *&nd, const GroupDef *&gd, bool forceEmptyScope=FALSE, const FileDef *currentFile=0, bool checkCV=FALSE) |
QCString | getFileFilter (const QCString &name, bool isSourceCode) |
bool | resolveRef (const QCString &scName, const QCString &name, bool inSeeBlock, const Definition **resContext, const MemberDef **resMember, bool lookForSpecializations=TRUE, const FileDef *currentFile=0, bool checkScope=FALSE) |
bool | resolveLink (const QCString &scName, const QCString &lr, bool inSeeBlock, const Definition **resContext, QCString &resAnchor) |
bool | generateLink (OutputDocInterface &od, const QCString &, const QCString &, bool inSeeBlock, const QCString &) |
void | generateFileRef (OutputDocInterface &od, const QCString &, const QCString &linkTxt=QCString()) |
void | writePageRef (OutputDocInterface &od, const QCString &cn, const QCString &mn) |
QCString | getCanonicalTemplateSpec (const Definition *d, const FileDef *fs, const QCString &spec) |
bool | matchArguments2 (const Definition *srcScope, const FileDef *srcFileScope, const ArgumentList *srcAl, const Definition *dstScope, const FileDef *dstFileScope, const ArgumentList *dstAl, bool checkCV) |
void | mergeArguments (ArgumentList &, ArgumentList &, bool forceNameOverwrite=FALSE) |
QCString | substituteClassNames (const QCString &s) |
QCString | clearBlock (const char *s, const char *begin, const char *end) |
QCString | selectBlock (const QCString &s, const QCString &name, bool enable, OutputGenerator::OutputType o) |
QCString | removeEmptyLines (const QCString &s) |
FileDef * | findFileDef (const FileNameLinkedMap *fnMap, const QCString &n, bool &ambig) |
QCString | showFileDefMatches (const FileNameLinkedMap *fnMap, const QCString &n) |
int | guessSection (const QCString &name) |
bool | isId (int c) |
bool | isIdJS (int c) |
QCString | removeRedundantWhiteSpace (const QCString &s) |
QCString | argListToString (const ArgumentList &al, bool useCanonicalType=FALSE, bool showDefVals=TRUE) |
QCString | tempArgListToString (const ArgumentList &al, SrcLangExt lang, bool includeDefaults=true) |
QCString | generateMarker (int id) |
void | writeExamples (OutputList &ol, const ExampleList &el) |
QCString | stripAnonymousNamespaceScope (const QCString &s) |
QCString | stripFromPath (const QCString &path) |
QCString | stripFromIncludePath (const QCString &path) |
bool | rightScopeMatch (const QCString &scope, const QCString &name) |
bool | leftScopeMatch (const QCString &scope, const QCString &name) |
QCString | substituteKeywords (const QCString &s, const QCString &title, const QCString &projName, const QCString &projNum, const QCString &projBrief) |
int | getPrefixIndex (const QCString &name) |
QCString | removeAnonymousScopes (const QCString &s) |
QCString | replaceAnonymousScopes (const QCString &s, const QCString &replacement=QCString()) |
QCString | convertNameToFile (const QCString &name, bool allowDots=FALSE, bool allowUnderscore=FALSE) |
void | extractNamespaceName (const QCString &scopeName, QCString &className, QCString &namespaceName, bool allowEmptyClass=FALSE) |
QCString | insertTemplateSpecifierInScope (const QCString &scope, const QCString &templ) |
QCString | stripScope (const QCString &name) |
QCString | convertToId (const QCString &s) |
QCString | correctId (const QCString &s) |
QCString | convertToHtml (const QCString &s, bool keepEntities=TRUE) |
QCString | convertToLaTeX (const QCString &s, bool insideTabbing=FALSE, bool keepSpaces=FALSE) |
QCString | convertToXML (const QCString &s, bool keepEntities=FALSE) |
QCString | convertToDocBook (const QCString &s) |
QCString | convertToJSString (const QCString &s) |
QCString | convertToPSString (const QCString &s) |
QCString | getOverloadDocs () |
void | addMembersToMemberGroup (MemberList *ml, MemberGroupList *pMemberGroups, const Definition *context) |
int | extractClassNameFromType (const QCString &type, int &pos, QCString &name, QCString &templSpec, SrcLangExt=SrcLangExt_Unknown) |
QCString | normalizeNonTemplateArgumentsInString (const QCString &name, const Definition *context, const ArgumentList &formalArgs) |
QCString | substituteTemplateArgumentsInString (const QCString &name, const ArgumentList &formalArgs, const std::unique_ptr< ArgumentList > &actualArgs) |
QCString | stripTemplateSpecifiersFromScope (const QCString &fullName, bool parentOnly=TRUE, QCString *lastScopeStripped=0) |
QCString | resolveTypeDef (const Definition *d, const QCString &name, const Definition **typedefContext=0) |
QCString | mergeScopes (const QCString &leftScope, const QCString &rightScope) |
int | getScopeFragment (const QCString &s, int p, int *l) |
void | addRefItem (const RefItemVector &sli, const QCString &key, const QCString &prefix, const QCString &name, const QCString &title, const QCString &args, const Definition *scope) |
PageDef * | addRelatedPage (const QCString &name, const QCString &ptitle, const QCString &doc, const QCString &fileName, int docLine, int startLine, const RefItemVector &sli=RefItemVector(), GroupDef *gd=0, const TagInfo *tagInfo=0, bool xref=FALSE, SrcLangExt lang=SrcLangExt_Unknown) |
QCString | escapeCharsInString (const QCString &name, bool allowDots, bool allowUnderscore=FALSE) |
QCString | unescapeCharsInString (const QCString &s) |
void | addGroupListToTitle (OutputList &ol, const Definition *d) |
void | filterLatexString (TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces) |
QCString | latexEscapeLabelName (const QCString &s) |
QCString | latexEscapeIndexChars (const QCString &s) |
QCString | latexEscapePDFString (const QCString &s) |
QCString | latexFilterURL (const QCString &s) |
QCString | rtfFormatBmkStr (const QCString &name) |
QCString | linkToText (SrcLangExt lang, const QCString &link, bool isFileName) |
bool | checkExtension (const QCString &fName, const QCString &ext) |
QCString | addHtmlExtensionIfMissing (const QCString &fName) |
QCString | stripExtensionGeneral (const QCString &fName, const QCString &ext) |
QCString | stripExtension (const QCString &fName) |
void | replaceNamespaceAliases (QCString &scope, int i) |
int | computeQualifiedIndex (const QCString &name) |
void | addDirPrefix (QCString &fileName) |
QCString | relativePathToRoot (const QCString &name) |
void | createSubDirs (const Dir &d) |
void | clearSubDirs (const Dir &d) |
QCString | stripPath (const QCString &s) |
bool | containsWord (const QCString &s, const char *word) |
returns TRUE iff string s contains word w 更多... | |
bool | findAndRemoveWord (QCString &s, const char *word) |
removes occurrences of whole word from sentence, while keeps internal spaces and reducing multiple sequences of spaces. 更多... | |
QCString | stripLeadingAndTrailingEmptyLines (const QCString &s, int &docLine) |
Special version of QCString::stripWhiteSpace() that only strips completely blank lines. 更多... | |
bool | updateLanguageMapping (const QCString &extension, const QCString &parser) |
SrcLangExt | getLanguageFromFileName (const QCString &fileName, SrcLangExt defLang=SrcLangExt_Cpp) |
SrcLangExt | getLanguageFromCodeLang (QCString &fileName) |
Routine to handle the language attribute of the \code command 更多... | |
QCString | getFileNameExtension (const QCString &fn) |
void | initDefaultExtensionMapping () |
void | addCodeOnlyMappings () |
bool | checkIfTypedef (const Definition *scope, const FileDef *fileScope, const QCString &n) |
QCString | parseCommentAsText (const Definition *scope, const MemberDef *member, const QCString &doc, const QCString &fileName, int lineNr) |
QCString | transcodeCharacterStringToUTF8 (const QCString &input) |
QCString | recodeString (const QCString &str, const char *fromEncoding, const char *toEncoding) |
QCString | extractAliasArgs (const QCString &args, size_t pos) |
int | countAliasArguments (const QCString &argList) |
QCString | resolveAliasCmd (const QCString &aliasCmd) |
std::string | expandAlias (const std::string &aliasName, const std::string &aliasValue) |
void | writeTypeConstraints (OutputList &ol, const Definition *d, const ArgumentList &al) |
QCString | convertCharEntitiesToUTF8 (const QCString &s) |
void | stackTrace () |
bool | readInputFile (const QCString &fileName, BufStr &inBuf, bool filter=TRUE, bool isSourceCode=FALSE) |
read a file name fileName and optionally filter and transcode it 更多... | |
QCString | filterTitle (const QCString &title) |
bool | patternMatch (const FileInfo &fi, const StringVector &patList) |
QCString | externalLinkTarget (const bool parent=false) |
QCString | externalRef (const QCString &relPath, const QCString &ref, bool href) |
int | nextUtf8CharPosition (const QCString &utf8Str, uint len, uint startPos) |
void | writeMarkerList (OutputList &ol, const std::string &markerText, size_t numMarkers, std::function< void(size_t)> replaceFunc) |
void | writeColoredImgData (const QCString &dir, ColoredImgDataItem data[]) |
Writes the intensity only bitmap represented by data as an image to directory dir using the colors defined by HTML_COLORSTYLE_*. 更多... | |
QCString | replaceColorMarkers (const QCString &str) |
Replaces any markers of the form ##AA in input string str by new markers of the form #AABBCC, where #AABBCC represents a valid color, based on the intensity represented by hex number AA and the current HTML_COLORSTYLE_* settings. 更多... | |
bool | copyFile (const QCString &src, const QCString &dest) |
Copies the contents of file with name src to the newly created file with name dest. 更多... | |
QCString | extractBlock (const QCString &text, const QCString &marker) |
Returns the section of text, in between a pair of markers. 更多... | |
int | lineBlock (const QCString &text, const QCString &marker) |
Returns the line number of the line following the line with the marker. 更多... | |
bool | isURL (const QCString &url) |
Checks whether the given url starts with a supported protocol 更多... | |
QCString | correctURL (const QCString &url, const QCString &relPath) |
Corrects URL url according to the relative path relPath. 更多... | |
QCString | processMarkup (const QCString &s) |
bool | protectionLevelVisible (Protection prot) |
QCString | stripIndentation (const QCString &s) |
void | stripIndentation (QCString &doc, const int indentationLevel) |
QCString | getDotImageExtension () |
bool | fileVisibleInIndex (const FileDef *fd, bool &genSourceFile) |
QCString | extractDirection (QCString &docs) |
Strip the direction part from docs and return it as a string in canonical form The input docs string can start with e.g. 更多... | |
void | convertProtectionLevel (MemberListType inListType, Protection inProt, int *outListType1, int *outListType2) |
Computes for a given list type inListType, which are the the corresponding list type(s) in the base class that are to be added to this list. 更多... | |
bool | mainPageHasTitle () |
bool | openOutputFile (const QCString &outFile, std::ofstream &f) |
void | writeExtraLatexPackages (TextStream &t) |
void | writeLatexSpecialFormulaChars (TextStream &t) |
StringVector | split (const std::string &s, const std::string &delimiter) |
split input string s by string delimiter delimiter. returns a vector of non-empty strings that are between the delimiters 更多... | |
StringVector | split (const std::string &s, const reg::Ex &delimiter) |
split input string s by regular expression delimiter delimiter. returns a vector of non-empty strings that are between the delimiters 更多... | |
int | findIndex (const StringVector &sv, const std::string &s) |
find the index of a string in a vector of strings, returns -1 if the string could not be found 更多... | |
int | findIndex (const std::string &s, const reg::Ex &re) |
find the index of the first occurrence of pattern re in a string s returns -1 if the pattern could not be found 更多... | |
std::string | join (const StringVector &s, const std::string &delimiter) |
create a string where the string in the vector are joined by the given delimiter 更多... | |
bool | recognizeFixedForm (const QCString &contents, FortranFormat format) |
FortranFormat | convertFileNameFortranParserCode (QCString fn) |
QCString | integerToAlpha (int n, bool upper=true) |
QCString | integerToRoman (int n, bool upper=true) |
A bunch of utility functions.
在文件 util.h 中定义.
void addCodeOnlyMappings | ( | ) |
被这些函数引用 generateOutput().
void addDirPrefix | ( | QCString & | fileName | ) |
void addGroupListToTitle | ( | OutputList & | ol, |
const Definition * | d | ||
) |
引用了 QCString::find(), Doxygen::htmlFileExtension , 以及 QCString::isEmpty().
被这些函数引用 HtmlCodeGenerator::_writeCodeLink(), DocSets::addContentsItem(), EclipseHelp::addContentsItem(), HtmlHelp::addContentsItem(), DotGroupCollaboration::addMemberList(), DotGroupCollaboration::buildGraph(), MemberContext::Private::callerGraph(), MemberContext::Private::callGraph(), ClassContext::Private::collaborationDiagram(), convertMapFile(), DirContext::Private::dirGraph(), drawClusterOpening(), drawDirectory(), dumpSymbol(), field2URL(), FTVHelp::generateTree(), ModuleContext::Private::groupGraph(), FileContext::Private::includedByGraph(), FileContext::Private::includeGraph(), ClassContext::Private::inheritanceDiagram(), makeFileName(), DefinitionImpl::navigationPathAsString(), node2URL(), replaceRef(), SearchIndexExternal::setCurrentDoc(), HtmlGenerator::startFile(), HtmlGenerator::startIndexItem(), HtmlDocVisitor::startLink(), HtmlGenerator::startTextLink(), LayoutNavEntry::url(), HtmlDocVisitor::visitPre(), DotNode::writeBox(), writeClassToDot(), writeColumn(), DefinitionImpl::writeDocAnchorsToTagFile(), HtmlGenerator::writeInheritedSectionTitle(), writeJavaScriptSearchIndex(), TextGeneratorHtml::writeLink(), writeMapArea(), HtmlGenerator::writeObjectLink(), NamespaceDefImpl::writeQuickMemberLinks(), GroupDefImpl::writeQuickMemberLinks(), FileDefImpl::writeQuickMemberLinks(), ClassDefImpl::writeQuickMemberLinks(), HtmlGenerator::writeSplitBarAsString(), HtmlGenerator::writeStartAnnoItem(), HtmlGenerator::writeSummaryLink(), NamespaceDefImpl::writeTagFile(), PageDefImpl::writeTagFile(), ConceptDefImpl::writeTagFile(), DirDefImpl::writeTagFile(), GroupDefImpl::writeTagFile(), FileDefImpl::writeTagFile(), VhdlDocGen::writeTagFile(), ClassDefImpl::writeTagFile(), MemberDefImpl::writeTagFile(), DocSets::writeToken() , 以及 HtmlCodeGenerator::writeTooltip().
void addMembersToMemberGroup | ( | MemberList * | ml, |
MemberGroupList * | pMemberGroups, | ||
const Definition * | context | ||
) |
void addRefItem | ( | const RefItemVector & | sli, |
const QCString & | key, | ||
const QCString & | prefix, | ||
const QCString & | name, | ||
const QCString & | title, | ||
const QCString & | args, | ||
const Definition * | scope | ||
) |
引用了 QCString::isEmpty().
被这些函数引用 MemberDefImpl::addListReference(), MemberGroup::addListReferences(), NamespaceDefImpl::addListReferences(), GroupDefImpl::addListReferences(), FileDefImpl::addListReferences(), ClassDefImpl::addListReferences(), addListReferences() , 以及 buildPageList().
PageDef* addRelatedPage | ( | const QCString & | name, |
const QCString & | ptitle, | ||
const QCString & | doc, | ||
const QCString & | fileName, | ||
int | docLine, | ||
int | startLine, | ||
const RefItemVector & | sli = RefItemVector() , |
||
GroupDef * | gd = 0 , |
||
const TagInfo * | tagInfo = 0 , |
||
bool | xref = FALSE , |
||
SrcLangExt | lang = SrcLangExt_Unknown |
||
) |
引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), SectionManager::add(), GroupDef::addPage(), convertNameToFile(), createPageDef(), Definition::docFile(), FALSE, TagInfo::fileName, SectionInfo::fileName(), LinkedMap< T, Hash, KeyEqual, Map >::find(), PageDef::getOutputFileBase(), GroupDef::getOutputFileBase(), Definition::getReference(), Definition::getStartBodyLine(), PageDef::hasTitle(), Doxygen::htmlFileExtension, SectionManager::instance(), QCString::isEmpty(), Definition::isReference(), QCString::left(), QCString::length(), SectionInfo::lineNr(), Definition::name(), Page, Doxygen::pageLinkedMap, qPrint(), SectionInfo::ref(), SectionManager::replace(), QCString::right(), DefinitionMutable::setBodySegment(), DefinitionMutable::setDocumentation(), PageDef::setFileName(), DefinitionMutable::setLanguage(), PageDef::setNestingLevel(), PageDef::setPageScope(), DefinitionMutable::setReference(), DefinitionMutable::setRefItems(), PageDef::setShowLineNo(), PageDef::setTitle(), SectionInfo::setTitle(), QCString::stripWhiteSpace(), TagInfo::tagName, PageDef::title(), TRUE , 以及 warn().
QCString argListToString | ( | const ArgumentList & | al, |
bool | useCanonicalType = FALSE , |
||
bool | showDefVals = TRUE |
||
) |
引用了 Argument::array, Argument::attrib, ArgumentList::begin(), Argument::canType, ArgumentList::constSpecifier(), Argument::defval, ArgumentList::end(), QCString::find(), ArgumentList::hasParameters(), QCString::isEmpty(), QCString::left(), QCString::mid(), Argument::name, ArgumentList::pureSpecifier(), ArgumentList::refQualifier(), RefQualifierLValue, RefQualifierRValue, removeRedundantWhiteSpace(), ArgumentList::trailingReturnType(), Argument::type , 以及 ArgumentList::volatileSpecifier().
被这些函数引用 addMemberFunction(), DocParser::checkArgumentName(), DocParser::checkUnOrMultipleDocumentedParams(), findGlobalMember() , 以及 findMember().
引用了 QCString::length() , 以及 QCString::right().
被这些函数引用 copyLatexStyleSheet() , 以及 extraLatexStyleSheet().
bool checkIfTypedef | ( | const Definition * | scope, |
const FileDef * | fileScope, | ||
const QCString & | n | ||
) |
Returns true iff the given name string appears to be a typedef in scope.
引用了 FALSE, getMemberFromSymbol(), MemberDef::isTypedef() , 以及 TRUE.
被这些函数引用 isVarWithConstructor().
QCString clearBlock | ( | const char * | s, |
const char * | begin, | ||
const char * | end | ||
) |
void clearSubDirs | ( | const Dir & | d | ) |
int computeQualifiedIndex | ( | const QCString & | name | ) |
bool containsWord | ( | const QCString & | s, |
const char * | word | ||
) |
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), end(), GrowBuf::get(), HtmlEntityMapper::instance(), QCString::isEmpty(), reg::match(), HtmlEntityMapper::name2sym() , 以及 DocSymbol::Sym_Unknown.
被这些函数引用 convertToJSString(), generateXMLForPage(), parseCommentAsText(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre() , 以及 XmlDocVisitor::visitPre().
FortranFormat convertFileNameFortranParserCode | ( | QCString | fn | ) |
This function determines the file name on disk of an item given its name, which could be a class name with template arguments, so special characters need to be escaped.
引用了 Config_getBool, QCString::data(), escapeCharsInString(), g_usedNames, g_usedNamesCount, g_usedNamesMutex, QCString::isEmpty(), QCString::left(), QCString::length(), QCString::prepend(), QCString::sprintf() , 以及 QCString::str().
被这些函数引用 addRelatedPage(), buildExampleList(), ClassDefImpl::ClassDefImpl(), ConceptDefImpl::ConceptDefImpl(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocParser::handleAHref(), NamespaceDefImpl::NamespaceDefImpl(), FileDefImpl::setDiskName() , 以及 NamespaceDefImpl::setFileName().
void convertProtectionLevel | ( | MemberListType | inListType, |
Protection | inProt, | ||
int * | outListType1, | ||
int * | outListType2 | ||
) |
Computes for a given list type inListType, which are the the corresponding list type(s) in the base class that are to be added to this list.
So for public inheritance, the mapping is 1-1, so outListType1=inListType Private members are to be hidden completely.
For protected inheritance, both protected and public members of the base class should be joined in the protected member section.
For private inheritance, both protected and public members of the base class should be joined in the private member section.
引用了 Config_getBool, MemberListType_priAttribs, MemberListType_priMethods, MemberListType_priSlots, MemberListType_priStaticAttribs, MemberListType_priStaticMethods, MemberListType_priTypes, MemberListType_proAttribs, MemberListType_proMethods, MemberListType_proSlots, MemberListType_proStaticAttribs, MemberListType_proStaticMethods, MemberListType_proTypes, MemberListType_pubAttribs, MemberListType_pubMethods, MemberListType_pubSlots, MemberListType_pubStaticAttribs, MemberListType_pubStaticMethods, MemberListType_pubTypes, Private, Protected , 以及 Public.
被这些函数引用 ClassDefImpl::countInheritedDecMembers(), InheritedMemberInfoListContext::Private::findInheritedMembers() , 以及 ClassDefImpl::writeInheritedMemberDeclarations().
Converts a string to an DocBook-encoded string
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), GrowBuf::get(), hex, HtmlEntityMapper::instance(), QCString::isEmpty(), HtmlEntityMapper::name2sym() , 以及 DocSymbol::Sym_Unknown.
被这些函数引用 addIndexTerm(), DocbookGenerator::docify(), DocbookDocVisitor::filter(), DocbookGenerator::startDescTable(), DocbookGenerator::startIndexSection(), DocbookGenerator::startMemberDoc(), DocbookGenerator::startMemberDocSimple(), DocbookDocVisitor::visitPre(), DocbookDocVisitor::visitPreStart(), writeDocbookString(), DocbookGenerator::writePageLink() , 以及 DefinitionImpl::writeToc().
Converts a string to a HTML-encoded string
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), GrowBuf::get(), hex, QCString::isEmpty(), isId() , 以及 reg::isspace().
被这些函数引用 HtmlCodeGenerator::_writeCodeLink(), HtmlHelp::addContentsItem(), FilterEscape::apply(), HtmlEscaper::escape(), FTVHelp::generateLink(), ClassContext::Private::inheritanceDiagram(), DefinitionImpl::navigationPathAsString(), HtmlGenerator::startFile(), HtmlDocVisitor::startLink(), substituteHtmlKeywords(), HtmlDocVisitor::visit(), HtmlDocVisitor::visitPre(), HtmlHelpIndex::writeFields(), HtmlGenerator::writeInheritedSectionTitle(), TextGeneratorHtml::writeLink(), writeMapArea(), HtmlGenerator::writePageFooter(), NamespaceDefImpl::writeQuickMemberLinks(), GroupDefImpl::writeQuickMemberLinks(), FileDefImpl::writeQuickMemberLinks(), ClassDefImpl::writeQuickMemberLinks(), HtmlGenerator::writeSearchPage(), TextGeneratorHtml::writeString() , 以及 DefinitionImpl::writeToc().
Converts a string to a HTML id string
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), FALSE, GrowBuf::get(), hex, QCString::isEmpty() , 以及 TRUE.
被这些函数引用 HtmlGenerator::endClassDiagram(), ClassContext::Private::inheritanceDiagram(), renderMemberIndicesAsJs(), writeMemberList(), writeQuickMemberIndex(), ClassDefImpl::writeSummaryLinks() , 以及 VhdlDocGen::writeVHDLDeclarations().
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), GrowBuf::get() , 以及 QCString::isEmpty().
被这些函数引用 ClassDiagram::writeFigure() , 以及 writeVectorBox().
Converts a string to an XML-encoded string
引用了 GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), GrowBuf::get(), QCString::isEmpty() , 以及 isId().
被这些函数引用 DocSets::addContentsItem(), EclipseHelp::addContentsItem(), SymbolContext::Private::createScope(), XmlDocVisitor::filter(), generateXMLForClass(), generateXMLForConcept(), generateXMLForDir(), generateXMLForFile(), generateXMLForGroup(), generateXMLForMember(), generateXMLForNamespace(), generateXMLForPage(), generateXMLSection(), DotDirDeps::getImgAltText(), htmlAttribsToString(), EclipseHelp::initialize(), QhpXmlWriter::openCloseContent(), QhpXmlWriter::openPureHelper(), XmlDocVisitor::visitPre(), visitPreStart(), SearchIndexExternal::write(), NamespaceDefImpl::writeClassesToTagFile(), FileDefImpl::writeClassesToTagFile(), NamespaceDefImpl::writeConceptsToTagFile(), DefinitionImpl::writeDocAnchorsToTagFile(), DotNode::writeDocbook(), DotGraph::writeGraphHeader(), DotGroupCollaboration::writeGraphHeader(), writeInnerClasses(), writeInnerDirs(), writeInnerFiles(), writeInnerGroups(), writeInnerNamespaces(), writeInnerPages(), writeJavaScriptSearchIndex(), writeListOfAllMembers(), writeMapArea(), writeMemberReference(), NamespaceDefImpl::writeTagFile(), PageDefImpl::writeTagFile(), ConceptDefImpl::writeTagFile(), DirDefImpl::writeTagFile(), GroupDefImpl::writeTagFile(), FileDefImpl::writeTagFile(), VhdlDocGen::writeTagFile(), ClassDefImpl::writeTagFile(), MemberDefImpl::writeTagFile(), writeTemplateArgumentList(), DocSets::writeToken(), DotNode::writeXML(), writeXMLLink() , 以及 writeXMLString().
Copies the contents of file with name src to the newly created file with name dest.
Returns TRUE if successful.
引用了 err(), qPrint() , 以及 QCString::str().
被这些函数引用 copyExtraFiles(), copyLatexStyleSheet(), copyLogo(), copyStyleSheet(), DocParser::findAndCopyImage(), FormulaManager::generateImages(), CitationManager::generatePage(), substituteLatexKeywords(), DocbookDocVisitor::visitPost() , 以及 XmlDocVisitor::visitPre().
Some strings have been corrected but the requirement regarding the fact that an id cannot have a digit at the first position. To overcome problems with double labels we always place an "a" in front
引用了 QCString::isEmpty().
被这些函数引用 DotGraph::generateCode() , 以及 DotFilePatcher::run().
Corrects URL url according to the relative path relPath.
Returns the corrected URL. For absolute URLs no correction will be done.
引用了 QCString::isEmpty(), isURL() , 以及 QCString::prepend().
被这些函数引用 startQuickIndexItem(), HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre() , 以及 writeIndexHierarchyEntries().
int countAliasArguments | ( | const QCString & | argList | ) |
引用了 QCString::at(), QCString::data(), findEndOfCommand() , 以及 QCString::length().
被这些函数引用 expandAliasRec().
void createSubDirs | ( | const Dir & | d | ) |
引用了 Config_getBool, Dir::exists(), Dir::mkdir(), qPrint(), QCString::sprintf(), QCString::str() , 以及 term().
被这些函数引用 generateOutputViaTemplate(), generateXML(), RTFGenerator::init(), ManGenerator::init(), HtmlGenerator::init(), LatexGenerator::init(), DocbookGenerator::init(), NamespaceDefImpl::writeQuickMemberLinks(), GroupDefImpl::writeQuickMemberLinks(), FileDefImpl::writeQuickMemberLinks() , 以及 ClassDefImpl::writeQuickMemberLinks().
QCString dateToString | ( | bool | ) |
QCString escapeCharsInString | ( | const QCString & | name, |
bool | allowDots, | ||
bool | allowUnderscore = FALSE |
||
) |
引用了 GrowBuf::addChar(), GrowBuf::addStr(), Config_getBool, QCString::data(), GrowBuf::get(), getUTF8CharNumBytes(), hex , 以及 QCString::isEmpty().
被这些函数引用 convertNameToFile(), DotGroupCollaboration::getMapLabel(), DotGfxHierarchyTable::getMapLabel(), DotInclDepGraph::getMapLabel(), DotClassGraph::getMapLabel(), DotDirDeps::getMapLabel() , 以及 PageDefImpl::writeDocumentation().
std::string expandAlias | ( | const std::string & | aliasName, |
const std::string & | aliasValue | ||
) |
QCString externalLinkTarget | ( | const bool | parent = false | ) |
引用了 Config_getBool.
被这些函数引用 HtmlCodeGenerator::_writeCodeLink(), FTVHelp::generateLink(), Markdown::processLink(), replaceRef(), HtmlGenerator::startIndexItem(), HtmlDocVisitor::startLink(), HtmlGenerator::writeInheritedSectionTitle(), TextGeneratorHtml::writeLink(), writeMapArea() , 以及 HtmlGenerator::writeObjectLink().
引用了 QCString::append(), QCString::at(), end(), QCString::isEmpty(), QCString::length(), QCString::prepend(), QCString::str() , 以及 Doxygen::tagDestinationMap.
被这些函数引用 HtmlCodeGenerator::_writeCodeLink(), convertMapFile(), generateJSLink(), FTVHelp::generateLink(), SymbolContext::Private::relPath(), replaceRef(), HtmlGenerator::startIndexItem(), HtmlDocVisitor::startLink(), HtmlGenerator::writeInheritedSectionTitle(), writeJavaScriptSearchIndex(), TextGeneratorHtml::writeLink(), writeMapArea(), HtmlGenerator::writeObjectLink() , 以及 HtmlCodeGenerator::writeTooltip().
引用了 QCString::at(), QCString::length() , 以及 QCString::mid().
被这些函数引用 expandAliasRec() , 以及 findEndOfCommand().
Returns the section of text, in between a pair of markers.
Full lines are returned, excluding the lines on which the markers appear.
引用了 FALSE, QCString::find(), QCString::length() , 以及 QCString::mid().
被这些函数引用 DocPara::handleInclude(), HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit() , 以及 XmlDocVisitor::visit().
int extractClassNameFromType | ( | const QCString & | type, |
int & | pos, | ||
QCString & | name, | ||
QCString & | templSpec, | ||
SrcLangExt | lang | ||
) |
Extracts a (sub-)string from type starting at pos that could form a class. The index of the match is returned and the found class name and a template argument list templSpec. If -1 is returned there are no more matches.
引用了 end(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::lower(), reg::match(), QCString::mid(), QCString::resize(), SrcLangExt_Fortran , 以及 QCString::str().
被这些函数引用 extractCanonicalType() , 以及 findUsedClassesForClass().
Strip the direction part from docs and return it as a string in canonical form The input docs string can start with e.g.
"[in]", "[in, out]", "[inout]", "[out,in]"...
引用了 end(), reg::match() , 以及 QCString::str().
被这些函数引用 MemberContext::Private::createParamDocs() , 以及 MemberDefImpl::writeDocumentation().
void extractNamespaceName | ( | const QCString & | scopeName, |
QCString & | className, | ||
QCString & | namespaceName, | ||
bool | allowEmptyClass | ||
) |
Input is a scopeName, output is the scopename split into a namespace part (as large as possible) and a classname part.
引用了 QCString::findRev(), getClass(), getResolvedNamespace(), QCString::isEmpty(), QCString::left(), QCString::length(), Definition::name(), QCString::resize() , 以及 QCString::right().
被这些函数引用 addClassToContext(), addConceptToContext(), findMember() , 以及 writeAlphabeticalClassList().
reads a file with name name and returns it as a string. If filter is TRUE the file will be filtered by any user specified input filter. If name is "-" the string will be read from standard input.
引用了 BufStr::addChar(), BufStr::at(), BufStr::data(), err(), FileInfo::exists(), QCString::isEmpty(), FileInfo::isFile(), qPrint(), readInputFile(), FileInfo::size(), BufStr::size() , 以及 QCString::str().
被这些函数引用 DoxygenContext::Private::createMathJaxCodeFile(), FormulaManager::generateImages(), getConvertLatexMacro(), HtmlGenerator::init(), LatexGenerator::init(), LayoutDocManager::parse(), parseCode(), FileDefImpl::parseSource(), parseTagFile(), DocParser::readTextFileByName(), runPlantumlContent(), FileDefImpl::writeSourceBody(), HtmlGenerator::writeStyleInfo() , 以及 writeXMLCodeBlock().
bool fileVisibleInIndex | ( | const FileDef * | fd, |
bool & | genSourceFile | ||
) |
void filterLatexString | ( | TextStream & | t, |
const QCString & | str, | ||
bool | insideTabbing, | ||
bool | insidePre, | ||
bool | insideItem, | ||
bool | insideTable, | ||
bool | keepSpaces | ||
) |
引用了 Config_getBool, QCString::data(), insideTable(), HtmlEntityMapper::instance(), QCString::isEmpty(), isId(), HtmlEntityMapper::latex(), HtmlEntityMapper::name2sym() , 以及 DocSymbol::Sym_Unknown.
被这些函数引用 LatexCodeGenerator::codify(), convertToLaTeX(), LatexGenerator::docify(), LatexDocVisitor::filter(), latexEscapeIndexChars(), latexEscapeLabelName(), substituteLatexKeywords() , 以及 TextGeneratorLatex::writeLink().
bool findAndRemoveWord | ( | QCString & | sentence, |
const char * | word | ||
) |
removes occurrences of whole word from sentence, while keeps internal spaces and reducing multiple sequences of spaces.
Example: sentence=cat+ catfish cat cat concat cat
, word=cat
returns: + catfish concat
引用了 end(), reg::match(), QCString::simplifyWhiteSpace() , 以及 QCString::str().
被这些函数引用 isVarWithConstructor().
FileDef* findFileDef | ( | const FileNameLinkedMap * | fnMap, |
const QCString & | n, | ||
bool & | ambig | ||
) |
引用了 Dir::cleanDirPath(), FALSE, FindFileCacheElem::fileDef, Portable::fileSystemIsCaseSensitive(), QCString::findRev(), g_findFileDefCache, g_findFileDefMutex, FileDef::getPath(), FindFileCacheElem::isAmbig, QCString::isEmpty(), QCString::left(), QCString::length(), QCString::lower(), qsnprintf, QCString::right(), QCString::str() , 以及 stripFromIncludePath().
被这些函数引用 addIncludeFile(), buildFileList(), DocParser::findAndCopyImage(), DocParser::findDocsForMemberOrCompound(), generateFileRef(), generateFileSources(), DocParser::handleLinkedWord(), DocDotFile::parse(), DocMscFile::parse(), DocDiaFile::parse(), parseFilesMultiThreading(), parseFilesSingleThreading(), Markdown::processLink(), DocParser::readTextFileByName(), resolveLink(), resolveRef(), DocbookDocVisitor::visitPost() , 以及 XmlDocVisitor::visitPre().
int findIndex | ( | const std::string & | s, |
const reg::Ex & | re | ||
) |
find the index of the first occurrence of pattern re in a string s returns -1 if the pattern could not be found
引用了 reg::match() , 以及 reg::search().
int findIndex | ( | const StringVector & | sv, |
const std::string & | s | ||
) |
find the index of a string in a vector of strings, returns -1 if the string could not be found
被这些函数引用 initUCF(), VhdlDocGen::parseForBinding(), VhdlDocGen::parseUCF(), DotFilePatcher::run() , 以及 VhdlDocGen::writeFormatString().
void generateFileRef | ( | OutputDocInterface & | od, |
const QCString & | , | ||
const QCString & | linkTxt = QCString() |
||
) |
bool generateLink | ( | OutputDocInterface & | od, |
const QCString & | , | ||
const QCString & | , | ||
bool | inSeeBlock, | ||
const QCString & | |||
) |
引用了 Definition::definitionType(), BaseOutputDocInterface::docify(), err(), FALSE, Definition::getLanguage(), Definition::getOutputFileBase(), Definition::getReference(), QCString::isEmpty(), Definition::isReference(), linkToText(), resolveLink(), SrcLangExt_Unknown, toGroupDef(), TRUE, Definition::TypeFile, Definition::TypeGroup, BaseOutputDocInterface::writeObjectLink() , 以及 writePageRef().
QCString generateMarker | ( | int | id | ) |
Generate a place holder for a position in a list. Used for translators to be able to specify different elements orders depending on whether text flows from left to right or visa versa.
引用了 qsnprintf.
被这些函数引用 TranslatorPortuguese::trCompoundReference(), TranslatorItalian::trFriends(), TranslatorBrazilian::trNamespaceReference(), TranslatorSpanish::trPrivateSlots(), TranslatorChinese::trWriteList(), TranslatorPersian::trWriteList() , 以及 TranslatorDanish::trWriteList().
QCString getCanonicalTemplateSpec | ( | const Definition * | d, |
const FileDef * | fs, | ||
const QCString & | spec | ||
) |
引用了 QCString::at(), extractCanonicalType(), QCString::isEmpty(), QCString::length(), resolveTypeDef(), QCString::right() , 以及 QCString::stripWhiteSpace().
被这些函数引用 getCanonicalTypeForIdentifier().
bool getDefs | ( | const QCString & | scName, |
const QCString & | mbName, | ||
const QCString & | args, | ||
const MemberDef *& | md, | ||
const ClassDef *& | cd, | ||
const FileDef *& | fd, | ||
const NamespaceDef *& | nd, | ||
const GroupDef *& | gd, | ||
bool | forceEmptyScope, | ||
const FileDef * | currentFile, | ||
bool | checkCV | ||
) |
Searches for a member definition given its name 'memberName' as a string. memberName may also include a (partial) scope to indicate the scope in which the member is located.
The parameter 'scName' is a string representing the name of the scope in which the link was found.
In case of a function args contains a string representation of the argument list. Passing 0 means the member has no arguments. Passing "()" means any argument list will do, but "()" is preferred.
The function returns TRUE if the member is known and documented or FALSE if it is not. If TRUE is returned parameter 'md' contains a pointer to the member definition. Furthermore exactly one of the parameter 'cd', 'nd', or 'fd' will be non-zero:
引用了 MemberDef::argumentList(), MemberDef::enumFieldList(), FALSE, LinkedMap< T, Hash, KeyEqual, Map >::find(), QCString::find(), findMembersWithSpecificName(), QCString::findRev(), Doxygen::functionNameLinkedMap, MemberDef::getClassDef(), MemberDef::getEnumScope(), MemberDef::getFileDef(), ClassDef::getFileDef(), MemberDef::getGroupDef(), Definition::getLanguage(), MemberDef::getNamespaceDef(), Definition::getOuterScope(), SymbolResolver::getTypedef(), Doxygen::globalScope, QCString::isEmpty(), MemberDef::isEnumerate(), MemberDef::isForeign(), NamespaceDef::isLinkable(), GroupDef::isLinkable(), FileDef::isLinkable(), MemberDef::isLinkable(), ClassDef::isLinkable(), MemberDef::isRelated(), MemberDef::isStrong(), MemberDef::isStrongEnumValue(), QCString::left(), QCString::length(), Definition::localName(), reg::match(), matchArguments2(), maxInheritanceDepth, Doxygen::memberNameLinkedMap, QCString::mid(), minClassDistance(), FileDef::name(), Definition::name(), Doxygen::namespaceLinkedMap, MemberName::rbegin(), MemberName::rend(), QCString::resize(), MemberDef::resolveAlias(), SymbolResolver::resolveClass(), QCString::right(), rightScopeMatch(), SrcLangExt_Cpp, stringToArgumentList(), stripTemplateSpecifiersFromScope(), substitute() , 以及 TRUE.
被这些函数引用 DocParser::findDocsForMemberOrCompound(), linkifyText() , 以及 resolveRef().
QCString getDotImageExtension | ( | ) |
引用了 Config_getEnumAsString, QCString::find() , 以及 QCString::left().
被这些函数引用 RTFGenerator::endCallGraph(), RTFGenerator::endDirDepGraph(), RTFGenerator::endDotGraph(), RTFGenerator::endInclDepGraph(), DotGraph::generateCode(), DotGraph::imgName(), DocbookDocVisitor::startDotFile(), TranslatorChinese::trLegendDocs(), TranslatorDanish::trLegendDocs(), TranslatorPersian::trLegendDocs(), HtmlDocVisitor::visit(), RTFDocVisitor::writeDotFile(), DocbookDocVisitor::writeDotFile(), writeDotGraphFromFile(), writeDotImageMapFromFile(), DotLegendGraph::writeGraph(), writeGraphInfo(), HtmlDocVisitor::writeMscFile() , 以及 HtmlDocVisitor::writePlantUMLFile().
looks for a filter for the file name. Returns the name of the filter if there is a match for the file name, otherwise an empty string. In case inSourceCode is TRUE then first the source filter list is considered.
引用了 Config_getList, Config_getString, FALSE, getFilterFromList(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::remove() , 以及 QCString::right().
被这些函数引用 FilterCache::getFileContents(), readCodeFragment(), readInputFile() , 以及 FileDefImpl::writeSourceBody().
引用了 QCString::findRev(), QCString::isEmpty() , 以及 QCString::mid().
被这些函数引用 TooltipManager::addTooltip(), TagFileParser::buildLists(), convertFileNameFortranParserCode(), FileDefImpl::isDocumentationFile(), MarkdownOutlineParser::parseInput(), HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit() , 以及 XmlDocVisitor::visit().
SrcLangExt getLanguageFromCodeLang | ( | QCString & | fileName | ) |
Routine to handle the language attribute of the \code
command
引用了 QCString::at(), Lang2ExtMap::defExt, g_lang2extMap, getLanguageFromFileName(), Lang2ExtMap::langName, QCString::lower(), QCString::mid(), Lang2ExtMap::parserId, SrcLangExt_Cpp , 以及 SrcLangExt_Unknown.
被这些函数引用 HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit() , 以及 XmlDocVisitor::visit().
SrcLangExt getLanguageFromFileName | ( | const QCString & | fileName, |
SrcLangExt | defLang = SrcLangExt_Cpp |
||
) |
引用了 QCString::at(), FileInfo::extension(), FALSE, g_extLookup, QCString::isEmpty(), QCString::lower(), QCString::prepend() , 以及 QCString::str().
被这些函数引用 MemberDefImpl::_writeMultiLineInitializer(), DocRef::DocRef(), FileDefImpl::FileDefImpl(), getLanguageFromCodeLang(), ClassDefImpl::IMPL::init(), FileDefImpl::isDocumentationFile(), DocSecRefItem::parse(), Markdown::processLink(), readCodeFragment(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), DocbookDocVisitor::visit(), RTFDocVisitor::visit(), ManDocVisitor::visit(), XmlDocVisitor::visit() , 以及 writeXMLCodeBlock().
QCString getLanguageSpecificSeparator | ( | SrcLangExt | lang, |
bool | classScope = FALSE |
||
) |
Returns the scope separator to use given the programming language lang
引用了 SrcLangExt_CSharp, SrcLangExt_Java, SrcLangExt_PHP, SrcLangExt_Python , 以及 SrcLangExt_VHDL.
被这些函数引用 DefinitionImpl::_writeSourceRefList(), MemberDefImpl::addListReference(), addVariableToFile(), SymbolContext::Private::createScope(), MemberDefImpl::displayDefinition(), MemberContext::Private::handleNameWithContextFor(), linkToText(), makeDisplayName(), makeQualifiedNameWithTemplateParameters(), ClassDefImpl::mergeMembers(), DefinitionImpl::qualifiedName(), MemberDefImpl::qualifiedName(), DefinitionAliasImpl::qualifiedName(), SearchIndex::setCurrentDoc(), writeAlphabeticalClassList(), MemberDefImpl::writeDeclaration(), MemberDefImpl::writeDocumentation(), writeJavaScriptSearchIndex(), MemberDefImpl::writeLink() , 以及 writeMemberReference().
QCString getOverloadDocs | ( | ) |
Returns the standard string that is generated when the \overload command is used.
引用了 theTranslator , 以及 Translator::trOverloadText().
被这些函数引用 addMemberDocs() , 以及 addOverloaded().
int getPrefixIndex | ( | const QCString & | name | ) |
Returns the character index within name of the first prefix in Config_getList(IGNORE_PREFIX) that matches name at the left hand side, or zero if no match was found
引用了 Config_getList, QCString::data() , 以及 QCString::isEmpty().
被这些函数引用 addClassMemberNameToIndex(), addFileMemberNameToIndex(), addNamespaceMemberNameToIndex(), SearchIndex::addWord(), FilterAlphaIndex::determineSortKey(), parseInput(), writeAlphabeticalClassList() , 以及 writeMemberList().
int getScopeFragment | ( | const QCString & | s, |
int | p, | ||
int * | l | ||
) |
Returns a fragment from scope s, starting at position p.
s | the scope name as a string. |
p | the start position (0 is the first). |
l | the resulting length of the fragment. |
引用了 QCString::at(), FALSE, QCString::length() , 以及 TRUE.
被这些函数引用 buildScopeFromQualifiedName(), findScopeFromQualifiedName(), SymbolResolver::Private::followPath(), resolveTypeDef() , 以及 stripAnonymousNamespaceScope().
int guessSection | ( | const QCString & | name | ) |
try to determine if name is a source or a header file name by looking at the extension. A number of variations is allowed in both upper and lower case) If anyone knows or uses another extension please let me know :-)
引用了 Entry::HEADER_SEC, QCString::lower(), QCString::right() , 以及 Entry::SOURCE_SEC.
被这些函数引用 addIncludeFile(), TagFileParser::buildLists(), computeClassRelations(), FileDefImpl::FileDefImpl(), FileDefImpl::generateSourceFile() , 以及 ClassDefImpl::IMPL::init().
void initDefaultExtensionMapping | ( | ) |
被这些函数引用 initDoxygen().
引用了 ArgumentList::empty(), QCString::find(), getClass(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::right() , 以及 ClassDef::templateArguments().
被这些函数引用 DotClassGraph::addClass(), generateXMLForClass(), InheritanceListContext::InheritanceListContext(), DiagramItem::label() , 以及 ClassDefImpl::writeInheritanceGraph().
QCString integerToAlpha | ( | int | n, |
bool | upper = true |
||
) |
被这些函数引用 ManDocVisitor::visitPre() , 以及 RTFDocVisitor::visitPre().
QCString integerToRoman | ( | int | n, |
bool | upper = true |
||
) |
被这些函数引用 LatexDocVisitor::visitPre(), RTFDocVisitor::visitPre() , 以及 ManDocVisitor::visitPre().
|
inline |
引用了 reg::isalnum().
被这些函数引用 addTemplateNames(), SearchIndexExternal::addWord(), convertToHtml(), convertToXML(), MemberDefImpl::displayDefinition(), escapeId(), filterLatexString(), findEndOfCommand(), markdownFileNameToId(), matchExcludedSymbols(), removeRedundantWhiteSpace(), stripIrrelevantString(), tempArgListToString() , 以及 MemberDefImpl::writeDocumentation().
|
inline |
引用了 reg::isalnum().
被这些函数引用 searchId().
bool isURL | ( | const QCString & | url | ) |
Checks whether the given url starts with a supported protocol
引用了 QCString::left() , 以及 QCString::stripWhiteSpace().
被这些函数引用 correctURL() , 以及 Markdown::processLink().
std::string join | ( | const StringVector & | s, |
const std::string & | delimiter | ||
) |
create a string where the string in the vector are joined by the given delimiter
QCString langToString | ( | SrcLangExt | lang | ) |
Returns a string representation of lang.
引用了 SrcLangExt_Cpp, SrcLangExt_CSharp, SrcLangExt_D, SrcLangExt_Fortran, SrcLangExt_IDL, SrcLangExt_Java, SrcLangExt_JS, SrcLangExt_Lex, SrcLangExt_Markdown, SrcLangExt_ObjC, SrcLangExt_PHP, SrcLangExt_Python, SrcLangExt_Slice, SrcLangExt_SQL, SrcLangExt_Unknown, SrcLangExt_VHDL , 以及 SrcLangExt_XML.
被这些函数引用 generateXMLForClass(), generateXMLForFile() , 以及 generateXMLForNamespace().
引用了 QCString::data(), filterLatexString(), QCString::isEmpty(), QCString::length() , 以及 TextStream::str().
被这些函数引用 LatexGenerator::addIndexItem(), FilterTexLabel::apply(), LatexGenerator::endTitleHead(), LatexGenerator::startMemberDoc() , 以及 LatexDocVisitor::visit().
引用了 QCString::data(), QCString::isEmpty() , 以及 TextStream::str().
被这些函数引用 LatexGenerator::startMemberDoc().
Returns the line number of the line following the line with the marker.
引用了 FALSE , 以及 QCString::find().
被这些函数引用 DocPara::handleInclude(), HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit() , 以及 XmlDocVisitor::visit().
void linkifyText | ( | const TextGeneratorIntf & | ol, |
const Definition * | scope, | ||
const FileDef * | fileScope, | ||
const Definition * | self, | ||
const QCString & | text, | ||
bool | autoBreak = FALSE , |
||
bool | external = TRUE , |
||
bool | keepSpaces = FALSE , |
||
int | indentLevel = 0 |
||
) |
引用了 ConceptDef::anchor(), MemberDef::anchor(), ClassDef::anchor(), Definition::definitionType(), end(), FALSE, QCString::findRev(), getClass(), getConcept(), getDefs(), Definition::getLanguage(), Definition::getOuterScope(), ConceptDef::getOutputFileBase(), MemberDef::getOutputFileBase(), ClassDef::getOutputFileBase(), MemberDef::getReference(), ClassDef::getReference(), Definition::getReference(), SymbolResolver::getTypedef(), QCString::isEmpty(), ConceptDef::isLinkable(), MemberDef::isLinkable(), ClassDef::isLinkable(), ConceptDef::isLinkableInProject(), MemberDef::isLinkableInProject(), ClassDef::isLinkableInProject(), MemberDef::isVariable(), QCString::left(), reg::match(), QCString::mid(), Definition::name(), SymbolResolver::resolveClass(), SrcLangExt_Fortran, QCString::str(), substitute(), TRUE, Definition::TypeClass, Definition::TypeNamespace, TextGeneratorIntf::writeBreak(), TextGeneratorIntf::writeLink() , 以及 TextGeneratorIntf::writeString().
被这些函数引用 MemberDefImpl::_writeTemplatePrefix(), createLinkedText(), generateXMLForClass(), generateXMLForConcept(), generateXMLForMember(), MemberDefImpl::writeDeclaration(), writeDefArgumentList(), MemberDefImpl::writeDocumentation(), writeExceptionListImpl(), MemberDefImpl::writeMemberDocSimple(), writeTemplateArgumentList(), ClassDefImpl::writeTemplateSpec() , 以及 writeTypeConstraints().
QCString linkToText | ( | SrcLangExt | lang, |
const QCString & | link, | ||
bool | isFileName | ||
) |
bool mainPageHasTitle | ( | ) |
bool matchArguments2 | ( | const Definition * | srcScope, |
const FileDef * | srcFileScope, | ||
const ArgumentList * | srcAl, | ||
const Definition * | dstScope, | ||
const FileDef * | dstFileScope, | ||
const ArgumentList * | dstAl, | ||
bool | checkCV | ||
) |
引用了 ASSERT, ArgumentList::begin(), ArgumentList::constSpecifier(), ArgumentList::empty(), ArgumentList::end(), FALSE, ArgumentList::front(), reg::match(), MATCH, matchArgument2(), NOMATCH, ArgumentList::refQualifier(), ArgumentList::size(), TRUE, Argument::type , 以及 ArgumentList::volatileSpecifier().
被这些函数引用 addMemberDocs(), addMemberFunction(), combineDeclarationAndDefinition(), computeMemberRelations(), findGlobalMember(), findMember(), findMembersWithSpecificName(), getDefs(), GroupDefImpl::insertMember(), ClassDefImpl::mergeMembers(), transferFunctionReferences() , 以及 transferRelatedFunctionDocumentation().
void mergeArguments | ( | ArgumentList & | , |
ArgumentList & | , | ||
bool | forceNameOverwrite = FALSE |
||
) |
引用了 ArgumentList::begin(), Argument::defval, Argument::docs, ArgumentList::end(), QCString::find(), QCString::isEmpty(), QCString::left(), QCString::length(), Argument::name, QCString::resize(), QCString::right(), ArgumentList::size(), QCString::stripWhiteSpace() , 以及 Argument::type.
被这些函数引用 addMemberDocs().
Merges two scope parts together. The parts may (partially) overlap. Example1: A::B
and B::C
will result in A::B::C
Example2: A
and B
will be A::B
Example3: A::B
and B will be A::B
leftScope | the left hand part of the scope. |
rightScope | the right hand part of the scope. |
引用了 FALSE, QCString::findRev(), QCString::isEmpty(), QCString::left(), leftScopeMatch(), QCString::length(), QCString::right() , 以及 TRUE.
被这些函数引用 addEnumValuesToEnums(), findEnums() , 以及 findMember().
QCString normalizeNonTemplateArgumentsInString | ( | const QCString & | name, |
const Definition * | context, | ||
const ArgumentList & | formalArgs | ||
) |
bool openOutputFile | ( | const QCString & | outFile, |
std::ofstream & | f | ||
) |
QCString parseCommentAsText | ( | const Definition * | scope, |
const MemberDef * | member, | ||
const QCString & | doc, | ||
const QCString & | fileName, | ||
int | lineNr | ||
) |
引用了 QCString::at(), Config_getBool, convertCharEntitiesToUTF8(), createDocParser(), QCString::data(), FALSE, QCString::isEmpty(), QCString::left(), QCString::length(), nextUTF8CharPosition(), TextStream::str(), QCString::stripWhiteSpace() , 以及 validatingParseDoc().
被这些函数引用 DefinitionImpl::computeTooltip() , 以及 formatBriefNote().
bool patternMatch | ( | const FileInfo & | fi, |
const StringVector & | patList | ||
) |
引用了 FileInfo::absFilePath(), Config_getBool, FALSE, FileInfo::fileName(), FileInfo::filePath(), Portable::fileSystemIsCaseSensitive(), reg::Ex::isValid(), QCString::lower(), reg::match(), QCString::str() , 以及 reg::Ex::Wildcard.
被这些函数引用 readDir().
bool protectionLevelVisible | ( | Protection | prot | ) |
引用了 Config_getBool, Package , 以及 Private.
被这些函数引用 MemberDefImpl::_computeLinkableInProject(), computeClassRelations(), MemberDefImpl::hasDetailedDescription(), ClassDefImpl::internalInsertMember(), MemberDefImpl::isBriefSectionVisible(), ClassDefImpl::isLinkableInProject(), ClassDefImpl::isVisibleInHierarchy(), AllMembersListContext::Private::Private(), MemberDefImpl::warnIfUndocumented(), ClassDefImpl::writeDocumentationForInnerClasses(), ClassDefImpl::writeMemberList() , 以及 ClassDefImpl::writeTagFile().
bool readInputFile | ( | const QCString & | fileName, |
BufStr & | inBuf, | ||
bool | filter = TRUE , |
||
bool | isSourceCode = FALSE |
||
) |
read a file name fileName and optionally filter and transcode it
引用了 BufStr::addArray(), BufStr::addChar(), BufStr::at(), Config_getString, BufStr::curPos(), BufStr::data(), BufStr::dropFromStart(), err(), FileInfo::exists(), Debug::ExtCmd, FALSE, filterCRLF(), Debug::FilterOutput, getFileFilter(), QCString::isEmpty(), Portable::pclose(), Portable::popen(), Debug::print(), qPrint(), BufStr::shrink(), FileInfo::size(), BufStr::skip(), QCString::str(), transcodeCharacterBuffer() , 以及 TRUE.
被这些函数引用 fileToString() , 以及 parseFile().
bool recognizeFixedForm | ( | const QCString & | contents, |
FortranFormat | format | ||
) |
引用了 FALSE, FortranFormat_Fixed, FortranFormat_Free , 以及 TRUE.
Removes all anonymous scopes from string s Possible examples:
"bla::@10::blep" => "bla::blep" "bla::@10::@11::blep" => "bla::blep" "@10::blep" => "blep" " @10::blep" => "blep" "@9::@10::blep" => "blep" "bla::@1" => "bla" "bla::@1::@2" => "bla" "bla @1" => "bla"
引用了 end(), reg::match() , 以及 TextStream::str().
被这些函数引用 createTagLessInstance(), makeDisplayName(), simplifyTypeForTable() , 以及 MemberDefImpl::writeDeclaration().
引用了 BufStr::addChar(), BufStr::data(), QCString::data() , 以及 QCString::length().
被这些函数引用 substituteHtmlKeywords() , 以及 substituteLatexKeywords().
引用了 CharAroundSpace::CharElem::before, CharAroundSpace::charMap, Config_getBool, constScope, QCString::data(), g_charAroundSpace, QCString::isEmpty(), isId(), reg::isspace(), QCString::length(), operatorScope, THREAD_LOCAL, virtualScope , 以及 volatileScope.
被这些函数引用 addVariableToClass(), argListToString(), extractCanonicalType(), findClassRelation(), DocParser::findDocsForMemberOrCompound(), findMember(), findUsedClassesForClass(), findUsingDeclImports(), getCanonicalTypeForIdentifier(), SymbolResolver::Private::getResolvedClassRec(), MemberDefImpl::IMPL::init(), ClassDefImpl::insertTemplateInstance(), normalizeNonTemplateArgumentsInString(), resolveRef(), tempArgListToString() , 以及 writeExceptionListImpl().
引用了 QCString::data(), QCString::isEmpty(), reg::replace() , 以及 QCString::str().
被这些函数引用 generateDEFForMember().
Replaces any markers of the form ##AA in input string str by new markers of the form #AABBCC, where #AABBCC represents a valid color, based on the intensity represented by hex number AA and the current HTML_COLORSTYLE_* settings.
引用了 Config_getInt, end(), hex, HEXTONUM, ColoredImage::hsl2rgb(), QCString::isEmpty(), reg::match() , 以及 QCString::str().
被这些函数引用 ResourceMgr::copyResourceAs(), HtmlGenerator::writeSearchData(), HtmlGenerator::writeStyleInfo() , 以及 HtmlGenerator::writeStyleSheetFile().
void replaceNamespaceAliases | ( | QCString & | scope, |
int | i | ||
) |
引用了 expandAliasRec().
bool resolveLink | ( | const QCString & | scName, |
const QCString & | lr, | ||
bool | inSeeBlock, | ||
const Definition ** | resContext, | ||
QCString & | resAnchor | ||
) |
引用了 FileInfo::absFilePath(), ConceptDef::anchor(), MemberDef::anchor(), ClassDef::anchor(), SectionInfo::definition(), Doxygen::dirLinkedMap, Doxygen::exampleLinkedMap, FALSE, LinkedMap< T, Hash, KeyEqual, Map >::find(), findFileDef(), getClass(), getConcept(), PageDef::getGroupDef(), Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, SectionManager::instance(), QCString::isEmpty(), FileDef::isLinkable(), DirDef::isLinkable(), SectionInfo::label(), Definition::name(), Doxygen::namespaceLinkedMap, Doxygen::pageLinkedMap, resolveRef(), QCString::str(), stripTemplateSpecifiersFromScope() , 以及 TRUE.
被这些函数引用 DocLink::DocLink(), DocRef::DocRef(), generateLink() , 以及 LayoutNavEntry::url().
bool resolveRef | ( | const QCString & | scName, |
const QCString & | name, | ||
bool | inSeeBlock, | ||
const Definition ** | resContext, | ||
const MemberDef ** | resMember, | ||
bool | lookForSpecialization, | ||
const FileDef * | currentFile, | ||
bool | checkScope | ||
) |
Returns an object to reference to given its name and context
引用了 ASSERT, Doxygen::conceptLinkedMap, FALSE, LinkedMap< T, Hash, KeyEqual, Map >::find(), QCString::find(), findFileDef(), findParameterList(), QCString::findRev(), getClass(), getDefs(), Definition::getOuterScope(), getScopeDefs(), Doxygen::globalScope, Doxygen::groupLinkedMap, Doxygen::inputNameLinkedMap, QCString::isEmpty(), isLowerCase(), MemberDef::isStrongEnumValue(), QCString::left(), QCString::length(), QCString::mid(), removeRedundantWhiteSpace(), resolveRef(), QCString::right(), substitute() , 以及 TRUE.
被这些函数引用 DocParser::handleLinkedWord(), resolveLink() , 以及 resolveRef().
QCString resolveTypeDef | ( | const Definition * | d, |
const QCString & | name, | ||
const Definition ** | typedefContext = 0 |
||
) |
引用了 MemberDef::argsString(), Definition::definitionType(), LinkedMap< T, Hash, KeyEqual, Map >::find(), QCString::find(), Definition::findInnerCompound(), QCString::findRev(), Doxygen::functionNameLinkedMap, Definition::getOuterScope(), getScopeFragment(), SymbolResolver::isAccessibleFrom(), QCString::isEmpty(), MemberDef::isTypedef(), QCString::left(), QCString::length(), Doxygen::memberNameLinkedMap, QCString::mid(), resolveTypeDef(), QCString::right(), Definition::TypeClass , 以及 MemberDef::typeString().
被这些函数引用 findUsedClassesForClass(), getCanonicalTemplateSpec(), getCanonicalTypeForIdentifier(), isVarWithConstructor() , 以及 resolveTypeDef().
引用了 QCString::at(), QCString::length() , 以及 QCString::right().
被这些函数引用 addMemberFunction(), findScopeFromQualifiedName(), getDefs() , 以及 isRecursiveBaseClass().
引用了 g_nextTag, g_rtfFormatMutex, g_tagMap, QCString::length(), Debug::print(), qPrint(), QCString::rawData(), Debug::Rtf , 以及 QCString::str().
被这些函数引用 RTFGenerator::endDoxyAnchor(), RTFDocVisitor::startLink(), RTFGenerator::startTextLink(), RTFDocVisitor::visit(), RTFDocVisitor::visitPre(), RTFGenerator::writeAnchor(), RTFGenerator::writeCodeLink(), RTFGenerator::writeLineNumber(), RTFGenerator::writeObjectLink(), RTFGenerator::writeRTFReference() , 以及 RTFGenerator::writeStartAnnoItem().
QCString selectBlock | ( | const QCString & | s, |
const QCString & | name, | ||
bool | enable, | ||
OutputGenerator::OutputType | o | ||
) |
引用了 begin(), clearBlock(), end(), OutputGenerator::Html, OutputGenerator::Latex , 以及 substitute().
被这些函数引用 substituteHtmlKeywords() , 以及 substituteLatexKeywords().
QCString showFileDefMatches | ( | const FileNameLinkedMap * | fnMap, |
const QCString & | n | ||
) |
引用了 LinkedMap< T, Hash, KeyEqual, Map >::find(), QCString::findRev(), QCString::isEmpty(), QCString::left(), QCString::length() , 以及 QCString::right().
被这些函数引用 addIncludeFile(), buildFileList(), DocParser::findAndCopyImage(), DocDotFile::parse(), DocMscFile::parse(), DocDiaFile::parse() , 以及 DocParser::readTextFileByName().
StringVector split | ( | const std::string & | s, |
const reg::Ex & | delimiter | ||
) |
split input string s by regular expression delimiter delimiter. returns a vector of non-empty strings that are between the delimiters
引用了 end() , 以及 reg::match().
StringVector split | ( | const std::string & | s, |
const std::string & | delimiter | ||
) |
split input string s by string delimiter delimiter. returns a vector of non-empty strings that are between the delimiters
void stackTrace | ( | ) |
引用了 Portable::pclose() , 以及 Portable::popen().
引用了 QCString::at(), getScopeFragment(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::mid(), Doxygen::namespaceLinkedMap , 以及 QCString::right().
被这些函数引用 addMemberFunction(), addPageToContext(), buildNamespaceList(), computeTemplateClassRelations(), extractClassName(), findGroupScope(), findUsingDeclImports(), findUsingDirectives(), MemberDefImpl::getClassDefOfAnonymousType() , 以及 resolveClassNestingRelations().
引用了 QCString::left(), QCString::length() , 以及 QCString::right().
被这些函数引用 TooltipManager::addTooltip(), TagFileParser::buildLists(), extraLatexStyleSheet(), MarkdownOutlineParser::parseInput(), stripExtension(), DocbookCodeGenerator::writeCodeLinkLine(), LatexCodeGenerator::writeLineNumber() , 以及 RTFGenerator::writeLineNumber().
strip part of path if it matches one of the paths in the Config_getList(INCLUDE_PATH) list
引用了 Config_getList , 以及 stripFromPath().
被这些函数引用 addIncludeFile() , 以及 findFileDef().
strip part of path if it matches one of the paths in the Config_getList(STRIP_FROM_PATH) list
引用了 Config_getList , 以及 stripFromPath().
引用了 Config_getInt, QCString::data(), FALSE, QCString::isEmpty(), TextStream::str() , 以及 TRUE.
被这些函数引用 DocPara::handleInclude() , 以及 DocPara::handleStartCode().
void stripIndentation | ( | QCString & | doc, |
const int | indentationLevel | ||
) |
Special version of QCString::stripWhiteSpace() that only strips completely blank lines.
s | the string to be stripped |
docLine | the line number corresponding to the start of the string. This will be adjusted based on the number of lines stripped from the start. |
引用了 QCString::data(), QCString::isEmpty(), QCString::length(), QCString::mid() , 以及 qstrncmp().
被这些函数引用 DefinitionImpl::_setBriefDescription(), DefinitionImpl::_setDocumentation(), DocGroup::addDocs(), VHDLOutlineParser::checkInlineCode() , 以及 DocPara::handleCommand().
引用了 QCString::findRev() , 以及 QCString::mid().
被这些函数引用 TagFileParser::buildLists(), RTFGenerator::endDoxyAnchor(), LatexGenerator::endIndexItem(), LatexGenerator::endIndexValue(), LatexGenerator::endTitleHead(), InheritedMemberInfoContext::Private::id(), DotFilePatcher::run(), SearchIndexExternal::setCurrentDoc(), LatexGenerator::startDoxyAnchor(), DocbookGenerator::startDoxyAnchor(), RTFGenerator::startFile(), LatexGenerator::startFile(), DocbookGenerator::startFile(), DocbookDocVisitor::startLink(), RTFDocVisitor::startLink(), LatexDocVisitor::startLink(), DocbookGenerator::startSection(), LatexGenerator::startSection(), RTFGenerator::startTextLink(), LatexGenerator::startTextLink(), LatexGenerator::startTitleHead(), substituteHtmlKeywords(), substituteKeywords(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), RTFDocVisitor::visit(), LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), LatexDocVisitor::visitPre(), RTFDocVisitor::visitPre(), RTFGenerator::writeAnchor(), LatexGenerator::writeAnchor(), LatexCodeGenerator::writeCodeLink(), RTFGenerator::writeCodeLink(), DocbookCodeGenerator::writeCodeLinkLine(), MemberList::writeDeclarations(), writeDocbookLink(), LatexGenerator::writeEndAnnoItem(), LatexCodeGenerator::writeLineNumber(), RTFGenerator::writeLineNumber(), TextGeneratorLatex::writeLink(), RTFGenerator::writeObjectLink(), LatexGenerator::writeObjectLink(), DocbookGenerator::writeObjectLink(), DocbookGenerator::writePageLink(), RTFGenerator::writeRTFReference() , 以及 RTFGenerator::writeStartAnnoItem().
Strips the scope from a name. Examples: A::B will return A and A<T>::B<N::C<D> > will return A<T>.
引用了 QCString::at(), FALSE, QCString::length(), QCString::right() , 以及 TRUE.
被这些函数引用 DotClassGraph::addClass(), getCanonicalTypeForIdentifier(), DefinitionImpl::IMPL::init(), DiagramItem::label(), NamespaceDefImpl::writeBriefDescription() , 以及 ClassDefImpl::writeIncludeFilesForSlice().
QCString stripTemplateSpecifiersFromScope | ( | const QCString & | fullName, |
bool | parentOnly, | ||
QCString * | pLastScopeStripped | ||
) |
Strips template specifiers from scope fullName, except those that make up specialized classes. The switch parentOnly determines whether or not a template "at the end" of a scope should be considered, e.g. with parentOnly is TRUE
, A<T>::B<S>
will try to strip <T>
and not <S>
, while parentOnly is FALSE
will strip both unless A<T>
or B<S>
are specialized template classes.
引用了 QCString::at(), QCString::find(), getClass(), QCString::length(), QCString::mid() , 以及 QCString::right().
被这些函数引用 addClassToContext(), addMemberFunction(), computeTemplateClassRelations(), extractClassName(), findMember(), findScopeFromQualifiedName(), findUsingDeclImports(), getCanonicalTypeForIdentifier(), getDefs(), SymbolResolver::Private::getResolvedClassRec(), SymbolResolver::Private::newResolveTypedef() , 以及 resolveLink().
QCString substituteKeywords | ( | const QCString & | s, |
const QCString & | title, | ||
const QCString & | projName, | ||
const QCString & | projNum, | ||
const QCString & | projBrief | ||
) |
引用了 Config_getString, dateToString(), FALSE, QCString::isEmpty(), stripPath(), substitute(), TRUE , 以及 yearToString().
被这些函数引用 substituteHtmlKeywords() , 以及 substituteLatexKeywords().
QCString substituteTemplateArgumentsInString | ( | const QCString & | nm, |
const ArgumentList & | formalArgs, | ||
const std::unique_ptr< ArgumentList > & | actualArgs | ||
) |
Substitutes any occurrence of a formal argument from argument list formalArgs in name by the corresponding actual argument in argument list actualArgs. The result after substitution is returned as a string. The argument name is used to prevent recursive substitution.
引用了 ArgumentList::begin(), Argument::defval, ArgumentList::empty(), ArgumentList::end(), end(), FALSE, QCString::isEmpty(), QCString::left(), leftScopeMatch(), reg::match(), QCString::mid(), Argument::name, QCString::str(), QCString::stripWhiteSpace(), substituteTemplateArgumentsInString(), TRUE , 以及 Argument::type.
被这些函数引用 computeTemplateClassRelations(), MemberDefImpl::createTemplateInstanceMember(), findBaseClassesForClass(), findUsedClassesForClass(), SymbolResolver::Private::newResolveTypedef() , 以及 substituteTemplateArgumentsInString().
QCString tempArgListToString | ( | const ArgumentList & | al, |
SrcLangExt | lang, | ||
bool | includeDefaults = true |
||
) |
引用了 Config_getBool, QCString::data() , 以及 QCString::isEmpty().
引用了 QCString::at(), QCString::data(), err(), FALSE, g_extLookup, g_lang2extMap, QCString::isEmpty(), Lang2ExtMap::langName, QCString::lower(), Lang2ExtMap::parserId, Doxygen::parserManager, Lang2ExtMap::parserName, QCString::prepend(), qPrint(), QCString::str() , 以及 TRUE.
被这些函数引用 addCodeOnlyMappings(), adjustConfiguration() , 以及 initDefaultExtensionMapping().
void writeColoredImgData | ( | const QCString & | dir, |
ColoredImgDataItem | data[] | ||
) |
Writes the intensity only bitmap represented by data as an image to directory dir using the colors defined by HTML_COLORSTYLE_*.
引用了 IndexList::addImageFile(), ColoredImgDataItem::alpha, Config_getInt, ColoredImgDataItem::content, ColoredImgDataItem::height, Doxygen::indexList, ColoredImgDataItem::name, ColoredImage::save() , 以及 ColoredImgDataItem::width.
被这些函数引用 ResourceMgr::copyResourceAs().
void writeExamples | ( | OutputList & | ol, |
const ExampleList & | el | ||
) |
引用了 OutputList::disable(), OutputGenerator::Docbook, OutputGenerator::Html, OutputGenerator::Latex, OutputGenerator::Man, OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, QCString::str(), theTranslator, Translator::trWriteList(), writeMarkerList(), OutputList::writeObjectLink() , 以及 OutputList::writeString().
被这些函数引用 MemberDefImpl::_writeExamples() , 以及 ClassDefImpl::writeDetailedDocumentationBody().
void writeExtraLatexPackages | ( | TextStream & | t | ) |
void writeLatexSpecialFormulaChars | ( | TextStream & | t | ) |
被这些函数引用 FormulaManager::generateImages() , 以及 substituteLatexKeywords().
void writeMarkerList | ( | OutputList & | ol, |
const std::string & | markerText, | ||
size_t | numMarkers, | ||
std::function< void(size_t)> | replaceFunc | ||
) |
void writePageRef | ( | OutputDocInterface & | od, |
const QCString & | cn, | ||
const QCString & | mn | ||
) |
引用了 Config_getBool, OutputDocInterface::disable(), OutputGenerator::Docbook, BaseOutputDocInterface::docify(), BaseOutputDocInterface::endPageRef(), OutputGenerator::Html, OutputGenerator::Latex, OutputGenerator::Man, OutputDocInterface::popGeneratorState(), OutputDocInterface::pushGeneratorState(), OutputGenerator::RTF, BaseOutputDocInterface::startPageRef(), theTranslator , 以及 Translator::trPageAbbreviation().
被这些函数引用 MemberDefImpl::_writeReimplementedBy(), MemberDefImpl::_writeReimplements() , 以及 generateLink().
void writeTypeConstraints | ( | OutputList & | ol, |
const Definition * | d, | ||
const ArgumentList & | al | ||
) |
引用了 Config_getBool, Definition::docFile(), Definition::docLine(), ArgumentList::empty(), OutputList::endConstraintDocs(), OutputList::endConstraintList(), OutputList::endConstraintParam(), OutputList::endConstraintType(), FALSE, OutputList::generateDoc(), linkifyText(), OutputList::parseText(), OutputList::startConstraintDocs(), OutputList::startConstraintList(), OutputList::startConstraintParam(), OutputList::startConstraintType(), theTranslator, Translator::trTypeConstraints() , 以及 TRUE.
被这些函数引用 MemberDefImpl::_writeTypeConstraints() , 以及 ClassDefImpl::writeDetailedDocumentationBody().