60 bool filter=
true,
bool isSourceCode=
false);
122 bool lookForSpecializations =
true,
123 const FileDef *currentFile =
nullptr,
124 bool checkScope =
false
291 bool parentOnly=
true,
292 DString *lastScopeStripped=
nullptr,
294 bool allowArtificial=
true);
319 std::function<
void(
size_t)> replaceFunc);
321 std::function<
DString(
size_t)> replaceFunc);
364 bool allowEmptyClass=
false);
This class represents an function or template argument list.
A abstract class representing of a compound symbol.
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
The common base class of all entity definitions found in the sources.
Class representing a directory in the file system.
A model of a file symbol.
Minimal replacement for QFileInfo.
A model of a group of symbols.
A model of a class/file/namespace member symbol.
Wrapper class for the MemberListType type.
An abstract interface of a namespace symbol.
Class representing a list of output generators that are written to in parallel.
constexpr DocNodeVariant * parent(DocNodeVariant *n)
returns the parent node of a given node n or nullptr if the node has no parent.
std::function< DString()> GetValue
std::variant< GetValue, GetValueWithParam > getValueVariant
std::function< DString(const DString &)> GetValueWithParam
This file contains a number of basic enums and types.
void mergeArguments(ArgumentList &srcAl, ArgumentList &dstAl, bool forceNameOverwrite=false)
DString stripExtension(const DString &fName)
bool useCaseSenseNames()
Returns true if the names of the symbols can be case sensitive.
bool isURL(const DString &url)
Checks whether the given url starts with a supported protocol.
DString inlineArgListToDoc(const ArgumentList &al)
DString stripLeadingAndTrailingEmptyLines(const DString &s, int &docLine)
Special version of DString::stripWhiteSpace() that only strips completely blank lines.
DString externalLinkTarget(const bool parent=false)
DString replaceColorMarkers(const DString &str)
Replaces any markers of the form ##AA in input string str by new markers of the form #AABBCC,...
bool protectionLevelVisible(Protection prot)
DString stripFromIncludePath(const DString &path)
bool updateLanguageMapping(const DString &extension, const DString &parser)
std::vector< KeywordSubstitution > KeywordSubstitutionList
void extractNamespaceName(const DString &scopeName, DString &className, DString &namespaceName, bool allowEmptyClass=false)
DString mergeScopes(const DString &leftScope, const DString &rightScope)
DString filterTitle(const DString &title)
DString detab(const DString &s, size_t &refIndent)
DString selectBlocks(const DString &s, const SelectionBlockList &blockList, const SelectionMarkerInfo &markerInfo)
remove disabled blocks and all block markers from s and return the result as a string
bool matchTemplateArguments(const ArgumentList &srcAl, const ArgumentList &dstAl)
void addCodeOnlyMappings()
DString resolveTypeDef(const Definition *d, const DString &name, const Definition **typedefContext=nullptr)
DString stripTemplateSpecifiersFromScope(const DString &fullName, bool parentOnly=true, DString *lastScopeStripped=nullptr, DString scopeName=DString(), bool allowArtificial=true)
DString convertNameToFile(const DString &name, bool allowDots=false, bool allowUnderscore=false)
DString escapeCharsInString(const DString &name, bool allowDots, bool allowUnderscore=false)
void writeTypeConstraints(OutputList &ol, const Definition *d, const ArgumentList &al)
DString extractBeginRawStringDelimiter(const char *rawStart)
DString writeInlineGraph(const DString &baseName, const DString &extension, const DString &content, bool &exists)
bool rightScopeMatch(const DString &scope, const DString &name)
bool checkIfTypedef(const Definition *scope, const FileDef *fileScope, const DString &n)
DString tempArgListToString(const ArgumentList &al, SrcLangExt lang, bool includeDefaults=true)
bool readInputFile(const DString &fileName, std::string &contents, bool filter=true, bool isSourceCode=false)
read a file name fileName and optionally filter and transcode it
DString unescapeCharsInString(const DString &s)
void cleanupInlineGraphs()
DString correctURL(const DString &url, const DString &relPath)
Corrects URL url according to the relative path relPath.
int computeQualifiedIndex(const DString &name)
Return the index of the last :: in the string name that is still before the first <.
DString convertToId(const DString &s)
bool resolveRef(const DString &scName, const DString &name, bool inSeeBlock, const Definition **resContext, const MemberDef **resMember, SrcLangExt lang, bool lookForSpecializations=true, const FileDef *currentFile=nullptr, bool checkScope=false)
DString insertTemplateSpecifierInScope(const DString &scope, const DString &templ)
DString removeRedundantWhiteSpace(const DString &s)
DString convertToXML(const DString &s, bool keepEntities=false, bool citeEntry=false)
bool checkExtension(const DString &fName, const DString &ext)
DString showDate(const DString &fmt)
bool leftScopeMatch(const DString &scope, const DString &name)
std::vector< SelectionBlock > SelectionBlockList
DString stripExtensionGeneral(const DString &fName, const DString &ext)
DString stripIndentation(const DString &s, bool skipFirstLine=false)
DString argListToString(const ArgumentList &al, bool useCanonicalType=false, bool showDefVals=true)
void addGroupListToTitle(OutputList &ol, const Definition *d)
DString extractEndRawStringDelimiter(const char *rawEnd)
int extractClassNameFromType(const DString &type, int &pos, DString &name, DString &templSpec, SrcLangExt=SrcLangExt::Unknown)
void clearSubDirs(const Dir &d)
DString stripScope(const DString &name)
DString getFileNameExtension(const DString &fn)
void createSubDirs(const Dir &d)
SrcLangExt getLanguageFromFileName(const DString &fileName, SrcLangExt defLang=SrcLangExt::Cpp)
DString normalizeNonTemplateArgumentsInString(const DString &name, const Definition *context, const ArgumentList &formalArgs)
DString getFileFilter(const DString &name, bool isSourceCode)
bool matchArguments2(const Definition *srcScope, const FileDef *srcFileScope, const DString &srcReturnType, const ArgumentList *srcAl, const Definition *dstScope, const FileDef *dstFileScope, const DString &dstReturnType, const ArgumentList *dstAl, bool checkCV, SrcLangExt lang)
void initDefaultExtensionMapping()
bool resolveLink(const DString &scName, const DString &lr, bool inSeeBlock, const Definition **resContext, DString &resAnchor, SrcLangExt lang, const DString &prefix=DString())
void addHtmlExtensionIfMissing(DString &fName)
void checkBlocks(const DString &s, const DString fileName, const SelectionMarkerInfo &markerInfo)
DString linkToText(SrcLangExt lang, const DString &link, bool ignoreDots)
DString substituteKeywords(const DString &file, const DString &s, const KeywordSubstitutionList &keywords)
void addDirPrefix(DString &fileName)
DString relativePathToRoot(const DString &name)
DString convertToJSString(const DString &s, bool keepEntities=false, bool singleQuotes=false)
DString projectLogoFile()
void convertProtectionLevel(MemberListType inListType, Protection inProt, MemberListType *outListType1, MemberListType *outListType2)
Computes for a given list type inListType, which are the the corresponding list type(s) in the base c...
DString removeAnonymousScopes(const DString &s)
DString getEncoding(const FileInfo &fi)
bool copyFile(const DString &src, const DString &dest)
Copies the contents of file with name src to the newly created file with name dest.
void writeExamples(OutputList &ol, const ExampleList &el)
int getPrefixIndex(const DString &name)
DString createHtmlUrl(const DString &relPath, const DString &ref, bool islocalFile, const DString &targetFileName, const DString &anchor)
void stripIndentationVerbatim(DString &doc, size_t indentationLevel, bool skipFirstLine=true)
DString demangleCSharpGenericName(const DString &name, const DString &templArgs)
DString projectLogoSize()
DString mangleCSharpGenericName(const DString &name)
GetDefResult getDefs(const GetDefInput &input)
DString getDotImageExtension()
DString replaceAnonymousScopes(const DString &s, const DString &replacement=DString())
int getScopeFragment(const DString &s, int p, int *l)
DString determineAbsoluteIncludeName(const DString &curFile, const DString &incFileName)
DString substituteTemplateArgumentsInString(const DString &name, const ArgumentList &formalArgs, const ArgumentList *actualArgs)
DString makeBaseName(const DString &name, const DString &ext)
void writeMarkerList(OutputList &ol, const std::string &markerText, size_t numMarkers, std::function< void(size_t)> replaceFunc)
DString externalRef(const DString &relPath, const DString &ref)
DString fileToString(const DString &name, bool filter=false, bool isSourceCode=false)
DString stripPath(const DString &s)
DString stripFromPath(const DString &path)
DString inlineTemplateArgListToDoc(const ArgumentList &al)
DString convertToHtml(const DString &s, bool keepEntities=true)
bool openOutputFile(const DString &outFile, std::ofstream &f)
DString getLanguageSpecificSeparator(SrcLangExt lang, bool classScope=false)
DString stripAnonymousNamespaceScope(const DString &s)
DString findExampleFilePath(const DString &file, bool &ambig)
SrcLangExt getLanguageFromCodeLang(DString &fileName)
Routine to handle the language attribute of the \code command.