Doxygen
|
#include <stdlib.h>
#include <errno.h>
#include <math.h>
#include <limits.h>
#include <string.h>
#include <assert.h>
#include <mutex>
#include <unordered_set>
#include <codecvt>
#include <algorithm>
#include <ctime>
#include <cctype>
#include <cinttypes>
#include <sstream>
#include "md5.h"
#include "regex.h"
#include "util.h"
#include "message.h"
#include "classdef.h"
#include "filedef.h"
#include "doxygen.h"
#include "outputlist.h"
#include "defargs.h"
#include "language.h"
#include "config.h"
#include "htmlhelp.h"
#include "example.h"
#include "version.h"
#include "groupdef.h"
#include "reflist.h"
#include "pagedef.h"
#include "debug.h"
#include "searchindex.h"
#include "textdocvisitor.h"
#include "latexdocvisitor.h"
#include "portable.h"
#include "parserintf.h"
#include "bufstr.h"
#include "image.h"
#include "growbuf.h"
#include "entry.h"
#include "arguments.h"
#include "memberlist.h"
#include "classlist.h"
#include "namespacedef.h"
#include "membername.h"
#include "filename.h"
#include "membergroup.h"
#include "dirdef.h"
#include "htmlentity.h"
#include "symbolresolver.h"
#include "fileinfo.h"
#include "dir.h"
#include "utf8.h"
#include "textstream.h"
类 | |
struct | CharAroundSpace |
struct | CharAroundSpace::CharElem |
struct | FindFileCacheElem |
Cache element for the file name to FileDef mapping cache. 更多... | |
struct | Lang2ExtMap |
struct | Marker |
宏定义 | |
#define | ENABLE_TRACINGSUPPORT 0 |
#define | REL_PATH_TO_ROOT "../../" |
#define | MATCH |
#define | NOMATCH |
#define | HEXTONUM(x) |
函数 | |
QCString | removeAnonymousScopes (const QCString &str) |
QCString | replaceAnonymousScopes (const QCString &s, const QCString &replacement) |
QCString | stripAnonymousNamespaceScope (const QCString &s) |
void | writePageRef (OutputDocInterface &od, const QCString &cn, const QCString &mn) |
QCString | generateMarker (int id) |
static QCString | stripFromPath (const QCString &path, const StringVector &l) |
QCString | stripFromPath (const QCString &path) |
QCString | stripFromIncludePath (const QCString &path) |
int | guessSection (const QCString &name) |
QCString | resolveTypeDef (const Definition *context, const QCString &qualifiedName, const Definition **typedefContext) |
int | computeQualifiedIndex (const QCString &name) |
QCString | removeRedundantWhiteSpace (const QCString &s) |
int | findParameterList (const QCString &name) |
Returns the position in the string where a function parameter list begins, or -1 if one is not found. 更多... | |
bool | rightScopeMatch (const QCString &scope, const QCString &name) |
bool | leftScopeMatch (const QCString &scope, const QCString &name) |
void | linkifyText (const TextGeneratorIntf &out, const Definition *scope, const FileDef *fileScope, const Definition *self, const QCString &text, bool autoBreak, bool external, bool keepSpaces, int indentLevel) |
void | writeMarkerList (OutputList &ol, const std::string &markerText, size_t numMarkers, std::function< void(size_t)> replaceFunc) |
void | writeExamples (OutputList &ol, const ExampleList &list) |
QCString | argListToString (const ArgumentList &al, bool useCanonicalType, bool showDefVals) |
QCString | tempArgListToString (const ArgumentList &al, SrcLangExt lang, bool includeDefault) |
static int | filterCRLF (char *buf, int len) |
static QCString | getFilterFromList (const QCString &name, const StringVector &filterList, bool &found) |
QCString | getFileFilter (const QCString &name, bool isSourceCode) |
QCString | transcodeCharacterStringToUTF8 (const QCString &input) |
QCString | fileToString (const QCString &name, bool filter, bool isSourceCode) |
static std::tm | getCurrentDateTime () |
QCString | dateToString (bool includeTime) |
QCString | yearToString () |
void | trimBaseClassScope (const BaseClassList &bcl, QCString &s, int level=0) |
static void | stripIrrelevantString (QCString &target, const QCString &str) |
void | stripIrrelevantConstVolatile (QCString &s) |
static QCString | stripDeclKeywords (const QCString &s) |
static QCString | extractCanonicalType (const Definition *d, const FileDef *fs, QCString type) |
QCString | getCanonicalTemplateSpec (const Definition *d, const FileDef *fs, const QCString &spec) |
static QCString | getCanonicalTypeForIdentifier (const Definition *d, const FileDef *fs, const QCString &word, QCString *tSpec, int count=0) |
static QCString | extractCanonicalArgType (const Definition *d, const FileDef *fs, const Argument &arg) |
static bool | matchArgument2 (const Definition *srcScope, const FileDef *srcFileScope, Argument &srcA, const Definition *dstScope, const FileDef *dstFileScope, Argument &dstA) |
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 &srcAl, ArgumentList &dstAl, bool forceNameOverwrite) |
static void | findMembersWithSpecificName (const MemberName *mn, const QCString &args, bool checkStatics, const FileDef *currentFile, bool checkCV, std::vector< const MemberDef * > &members) |
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) |
static bool | getScopeDefs (const QCString &docScope, const QCString &scope, ClassDef *&cd, NamespaceDef *&nd) |
static bool | isLowerCase (QCString &s) |
bool | resolveRef (const QCString &scName, const QCString &name, bool inSeeBlock, const Definition **resContext, const MemberDef **resMember, bool lookForSpecialization, const FileDef *currentFile, bool checkScope) |
QCString | linkToText (SrcLangExt lang, const QCString &link, bool isFileName) |
bool | resolveLink (const QCString &scName, const QCString &lr, bool, const Definition **resContext, QCString &resAnchor) |
bool | generateLink (OutputDocInterface &od, const QCString &clName, const QCString &lr, bool inSeeBlock, const QCString <) |
void | generateFileRef (OutputDocInterface &od, const QCString &name, const QCString &text) |
FileDef * | findFileDef (const FileNameLinkedMap *fnMap, const QCString &n, bool &ambig) |
QCString | showFileDefMatches (const FileNameLinkedMap *fnMap, const QCString &n) |
QCString | substituteKeywords (const QCString &s, const QCString &title, const QCString &projName, const QCString &projNum, const QCString &projBrief) |
int | getPrefixIndex (const QCString &name) |
QCString | escapeCharsInString (const QCString &name, bool allowDots, bool allowUnderscore) |
QCString | unescapeCharsInString (const QCString &s) |
QCString | convertNameToFile (const QCString &name, bool allowDots, bool allowUnderscore) |
QCString | relativePathToRoot (const QCString &name) |
void | createSubDirs (const Dir &d) |
void | clearSubDirs (const Dir &d) |
void | extractNamespaceName (const QCString &scopeName, QCString &className, QCString &namespaceName, bool allowEmptyClass) |
QCString | insertTemplateSpecifierInScope (const QCString &scope, const QCString &templ) |
QCString | stripScope (const QCString &name) |
QCString | convertToId (const QCString &s) |
QCString | correctId (const QCString &s) |
QCString | convertToXML (const QCString &s, bool keepEntities) |
QCString | convertToDocBook (const QCString &s) |
QCString | convertToHtml (const QCString &s, bool keepEntities) |
QCString | convertToJSString (const QCString &s) |
QCString | convertToPSString (const QCString &s) |
QCString | convertToLaTeX (const QCString &s, bool insideTabbing, bool keepSpaces) |
QCString | convertCharEntitiesToUTF8 (const QCString &str) |
QCString | getOverloadDocs () |
void | addMembersToMemberGroup (MemberList *ml, MemberGroupList *pMemberGroups, const Definition *context) |
int | extractClassNameFromType (const QCString &type, int &pos, QCString &name, QCString &templSpec, SrcLangExt lang) |
QCString | normalizeNonTemplateArgumentsInString (const QCString &name, const Definition *context, const ArgumentList &formalArgs) |
QCString | substituteTemplateArgumentsInString (const QCString &nm, const ArgumentList &formalArgs, const std::unique_ptr< ArgumentList > &actualArgs) |
QCString | stripTemplateSpecifiersFromScope (const QCString &fullName, bool parentOnly, QCString *pLastScopeStripped) |
QCString | mergeScopes (const QCString &leftScope, const QCString &rightScope) |
int | getScopeFragment (const QCString &s, int p, int *l) |
PageDef * | addRelatedPage (const QCString &name, const QCString &ptitle, const QCString &doc, const QCString &fileName, int docLine, int startLine, const RefItemVector &sli, GroupDef *gd, const TagInfo *tagInfo, bool xref, SrcLangExt lang) |
void | addRefItem (const RefItemVector &sli, const QCString &key, const QCString &prefix, const QCString &name, const QCString &title, const QCString &args, const Definition *scope) |
bool | recursivelyAddGroupListToTitle (OutputList &ol, const Definition *d, bool root) |
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) |
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) |
QCString | stripPath (const QCString &s) |
bool | containsWord (const QCString &str, const char *word) |
returns TRUE iff string s contains word w 更多... | |
bool | findAndRemoveWord (QCString &sentence, 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 &language) |
void | initDefaultExtensionMapping () |
void | addCodeOnlyMappings () |
SrcLangExt | getLanguageFromFileName (const QCString &fileName, SrcLangExt defLang) |
SrcLangExt | getLanguageFromCodeLang (QCString &fileName) |
Routine to handle the language attribute of the \code command 更多... | |
QCString | getFileNameExtension (const QCString &fn) |
static MemberDef * | getMemberFromSymbol (const Definition *scope, const FileDef *fileScope, const QCString &n) |
bool | checkIfTypedef (const Definition *scope, const FileDef *fileScope, const QCString &n) |
static int | nextUTF8CharPosition (const QCString &utf8Str, uint len, uint startPos) |
QCString | parseCommentAsText (const Definition *scope, const MemberDef *md, const QCString &doc, const QCString &fileName, int lineNr) |
static QCString | expandAliasRec (StringUnorderedSet &aliasesProcessed, const QCString &s, bool allowRecursion=FALSE) |
static int | findEndOfCommand (const char *s) |
For a string s that starts with a command name, returns the character offset within that string representing the first character after the command. 更多... | |
static QCString | replaceAliasArguments (StringUnorderedSet &aliasesProcessed, const QCString &aliasValue, const QCString &argList) |
Replaces the markers in an alias definition aliasValue with the corresponding values found in the comma separated argument list argList and the returns the result after recursive alias expansion. 更多... | |
static QCString | escapeCommas (const QCString &s) |
int | countAliasArguments (const QCString &argList) |
QCString | extractAliasArgs (const QCString &args, size_t pos) |
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) |
void | stackTrace () |
static int | transcodeCharacterBuffer (const QCString &fileName, BufStr &srcBuf, int size, const QCString &inputEncoding, const QCString &outputEncoding) |
bool | readInputFile (const QCString &fileName, BufStr &inBuf, bool filter, bool isSourceCode) |
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) |
QCString | externalRef (const QCString &relPath, const QCString &ref, bool href) |
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. 更多... | |
QCString | langToString (SrcLangExt lang) |
Returns a string representation of lang. 更多... | |
QCString | getLanguageSpecificSeparator (SrcLangExt lang, bool classScope) |
Returns the scope separator to use given the programming language lang 更多... | |
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. 更多... | |
bool | protectionLevelVisible (Protection prot) |
QCString | stripIndentation (const QCString &s) |
void | stripIndentation (QCString &doc, const int indentationLevel) |
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 () |
QCString | getDotImageExtension () |
bool | openOutputFile (const QCString &outFile, std::ofstream &f) |
void | writeExtraLatexPackages (TextStream &t) |
void | writeLatexSpecialFormulaChars (TextStream &t) |
bool | recognizeFixedForm (const QCString &contents, FortranFormat format) |
FortranFormat | convertFileNameFortranParserCode (QCString fn) |
QCString | clearBlock (const QCString &s, const QCString &begin, const QCString &end) |
Clear a text block s from begin to end markers 更多... | |
QCString | selectBlock (const QCString &s, const QCString &name, bool enable, OutputGenerator::OutputType o) |
QCString | removeEmptyLines (const QCString &s) |
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 &sv, const std::string &delimiter) |
create a string where the string in the vector are joined by the given delimiter 更多... | |
QCString | integerToAlpha (int n, bool upper) |
QCString | integerToRoman (int n, bool upper) |
变量 | |
static const char * | hex = "0123456789ABCDEF" |
const int | maxInheritanceDepth = 100000 |
static const char | constScope [] = { 'c', 'o', 'n', 's', 't', ':' } |
static const char | volatileScope [] = { 'v', 'o', 'l', 'a', 't', 'i', 'l', 'e', ':' } |
static const char | virtualScope [] = { 'v', 'i', 'r', 't', 'u', 'a', 'l', ':' } |
static const char | operatorScope [] = { 'o', 'p', 'e', 'r', 'a', 't', 'o', 'r', '?', '?', '?' } |
static CharAroundSpace | g_charAroundSpace |
static Cache< std::string, FindFileCacheElem > | g_findFileDefCache (5000) |
static std::mutex | g_findFileDefMutex |
static std::unordered_map< std::string, int > | g_usedNames |
static std::mutex | g_usedNamesMutex |
static int | g_usedNamesCount =1 |
static std::mutex | g_rtfFormatMutex |
static std::unordered_map< std::string, std::string > | g_tagMap |
static QCString | g_nextTag ("AAAAAAAAAA") |
static std::unordered_map< std::string, int > | g_extLookup |
static struct Lang2ExtMap | g_lang2extMap [] |
#define HEXTONUM | ( | x | ) |
void addCodeOnlyMappings | ( | ) |
被这些函数引用 generateOutput().
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, | ||
GroupDef * | gd, | ||
const TagInfo * | tagInfo, | ||
bool | xref, | ||
SrcLangExt | lang | ||
) |
引用了 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, | ||
bool | showDefVals | ||
) |
引用了 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().
Clear a text block s from begin to end markers
引用了 begin(), QCString::data(), end(), QCString::isEmpty(), qstrcpy(), qstrlen() , 以及 QCString::rawData().
被这些函数引用 selectBlock().
void clearSubDirs | ( | const Dir & | d | ) |
int computeQualifiedIndex | ( | const QCString & | name | ) |
bool containsWord | ( | const QCString & | str, |
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 | includeTime | ) |
引用了 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 | ||
) |
|
static |
引用了 Doxygen::aliasMap, countAliasArguments(), end(), escapeCommas(), extractAliasArgs(), QCString::isEmpty(), QCString::length(), reg::match(), QCString::mid(), replaceAliasArguments(), QCString::right(), reg::search(), QCString::sprintf() , 以及 QCString::str().
被这些函数引用 expandAlias(), replaceAliasArguments() , 以及 resolveAliasCmd().
QCString externalLinkTarget | ( | const bool | parent | ) |
引用了 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().
|
static |
|
static |
引用了 end(), extractClassNameFromType(), getCanonicalTypeForIdentifier(), QCString::isEmpty(), QCString::length(), reg::match(), QCString::mid(), removeRedundantWhiteSpace(), QCString::right(), QCString::str(), stripIrrelevantConstVolatile(), QCString::stripPrefix() , 以及 QCString::stripWhiteSpace().
被这些函数引用 extractCanonicalArgType() , 以及 getCanonicalTemplateSpec().
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 | ||
) |
|
static |
takes the buf of the given length len and converts CR LF (DOS) or CR (MAC) line ending to LF (Unix). Returns the length of the converted content (i.e. the same as len (Unix, MAC) or smaller (DOS).
被这些函数引用 readInputFile().
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().
|
static |
For a string s that starts with a command name, returns the character offset within that string representing the first character after the command.
For an alias with argument, this is the offset to the character just after the argument list.
Examples:
引用了 extractAliasArgs(), isId() , 以及 QCString::length().
被这些函数引用 countAliasArguments() , 以及 replaceAliasArguments().
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().
|
static |
引用了 MemberDef::argumentList(), MemberDef::getFileDef(), MemberDef::getGroupDef(), Definition::getLanguage(), MemberDef::getNamespaceDef(), Definition::getOuterScope(), Doxygen::globalScope, MemberDef::isDefine(), QCString::isEmpty(), GroupDef::isLinkable(), FileDef::isLinkable(), MemberDef::isLinkable(), MemberDef::isReference(), MemberDef::isStatic(), reg::match(), matchArguments2(), stringToArgumentList() , 以及 TRUE.
被这些函数引用 getDefs().
int findParameterList | ( | const QCString & | name | ) |
Returns the position in the string where a function parameter list begins, or -1 if one is not found.
引用了 QCString::findRev() , 以及 QCString::mid().
被这些函数引用 resolveRef().
void generateFileRef | ( | OutputDocInterface & | od, |
const QCString & | name, | ||
const QCString & | text | ||
) |
bool generateLink | ( | OutputDocInterface & | od, |
const QCString & | clName, | ||
const QCString & | lr, | ||
bool | inSeeBlock, | ||
const QCString & | lt | ||
) |
引用了 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().
|
static |
引用了 FALSE, QCString::findRev(), getCanonicalTemplateSpec(), SymbolResolver::getResolvedType(), SymbolResolver::getTemplateSpec(), SymbolResolver::getTypedef(), QCString::isEmpty(), MemberDef::isEnumerate(), ClassDef::isTemplate(), MemberDef::isTypedef(), ClassDef::isUsedOnly(), Definition::name(), MemberDef::qualifiedName(), Definition::qualifiedName(), ClassDef::qualifiedNameWithTemplateParameters(), removeRedundantWhiteSpace(), SymbolResolver::resolveClass(), resolveTypeDef(), QCString::startsWith(), stripDeclKeywords(), QCString::stripPrefix(), stripScope(), stripTemplateSpecifiersFromScope() , 以及 MemberDef::typeString().
被这些函数引用 extractCanonicalType().
|
static |
引用了 FALSE, Portable::getenv(), QCString::isEmpty(), qPrint(), QCString::toUInt64(), TRUE , 以及 warn_uncond().
被这些函数引用 dateToString() , 以及 yearToString().
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().
|
static |
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 | ||
) |
引用了 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 | ||
) |
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().
|
static |
引用了 computeQualifiedIndex(), Definition::definitionType(), SymbolMap< T >::find(), Doxygen::globalScope, SymbolResolver::isAccessibleFromWithExpScope(), QCString::isEmpty(), QCString::left(), QCString::length(), QCString::mid(), replaceNamespaceAliases(), Doxygen::symbolMap, toMemberDef(), Definition::TypeClass, Definition::TypeMember , 以及 Definition::TypeNamespace.
被这些函数引用 checkIfTypedef().
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().
|
static |
Searches for a scope definition given its name as a string via parameter scope
.
The parameter docScope
is a string representing the name of the scope in which the scope
string was found.
The function returns TRUE if the scope is known and documented or FALSE if it is not. If TRUE is returned exactly one of the parameter cd
, nd
will be non-zero:
cd
is non zero, the scope was a class pointed to by cd.nd
is non zero, the scope was a namespace pointed to by nd. 引用了 QCString::at(), FALSE, QCString::findRev(), getClass(), QCString::isEmpty(), NamespaceDef::isLinkable(), ClassDef::isLinkable(), QCString::left(), QCString::length(), Doxygen::namespaceLinkedMap, QCString::prepend(), QCString::right() , 以及 TRUE.
被这些函数引用 resolveRef().
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 | ||
) |
被这些函数引用 ManDocVisitor::visitPre() , 以及 RTFDocVisitor::visitPre().
QCString integerToRoman | ( | int | n, |
bool | upper | ||
) |
被这些函数引用 LatexDocVisitor::visitPre(), RTFDocVisitor::visitPre() , 以及 ManDocVisitor::visitPre().
|
static |
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 & | sv, |
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 & | out, |
const Definition * | scope, | ||
const FileDef * | fileScope, | ||
const Definition * | self, | ||
const QCString & | text, | ||
bool | autoBreak, | ||
bool | external, | ||
bool | keepSpaces, | ||
int | indentLevel | ||
) |
引用了 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 | ( | ) |
|
static |
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 & | srcAl, |
ArgumentList & | dstAl, | ||
bool | forceNameOverwrite | ||
) |
引用了 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 * | md, | ||
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().
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.
bool recursivelyAddGroupListToTitle | ( | OutputList & | ol, |
const Definition * | d, | ||
bool | root | ||
) |
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().
|
static |
Replaces the markers in an alias definition aliasValue with the corresponding values found in the comma separated argument list argList and the returns the result after recursive alias expansion.
引用了 QCString::at(), QCString::data(), expandAliasRec(), findEndOfCommand(), QCString::length(), QCString::mid(), Marker::number, Marker::pos, QCString::right(), Marker::size, substitute(), QCString::toInt() , 以及 TRUE.
被这些函数引用 expandAliasRec().
引用了 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 | , | ||
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 * | context, |
const QCString & | qualifiedName, | ||
const Definition ** | typedefContext | ||
) |
引用了 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::find(), QCString::left() , 以及 QCString::mid().
被这些函数引用 getCanonicalTypeForIdentifier().
引用了 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().
|
static |
引用了 QCString::left(), QCString::length(), qstricmp() , 以及 QCString::right().
被这些函数引用 FileDefImpl::FileDefImpl(), generateXMLForClass(), generateXMLForConcept(), generateXMLForDir(), generateXMLForFile(), generateXMLForMember(), generateXMLForNamespace(), generateXMLForPage(), markdownFileNameToId(), ClassDefImpl::showUsedFiles(), stripFromIncludePath(), stripFromPath() , 以及 writeSingleFileIndex().
引用了 Config_getInt, QCString::data(), FALSE, QCString::isEmpty(), TextStream::str() , 以及 TRUE.
被这些函数引用 DocPara::handleInclude() , 以及 DocPara::handleStartCode().
void stripIndentation | ( | QCString & | doc, |
const int | indentationLevel | ||
) |
void stripIrrelevantConstVolatile | ( | QCString & | s | ) |
According to the C++ spec and Ivan Vecerina:
Parameter declarations that differ only in the presence or absence of const and/or volatile are equivalent.
So the following example, show what is stripped by this routine for const. The same is done for volatile.
For Java code we also strip the "final" keyword, see bug 765070.
被这些函数引用 extractCanonicalType() , 以及 matchArgument2().
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 | includeDefault | ||
) |
|
static |
void trimBaseClassScope | ( | const BaseClassList & | bcl, |
QCString & | s, | ||
int | level = 0 |
||
) |
引用了 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 & | list | ||
) |
引用了 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().
QCString yearToString | ( | ) |
|
static |
被这些函数引用 removeRedundantWhiteSpace().
|
static |
被这些函数引用 removeRedundantWhiteSpace().
|
static |
被这些函数引用 getLanguageFromFileName() , 以及 updateLanguageMapping().
|
static |
被这些函数引用 findFileDef().
|
static |
被这些函数引用 findFileDef().
|
static |
被这些函数引用 getLanguageFromCodeLang() , 以及 updateLanguageMapping().
|
static |
被这些函数引用 rtfFormatBmkStr().
|
static |
被这些函数引用 rtfFormatBmkStr().
|
static |
被这些函数引用 rtfFormatBmkStr().
|
static |
被这些函数引用 convertNameToFile().
|
static |
被这些函数引用 convertNameToFile().
|
static |
被这些函数引用 convertNameToFile().
|
static |
const int maxInheritanceDepth = 100000 |
被这些函数引用 getDefs(), ClassDefImpl::getMemberByName() , 以及 minClassDistance().
|
static |
被这些函数引用 removeRedundantWhiteSpace().
|
static |
被这些函数引用 removeRedundantWhiteSpace().
|
static |
被这些函数引用 removeRedundantWhiteSpace().