Doxygen
Loading...
Searching...
No Matches
qcstring.h File Reference
#include <string>
#include <string_view>
#include <algorithm>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <ostream>
#include "utf8.h"
+ Include dependency graph for qcstring.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QCString
 This is an alternative implementation of QCString. More...
 

Macros

#define FALSE   false
 
#define TRUE   true
 
#define ASSERT(x)
 
#define qsnprintf   snprintf
 
#define HAS_IMPLICIT_CAST_TO_PLAIN_C_STRING   0
 
#define HAS_CHARACTER_APPEND_OPERATOR   1
 

Typedefs

using JavaCCString = std::basic_string<JAVACC_CHAR_TYPE>
 

Functions

void * qmemmove (void *dst, const void *src, size_t len)
 
char * qstrdup (const char *s)
 Returns a copy of a string s.
 
void qstrfree (const char *s)
 Frees the memory allocated using qstrdup().
 
uint32_t qstrlen (const char *str)
 Returns the length of string str, or 0 if a null pointer is passed.
 
char * qstrcpy (char *dst, const char *src)
 
char * qstrncpy (char *dst, const char *src, size_t len)
 
bool qisempty (const char *s)
 
int qstrcmp (const char *str1, const char *str2)
 
int qstrncmp (const char *str1, const char *str2, size_t len)
 
bool qisspace (char c)
 
int qstricmp (const char *str1, const char *str2)
 
int qstricmp_sort (const char *str1, const char *str2)
 
int qstrnicmp (const char *str1, const char *str2, size_t len)
 
bool operator== (const QCString &s1, const QCString &s2)
 
bool operator== (const QCString &s1, const char *s2)
 
bool operator== (const char *s1, const QCString &s2)
 
bool operator!= (const QCString &s1, const QCString &s2)
 
bool operator!= (const QCString &s1, const char *s2)
 
bool operator!= (const char *s1, const QCString &s2)
 
bool operator< (const QCString &s1, const QCString &s2)
 
bool operator< (const QCString &s1, const char *s2)
 
bool operator< (const char *s1, const QCString &s2)
 
bool operator<= (const QCString &s1, const char *s2)
 
bool operator<= (const char *s1, const QCString &s2)
 
bool operator> (const QCString &s1, const char *s2)
 
bool operator> (const char *s1, const QCString &s2)
 
bool operator>= (const QCString &s1, const char *s2)
 
bool operator>= (const char *s1, const QCString &s2)
 
QCString operator+ (const QCString &s1, const QCString &s2)
 
QCString operator+ (const QCString &s1, const char *s2)
 
QCString operator+ (const char *s1, const QCString &s2)
 
const char * qPrint (const char *s)
 
const char * qPrint (const QCString &s)
 
const char * qPrint (const std::string &s)
 
std::string toStdString (const QCString &s)
 
int qstrcmp (const QCString &str1, const char *str2)
 
int qstrcmp (const char *str1, const QCString &str2)
 
int qstrcmp (const QCString &str1, const QCString &str2)
 
int qstricmp (const QCString &str1, const char *str2)
 
int qstricmp (const char *str1, const QCString &str2)
 
int qstricmp (const QCString &str1, const QCString &str2)
 
int qstricmp_sort (const QCString &str1, const char *str2)
 
int qstricmp_sort (const char *str1, const QCString &str2)
 
int qstricmp_sort (const QCString &str1, const QCString &str2)
 
int qstrnicmp (const QCString &str1, const char *str2, size_t len)
 
int qstrnicmp (const char *str1, const QCString &str2, size_t len)
 
int qstrnicmp (const QCString &str1, const QCString &str2, size_t len)
 
QCString substitute (const QCString &str, const QCString &find, const QCString &replace)
 substitute all occurrences of src in s by dst
 
QCString substitute (const QCString &str, const char *find, const char *replace)
 
QCString substitute (const QCString &s, const QCString &src, const QCString &dst, int skip_seq)
 substitute all occurrences of src in s by dst, but skip each consecutive sequence of src where the number consecutive src matches skip_seq; if skip_seq is negative, skip any number of consecutive src
 
QCString substitute (const QCString &s, char srcChar, char dstChar)
 
std::ostream & operator<< (std::ostream &os, const QCString &s)
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT ( x)
Value:
if ( !(x) )\
fprintf(stderr,"ASSERT: \"%s\" in %s (%d)\n",#x,__FILE__,__LINE__)

Definition at line 39 of file qcstring.h.

39#define ASSERT(x) if ( !(x) )\
40 fprintf(stderr,"ASSERT: \"%s\" in %s (%d)\n",#x,__FILE__,__LINE__)

Referenced by anonymous_namespace{tagreader.cpp}::TagFileParser::addIncludes(), addMembersToMemberGroup(), RTFGenerator::beginRTFDocument(), DirDefImpl::createNewDir(), FTVHelp::decContentsDepth(), DocCite::DocCite(), DocRef::DocRef(), DotInclDepGraph::DotInclDepGraph(), HtmlGenerator::endSection(), ManGenerator::endSection(), generateDEFForMember(), generateXMLForClass(), generateXMLForMember(), DotClassGraph::getBaseName(), DotClassGraph::getImgAltText(), RTFDocVisitor::getListTable(), DotClassGraph::getMapLabel(), DefinitionImpl::getSourceFileBase(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), DocPara::handleXRefItem(), MemberDefImpl::isConstructor(), MemberDefImpl::isDestructor(), MemberDefImpl::isLinkableInProject(), matchArguments2(), MemberList::numDecMembers(), MemberList::numDocMembers(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), DocXRefItem::parse(), parseFilesMultiThreading(), parseFilesSingleThreading(), resolveRef(), setDotFontPath(), setOutput(), HtmlGenerator::startSection(), LatexGenerator::startSection(), ManGenerator::startSection(), RTFGenerator::startSection(), MemberDefImpl::writeDeclaration(), DotNode::writeDEF(), DotNode::writeDocbook(), writeMemberList(), writeObjCMethodCall(), VhdlDocGen::writeVHDLDeclaration(), and DotNode::writeXML().

◆ FALSE

#define FALSE   false

Definition at line 34 of file qcstring.h.

Referenced by DefinitionImpl::_docsAlreadyAdded(), MemberDefImpl::_hasVisibleCallerGraph(), MemberDefImpl::_hasVisibleCallGraph(), DefinitionImpl::_setBriefDescription(), MemberDefImpl::_writeCallGraph(), MemberDefImpl::_writeEnumValues(), MemberDefImpl::_writeMultiLineInitializer(), MemberDefImpl::_writeTemplatePrefix(), DotClassGraph::addClass(), GroupDefImpl::addClass(), addClassToContext(), GroupDefImpl::addConcept(), FTVHelp::addContentsItem(), IndexList::addContentsItem(), addIncludeFile(), HtmlHelp::addIndexItem(), VHDLOutlineParser::addLibUseClause(), addMemberFunction(), addMembersToIndex(), addMemberToGroups(), addPerlModDocBlock(), addRelatedPage(), addRelatedPage(), addToIndices(), addToSearchIndex(), addToSearchIndex(), addToSearchIndex(), ClassDefImpl::addUsedInterfaceClasses(), DirDefImpl::addUsesDependency(), addVariable(), addVariableToClass(), addVariableToFile(), SearchIndex::addWord(), SearchIndex::addWordRec(), DocSimpleSect::appendLinkWord(), Definition::briefDescription(), DefinitionAliasMixin< Base >::briefDescription(), DefinitionMixin< Base >::briefDescription(), buildDefineList(), buildExampleList(), buildFileList(), buildFunctionList(), DotCallGraph::buildGraph(), DotClassGraph::buildGraph(), DotInclDepGraph::buildGraph(), buildGroupList(), buildGroupListFiltered(), buildNamespaceList(), CharAroundSpace::CharAroundSpace(), Config::checkAndCorrect(), checkAndOpenFile(), DocParser::checkArgumentName(), checkConfiguration(), checkForKnRstyleC(), checkIfTypedef(), DocParser::checkUnOrMultipleDocumentedParams(), classHasVisibleChildren(), DotNode::clearWriteFlag(), EclipseHelp::Private::closedTag(), XMLCodeGenerator::codify(), codifyLines(), codifyLines(), codifyLines(), FlowChart::colTextNodes(), Config::compareDoxyfile(), computeClassRelations(), computeCommonDirPrefix(), computeExpression(), TreeDiagram::computeExtremes(), DotGraph::computeGraph(), computeIndentExcludingListMarkers(), computeTemplateClassRelations(), DotCallGraph::computeTheGraph(), DotGfxHierarchyTable::computeTheGraph(), DotGroupCollaboration::computeTheGraph(), DotInclDepGraph::computeTheGraph(), VhdlDocGen::convertArgumentListToString(), convertCppComments(), DotFilePatcher::convertMapFile(), convertToId(), ResourceMgr::copyResourceAs(), ClassDefImpl::countAdditionalInheritedMembers(), ClassDefImpl::countInheritedDecMembers(), DotGfxHierarchyTable::createGraph(), MemberList::declVisible(), DocParser::defaultHandleToken(), DefinitionImpl::DefinitionImpl(), VhdlDocGen::deleteAllChars(), VhdlDocGen::deleteCharRev(), determineIfNeedsTag(), DotCallGraph::determineTruncatedNodes(), DotClassGraph::determineTruncatedNodes(), DotInclDepGraph::determineTruncatedNodes(), DotClassGraph::determineVisibleNodes(), dirHasVisibleChildren(), IndexList::disable(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocHtmlCaption::DocHtmlCaption(), HtmlGenerator::docify(), ManGenerator::docify(), RTFGenerator::docify(), DocIncOperator::DocIncOperator(), DocPara::DocPara(), DocParamSect::DocParamSect(), DocRef::DocRef(), DotCallGraph::DotCallGraph(), DotClassGraph::DotClassGraph(), DotGfxHierarchyTable::DotGfxHierarchyTable(), DotGraph::DotGraph(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), dupOfParent(), elemIsVisible(), encodeForOutput(), ManGenerator::endAnonTypeScope(), ManGenerator::endBold(), ManGenerator::endBoldEmphasis(), endBrief(), DocbookGenerator::endCallGraph(), RTFGenerator::endCallGraph(), DocbookGenerator::endClassDiagram(), RTFGenerator::endClassDiagram(), DocbookCodeGenerator::endCodeLine(), HtmlCodeGenerator::endCodeLine(), LatexCodeGenerator::endCodeLine(), XMLCodeGenerator::endCodeLine(), endCondSection(), endCondSection(), DocbookGenerator::endDescTable(), DocbookGenerator::endDirDepGraph(), RTFGenerator::endDirDepGraph(), DocbookGenerator::endDotGraph(), RTFGenerator::endDotGraph(), ManGenerator::endEmphasis(), RTFGenerator::endExamples(), DocbookGenerator::endFile(), DocbookCodeGenerator::endFontClass(), XMLCodeGenerator::endFontClass(), DocbookGenerator::endGroupCollaboration(), LatexGenerator::endGroupHeader(), ManGenerator::endGroupHeader(), DocbookGenerator::endInclDepGraph(), RTFGenerator::endInclDepGraph(), LatexGenerator::endIndexSection(), RTFGenerator::endIndexSection(), RTFGenerator::endIndexValue(), ManGenerator::endInlineHeader(), RTFDocVisitor::endLink(), ManGenerator::endMemberDescription(), LatexGenerator::endMemberDoc(), ClassDefImpl::endMemberDocumentation(), FileDefImpl::endMemberDocumentation(), GroupDefImpl::endMemberDocumentation(), ModuleDefImpl::endMemberDocumentation(), NamespaceDefImpl::endMemberDocumentation(), ManGenerator::endMemberGroup(), LatexGenerator::endMemberHeader(), ManGenerator::endMemberHeader(), RTFGenerator::endMemberHeader(), LatexGenerator::endMemberItem(), DocbookGenerator::endMemberList(), ManGenerator::endMemberList(), LayoutParser::endNavEntry(), endScope(), ManGenerator::endSection(), RTFGenerator::endSection(), DocbookGenerator::endTextBlock(), OutputGenIntf::endTextBlock(), OutputList::endTextBlock(), ManGenerator::endTitleHead(), ManGenerator::endTypewriter(), Entry::Entry(), escapeSpecialChars(), CondParser::evalOperator(), Htags::execute(), expandExpression(), extractBlock(), extractCopyDocId(), Markdown::extractPageTitle(), Portable::fileSystemIsCaseSensitive(), filterMemberDocumentation(), findArgument(), findAttribute(), findClassRelation(), findDefineDocumentation(), DocParser::findDocsForMemberOrCompound(), findEnums(), findFileDef(), findGlobalMember(), GroupDefImpl::findGroup(), findInheritedTemplateInstances(), findMember(), findMemberLink(), FlowChart::findNode(), findObjCMethodDefinitions(), findScopeFromQualifiedName(), findTemplateInstanceRelation(), findUsedClassesForClass(), LatexDocVisitor::firstRow(), forceEndCondSection(), generateBriefDoc(), generateClassMemberLink(), generateClassMemberLink(), generateClassOrGlobalLink(), DotGraph::generateCode(), generateConfigFile(), generateDEFForMember(), generateExampleDocs(), generateJSNavTree(), generateJSTree(), FTVHelp::Private::generateLink(), generateOutput(), CitationManager::generatePage(), PerlModGenerator::generatePerlModForMember(), generateSqlite3(), generateSqlite3ForFile(), generateSqlite3ForMember(), generateXML(), generateXMLForFile(), generateXMLForMember(), genericPatternMatch(), getCanonicalTypeForIdentifier(), getCurrentDateTime(), getDefsOld(), getFileFilter(), getFilterFromList(), getFortranNamespaceDefs(), getFortranTypeDefs(), getGenericProcedureLink(), getLanguageFromFileName(), getLink(), getLink(), getLink(), getLinkInScope(), getLinkInScope(), DotClassGraph::getMapLabel(), DotDirDeps::getMapLabel(), DotGfxHierarchyTable::getMapLabel(), DotGroupCollaboration::getMapLabel(), DotInclDepGraph::getMapLabel(), getParagraphContext(), getScopeDefs(), getSQLDocBlock(), handleAddIndex(), DocParser::handleAHref(), DocParser::handleAnchor(), handleAnchor(), handleBrief(), handleBug(), handleCallergraph(), handleCallgraph(), handleCite(), handleCollaborationgraph(), DocPara::handleCommand(), handleCommentBlock(), handleCommentBlock(), handleCommentBlock(), VHDLOutlineParser::handleCommentBlock(), handleCopyBrief(), handleCopyDetails(), handleCopyDoc(), handleDeprecated(), handleDetails(), handleDirectoryGraph(), handleElse(), handleElseIf(), handleEndIf(), handleEndParBlock(), handleExtends(), handleFormatBlock(), handleGroupgraph(), handleHeaderFile(), handleHideCallergraph(), handleHideCallgraph(), handleHideCollaborationgraph(), handleHideDirectoryGraph(), handleHideEnumValues(), handleHideGroupgraph(), handleHideIncludedBygraph(), handleHideIncludegraph(), handleHideInheritanceGraph(), handleHideInitializer(), handleHideInlineSource(), handleHideReferencedByRelation(), handleHideReferencesRelation(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), handleHtmlTag(), handleIf(), handleIFile(), handleIfNot(), handleILine(), handleImage(), DocParser::handleImg(), handleIncludedBygraph(), handleIncludegraph(), handleIngroup(), handleInherit(), handleInheritanceGraph(), handleInternal(), handleIPrefix(), handleIRaise(), handleLineInfo(), DocPara::handleLink(), DocParser::handleLinkedWord(), handleMemberOf(), handleNoop(), handleNoSubGrouping(), handleOverload(), handleParam(), handleParametersCommentBlocks(), DocPara::handleParamSection(), handleParBlock(), DocParser::handlePendingStyleCommands(), handlePrivate(), handlePrivateSection(), handleProtected(), handleProtectedSection(), handlePublic(), handlePublicSection(), handlePure(), handleQualifier(), handleRaiseWarning(), handleReferencedByRelation(), handleReferencesRelation(), handleRefItem(), handleRelated(), handleRelatedAlso(), handleRetval(), handleSection(), handleShowEnumValues(), handleShowInitializer(), handleShowInlineSource(), DocPara::handleSimpleSection(), DocPara::handleStartCode(), handleStatic(), DocParser::handleStyleLeave(), handleSubpage(), handleTest(), handleToc(), handleTodo(), handleXRefItem(), hasNonReferenceSuperClassRec(), DefinitionImpl::hasSections(), haveEqualFileNames(), LatexDocVisitor::inColSpan(), PrintDocVisitor::indent(), ClassDefImpl::IMPL::init(), DefinitionImpl::Private::init(), DocTokenizer::init(), MemberDefImpl::init(), initEntry(), initEntry(), VHDLOutlineParser::initEntry(), initParser(), initParser(), initParser(), initSpecialBlock(), initTriDoubleQuoteBlock(), initTriSingleQuoteBlock(), LatexDocVisitor::inRowSpan(), ClassDefImpl::insertBaseClass(), GroupDef::insertMember(), GroupDefImpl::insertMember(), MemberGroup::insertMember(), OutputGenIntf::insertMemberAlign(), OutputList::insertMemberAlign(), OutputGenIntf::insertMemberAlignLeft(), OutputList::insertMemberAlignLeft(), insertRefid(), ClassDefImpl::insertSubClass(), ClassDefImpl::insertTemplateInstance(), insideBlockQuote(), insideDetails(), insideDL(), insideLI(), insideOL(), insidePRE(), insideStyleChangeThatIsOutsideParagraph(), insideTable(), insideUL(), ClassDefImpl::internalInsertMember(), DocParser::internalValidatingParseDoc(), MemberDefImpl::invalidateTypedefValCache(), DefinitionMixin< Base >::isAlias(), isCastKeyword(), isClassSection(), isCodeBlock(), isCopyBriefOrDetailsCmd(), MemberDefImpl::isCSharpProperty(), isDocIncludeVisible(), isDocIncOperatorVisible(), isDocVerbatimVisible(), isFencedCodeBlock(), VHDLOutlineParser::isFuncProcProced(), DocHtmlRow::isHeading(), FileDefImpl::isIncluded(), MemberDefImpl::isObjCMethod(), MemberDefImpl::isObjCProperty(), DirDefImpl::isParentOf(), MemberDefImpl::isReimplementedBy(), isSeparatedParagraph(), isSpecialization(), ClassDefImpl::isSubClass(), VhdlDocGen::isSubClass(), isTableBlock(), DotCallGraph::isTrivial(), isVarWithConstructor(), LatexDocVisitor::LatexDocVisitor(), TreeDiagram::layoutTree(), linkifyText(), ManDocVisitor::ManDocVisitor(), VHDLOutlineParser::mapLibPackage(), matchArgument2(), matchArguments2(), matchExcludedSymbols(), DirDefImpl::matchPath(), MemberList::MemberList(), membersHaveSpecificType(), ClassDefImpl::mergeCategory(), ClassDefImpl::mergeMembersFromBaseClasses(), mergeScopes(), mustBeOutsideParagraph(), nameIsOperator(), MarkdownOutlineParser::needsPreprocessing(), NullOutlineParser::needsPreprocessing(), PythonOutlineParser::needsPreprocessing(), RTFGenerator::newParagraph(), SymbolResolver::Private::newResolveTypedef(), node2URL(), normalizeNonTemplateArgumentsInString(), EclipseHelp::Private::openedTag(), openOutputFile(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PerlModDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), DefinitionImpl::operator=(), organizeSubGroups(), PageDefImpl::PageDefImpl(), DocAutoListItem::parse(), DocHtmlBlockQuote::parse(), DocHtmlCell::parse(), DocHtmlDescData::parse(), DocHtmlDescTitle::parse(), DocHtmlDetails::parse(), DocHtmlListItem::parse(), DocHtmlRow::parse(), DocIncOperator::parse(), DocInternal::parse(), DocLink::parse(), DocParBlock::parse(), DocRef::parse(), DocRoot::parse(), DocSection::parse(), DocSimpleSect::parse(), DocXRefItem::parse(), CCodeParser::parseCode(), CodeParserInterface::parseCode(), FortranCodeParser::parseCode(), PythonCodeParser::parseCode(), parseCommentAsText(), CommentScanner::parseCommentBlock(), parseCompounds(), DocTitle::parseFromString(), parseFuncDecl(), VhdlDocGen::parseFuncProto(), MarkdownOutlineParser::parseInput(), parseInput(), VHDLOutlineParser::parseInput(), CondParser::parseLevel3(), parseMain(), FortranOutlineParser::parsePrototype(), parsePrototype(), FileDefImpl::parseSource(), ConfigImpl::parseString(), CondParser::parseVar(), DocHtmlCell::parseXml(), DocHtmlListItem::parseXml(), DocHtmlRow::parseXml(), DocHtmlTable::parseXml(), DocParamList::parseXml(), PerlModDocVisitor::PerlModDocVisitor(), DocTokenizer::popContext(), DotGraph::prepareDotFile(), prepassFixedForm(), preProcessFile(), RTFGenerator::preProcessFileInplace(), Statistics::print(), PrintDocVisitor::PrintDocVisitor(), Preprocessor::processFile(), Markdown::Private::processHtmlTagWrite(), Markdown::Private::processLink(), quickLinkVisible(), quickLinkVisible(), readIncludeFile(), readInputFile(), readSVGSize(), recodeString(), recognizeFixedForm(), recursivelyAddGroupListToTitle(), RefList::RefList(), ParserManager::registerExtension(), removeIdsAndMarkers(), renderMemberIndicesAsJs(), renderQuickLinksAsJs(), replaceComment(), replaceFunctionMacro(), ArgumentList::reset(), FortranCodeParser::resetCodeParserState(), PythonCodeParser::resetCodeParserState(), resetPDFSize(), resolveClassNestingRelations(), resolveLink(), resolveRef(), DotFilePatcher::run(), DotManager::run(), DotRunner::run(), runQHelpGenerator(), scanner_abort(), scopeIsTemplate(), searchFoundClass(), searchFoundDef(), searchInputFiles(), setCurrentDoc(), setCurrentDoc(), setCurrentDoc(), DefinitionImpl::setDocumentation(), MemberDefMutable::setEnumScope(), GroupDefImpl::setGroupTitleLocal(), ClassDefImpl::showUsedFiles(), ClassDefMutable::sortAllMembersList(), ClassDefImpl::sortMemberLists(), FileDefImpl::sortMemberLists(), GroupDefImpl::sortMemberLists(), ModuleDefImpl::sortMemberLists(), NamespaceDefImpl::sortMemberLists(), ManGenerator::startBold(), ManGenerator::startBoldEmphasis(), startCodeLine(), startCodeLine(), startCodeLine(), ManGenerator::startCompoundTemplateParams(), ManGenerator::startConstraintList(), ManGenerator::startDescForItem(), ManGenerator::startDescTable(), DocbookGenerator::startDoxyAnchor(), ManGenerator::startEmphasis(), ManGenerator::startExamples(), DocbookGenerator::startGroupHeader(), ManGenerator::startGroupHeader(), LatexGenerator::startIndexSection(), RTFGenerator::startIndexSection(), HtmlGenerator::startInlineHeader(), ManGenerator::startItemListItem(), RTFDocVisitor::startLink(), HtmlGenerator::startMemberDescription(), ManGenerator::startMemberDescription(), ManGenerator::startMemberDoc(), HtmlGenerator::startMemberHeader(), HtmlGenerator::startMemberItem(), ManGenerator::startMemberItem(), ManGenerator::startMemberList(), LayoutParser::startNavEntry(), startQuickIndexItem(), startQuickIndexList(), OutputGenIntf::startTextBlock(), OutputList::startTextBlock(), ManGenerator::startTitle(), ManGenerator::startTypewriter(), stateToString(), stateToString(), step(), stringize(), stripIndentation(), stripIrrelevantString(), QCString::stripPrefix(), stripQualifiers(), stripScope(), stripWord(), substituteHtmlKeywords(), substituteTemplateArgumentsInString(), substituteTemplatesInString(), SymbolModifiers::SymbolModifiers(), tableIsNested(), QCString::toLong(), QCString::toShort(), QCString::toUInt64(), QCString::toULong(), QCString::toUShort(), TranslatorCroatian::trGeneratedFromFiles(), tryAddEnumDocsToGroupMember(), updateLanguageMapping(), validatingParseDoc(), validatingParseText(), visitPostEnd(), visitPreStart(), visitPreStart(), DotGroupCollaboration::Edge::write(), DotNode::write(), ClassDefImpl::writeAdditionalInheritedMembers(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedClassList(), writeBitmapBox(), writeBoxMemberList(), ClassDefImpl::writeBriefDescription(), ConceptDefImpl::writeBriefDescription(), DirDefImpl::writeBriefDescription(), FileDefImpl::writeBriefDescription(), GroupDefImpl::writeBriefDescription(), ModuleDefImpl::writeBriefDescription(), NamespaceDefImpl::writeBriefDescription(), ResourceMgr::writeCategory(), ManGenerator::writeChar(), FileDefImpl::writeClassDeclarations(), ModuleDefImpl::writeClassDeclarations(), GroupDefImpl::writeClasses(), writeClassHierarchy(), writeClassMemberIndexFiltered(), writeClassTree(), writeClassTreeForList(), writeClassTreeInsideNamespaceElement(), writeClassTreeToOutput(), VhdlDocGen::writeClassType(), XMLCodeGenerator::writeCodeLink(), writeConceptIndex(), writeConceptList(), FileDefImpl::writeConcepts(), GroupDefImpl::writeConcepts(), ModuleDefImpl::writeConcepts(), writeConceptTreeInsideNamespaceElement(), ClassDefImpl::writeDeclaration(), ClassLinkedRefMap::writeDeclaration(), ConceptLinkedRefMap::writeDeclaration(), MemberDefImpl::writeDeclaration(), ModuleLinkedRefMap::writeDeclaration(), NamespaceLinkedRefMap::writeDeclaration(), ClassDefImpl::writeDeclarationLink(), ConceptDefImpl::writeDeclarationLink(), ModuleDefImpl::writeDeclarationLink(), MemberGroup::writeDeclarations(), MemberList::writeDeclarations(), writeDefArgumentList(), ConceptDefImpl::writeDetailedDescription(), DirDefImpl::writeDetailedDescription(), FileDefImpl::writeDetailedDescription(), GroupDefImpl::writeDetailedDescription(), ModuleDefImpl::writeDetailedDescription(), NamespaceDefImpl::writeDetailedDescription(), ClassDefImpl::writeDetailedDocumentationBody(), writeDiaGraphFromFile(), writeDirHierarchy(), GroupDefImpl::writeDirs(), writeDirTreeNode(), ManGenerator::writeDoc(), DotInclDepGraph::writeDocbook(), ClassLinkedRefMap::writeDocumentation(), GroupDefImpl::writeDocumentation(), MemberDefImpl::writeDocumentation(), MemberDefMutable::writeDocumentation(), PageDefImpl::writeDocumentation(), writeExampleIndex(), ModuleDefImpl::writeExports(), HtmlGenerator::writeExternalSearchPage(), HtmlHelpIndex::writeFields(), ClassDiagram::writeFigure(), DirDefImpl::writeFileList(), writeFileMemberIndexFiltered(), GroupDefImpl::writeFiles(), ModuleDefImpl::writeFiles(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), DotLegendGraph::writeGraph(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeGraphInfo(), writeGroupTreeNode(), ClassDiagram::writeImage(), FileDefImpl::writeIncludeGraph(), writeIndex(), writeIndexHierarchyEntries(), ClassDefImpl::writeInheritanceGraph(), ClassDefImpl::writeInheritedMemberDeclarations(), HtmlGenerator::writeInheritedSectionTitle(), ManGenerator::writeInheritedSectionTitle(), DefinitionImpl::writeInlineCode(), ClassDefImpl::writeInlineDocumentation(), writeJavasScriptSearchDataPage(), DotNode::writeLabel(), MemberDef::writeLink(), MemberDefAliasImpl::writeLink(), DocbookGenerator::writeLocalToc(), ClassDef::writeMemberDeclarations(), ClassDefAliasImpl::writeMemberDeclarations(), ClassDefImpl::writeMemberDeclarations(), MemberDefImpl::writeMemberDocSimple(), ClassDefImpl::writeMemberDocumentation(), ClassDefImpl::writeMemberList(), writeMemberList(), writeMemberToIndex(), writeModuleIndex(), writeModuleMemberIndexFiltered(), GroupDefImpl::writeModules(), writeModuleTreeNode(), writeMultiLineCodeLink(), writeMultiLineCodeLink(), writeMultiLineCodeLink(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), writeNamespaceTreeElement(), GroupDefImpl::writeNestedGroups(), GroupDefImpl::writePageDocumentation(), PageDefImpl::writePageDocumentation(), MemberList::writePlainDeclarations(), VhdlDocGen::writePlainVHDLDeclarations(), VhdlDocGen::writeProcedureProto(), VhdlDocGen::writeProcessProto(), writeQuickMemberIndex(), VhdlDocGen::writeRecUnitDocu(), DocbookGenerator::writeRuler(), writeSingleFileIndex(), VhdlDocGen::writeSource(), FileDefImpl::writeSourceBody(), DefinitionImpl::writeSourceReffedBy(), ConfigOption::writeStringList(), DirDefImpl::writeSubDirList(), ClassDefImpl::writeSummaryLinks(), FileDefImpl::writeSummaryLinks(), GroupDefImpl::writeSummaryLinks(), ModuleDefImpl::writeSummaryLinks(), NamespaceDefImpl::writeSummaryLinks(), DotFilePatcher::writeSVGFigureLink(), ManGenerator::writeSynopsis(), Markdown::Private::writeTableBlock(), VhdlDocGen::writeTagFile(), ClassDefImpl::writeTemplateSpec(), writeTopicIndex(), writeTypeConstraints(), DotFilePatcher::writeVecGfxFigure(), writeVectorBox(), VhdlDocGen::writeVHDLDeclaration(), VhdlDocGen::writeVHDLDeclarations(), VhdlDocGen::writeVhdlDeclarations(), VhdlDocGen::writeVHDLTypeDocumentation(), DotInclDepGraph::writeXML(), writeXMLCodeBlock(), writeXMLDocBlock(), and XmlDocVisitor::XmlDocVisitor().

◆ HAS_CHARACTER_APPEND_OPERATOR

#define HAS_CHARACTER_APPEND_OPERATOR   1

Definition at line 567 of file qcstring.h.

◆ HAS_IMPLICIT_CAST_TO_PLAIN_C_STRING

#define HAS_IMPLICIT_CAST_TO_PLAIN_C_STRING   0

Definition at line 528 of file qcstring.h.

◆ qsnprintf

◆ TRUE

#define TRUE   true

Definition at line 37 of file qcstring.h.

Referenced by DefinitionImpl::_docsAlreadyAdded(), MemberDefImpl::_hasVisibleCallerGraph(), DefinitionImpl::_setBriefDescription(), MemberDefImpl::_writeCallerGraph(), MemberDefImpl::_writeEnumValues(), MemberDefImpl::_writeMultiLineInitializer(), GroupDefImpl::addClass(), addClassToContext(), GroupDefImpl::addConcept(), EclipseHelp::addContentsItem(), HtmlHelp::addContentsItem(), addDefine(), addEnumValuesToEnums(), addGroupListToTitle(), addIncludeFile(), HtmlHelp::addIndexItem(), VHDLOutlineParser::addLibUseClause(), MemberDefImpl::addListReference(), addListReferences(), FileDefImpl::addListReferences(), GroupDefImpl::addListReferences(), ModuleDefImpl::addListReferences(), NamespaceDefImpl::addListReferences(), addMemberDocs(), addMemberFunction(), addMemberSpecialization(), addMembersToIndex(), addMemberToGroups(), addRelatedPage(), addToIndices(), ClassDefImpl::addTypeConstraint(), DirDefImpl::addUsesDependency(), addVariable(), addVariable(), SearchIndex::addWordRec(), DocSimpleSect::appendLinkWord(), applyModifiers(), buildExampleList(), buildFunctionList(), DotClassGraph::buildGraph(), DotInclDepGraph::buildGraph(), buildGroupList(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildMemberList(), buildScopeFromQualifiedName(), MemberDefImpl::cacheTypedefVal(), CharAroundSpace::CharElem::CharElem(), Config::checkAndCorrect(), checkAndOpenFile(), DocParser::checkArgumentName(), checkForKnRstyleC(), checkIfTypedef(), DocParser::checkUnOrMultipleDocumentedParams(), classHasVisibleChildren(), codifyLines(), codifyLines(), codifyLines(), FlowChart::colTextNodes(), combineDeclarationAndDefinition(), ConfigBool::compareDoxyfile(), ConfigEnum::compareDoxyfile(), ConfigInt::compareDoxyfile(), ConfigList::compareDoxyfile(), ConfigString::compareDoxyfile(), compounddefExists(), computeCommonDirPrefix(), TreeDiagram::computeExtremes(), DotGraph::computeGraph(), computeIndentExcludingListMarkers(), TreeDiagram::computeLayout(), computeMemberRelationsForBaseClass(), computeTemplateClassRelations(), DotClassGraph::computeTheGraph(), DotGfxHierarchyTable::computeTheGraph(), DotGroupCollaboration::computeTheGraph(), DotLegendGraph::computeTheGraph(), VhdlDocGen::convertArgumentListToString(), convertCppComments(), convertMapFile(), DotFilePatcher::convertMapFile(), ResourceMgr::copyResourceAs(), ClassDefImpl::countAdditionalInheritedMembers(), ClassDefImpl::countInheritedDecMembers(), DotGfxHierarchyTable::createGraph(), MemberList::declVisible(), DocParser::defaultHandleToken(), DefinitionImpl::DefinitionImpl(), DefinitionMixin< Base >::DefinitionMixin(), VhdlDocGen::deleteCharRev(), DotNode::deleteNode(), MemberDefImpl::detectUndocumentedParams(), determineAbsoluteIncludeName(), determineIfNeedsTag(), DotCallGraph::determineTruncatedNodes(), DotClassGraph::determineTruncatedNodes(), DotInclDepGraph::determineTruncatedNodes(), DotClassGraph::determineVisibleNodes(), dirHasVisibleChildren(), MemberDefImpl::displayDefinition(), ClassDefAliasImpl::displayName(), Definition::displayName(), DirDefImpl::displayName(), FileDefImpl::displayName(), GroupDefImpl::displayName(), MemberDefAliasImpl::displayName(), ModuleDefImpl::displayName(), NamespaceDefAliasImpl::displayName(), PageDefImpl::displayName(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocHtmlCaption::DocHtmlCaption(), DocRef::DocRef(), DotCallGraph::DotCallGraph(), DotClassGraph::DotClassGraph(), DotGfxHierarchyTable::DotGfxHierarchyTable(), DotGraph::DotGraph(), DotGroupCollaboration::DotGroupCollaboration(), DotInclDepGraph::DotInclDepGraph(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), dupOfParent(), elemIsVisible(), IndexList::enable(), encodeForOutput(), HtmlGenerator::endCallGraph(), XMLCodeGenerator::endCodeLine(), ManGenerator::endConstraintDocs(), RTFGenerator::endConstraintList(), HtmlGenerator::endDirDepGraph(), DocbookGenerator::endDotGraph(), HtmlGenerator::endDotGraph(), RTFGenerator::endDotGraph(), RTFGenerator::endExamples(), endFileWithNavPath(), HtmlGenerator::endGroupCollaboration(), ManGenerator::endGroupHeader(), HtmlGenerator::endInclDepGraph(), RTFGenerator::endIndexItem(), RTFGenerator::endIndexList(), DocbookGenerator::endIndexSection(), LatexGenerator::endIndexSection(), RTFGenerator::endIndexSection(), ManGenerator::endInlineMemberDoc(), RTFGenerator::endItemList(), RTFGenerator::endMemberDescription(), DocbookGenerator::endMemberDocList(), ManGenerator::endMemberDocSimple(), ManGenerator::endMemberGroupHeader(), ManGenerator::endMemberHeader(), LayoutParser::endNavIndex(), RTFGenerator::endParagraph(), endScope(), ManGenerator::endSection(), ManGenerator::endTitleHead(), err_full_(), expandExpression(), extractCopyDocId(), Portable::fileSystemIsCaseSensitive(), filterMemberDocumentation(), findAttribute(), findBaseClassesForClass(), findClassRelation(), findDEV(), findEnumDocumentation(), findEnums(), findFile(), findFriends(), findGlobalMember(), GroupDefImpl::findGroup(), findMember(), findMemberLink(), findMembersWithSpecificName(), findObjCMethodDefinitions(), findTemplateInstanceRelation(), findUsedClassesForClass(), findUsedTemplateInstances(), findUsingDeclarations(), findUsingDirectives(), FTVNode::FTVNode(), generateBriefDoc(), generateClassMemberLink(), generateClassMemberLink(), generateClassOrGlobalLink(), generateDEFForMember(), generateExampleDocs(), generateJSLink(), generateJSNavTree(), generateJSTree(), FTVHelp::Private::generateLink(), generateOutput(), CitationManager::generatePage(), RefList::generatePage(), PerlModGenerator::generatePerlModForMember(), generateSqlite3(), generateSqlite3ForDir(), generateSqlite3ForFile(), generateSqlite3ForMember(), generateXML(), generateXMLForFile(), generateXMLForMember(), VhdlDocGen::getClassTitle(), getCurrentDateTime(), getDefsOld(), FilterCache::getFileContents(), getFilterFromList(), getFortranNamespaceDefs(), getFortranTypeDefs(), MemberDefImpl::getLabels(), getLink(), getLink(), getLink(), getLinkInScope(), getLinkInScope(), getParagraphContext(), SymbolResolver::Private::getResolvedSymbolRec(), SymbolResolver::Private::getResolvedTypeRec(), getScopeDefs(), DocParser::handleAHref(), DocPara::handleCommand(), VHDLOutlineParser::handleCommentBlock(), DocPara::handleHtmlStartTag(), handleHtmlTag(), DocParser::handleImg(), handleInternal(), DocPara::handleLink(), DocParser::handleLinkedWord(), handleName(), handleParBlock(), DocPara::handleSimpleSection(), handleStatic(), DocParser::handleStyleEnter(), hasNonReferenceSuperClassRec(), DefinitionImpl::hasSections(), if(), RTFDocVisitor::includePicturePreRTF(), PrintDocVisitor::indent_leaf(), ClassDefImpl::IMPL::init(), MemberDefImpl::init(), initParser(), initPredefined(), initSpecialBlock(), initTriDoubleQuoteBlock(), initTriSingleQuoteBlock(), ClassDefImpl::insertMember(), GroupDefImpl::insertMember(), insertMemberDefineParams(), insertMemberFunctionParams(), insertPath(), insertRefid(), ClassDefImpl::insertTemplateInstance(), insideBlockQuote(), insideDetails(), insideDL(), insideLI(), insideOL(), insidePRE(), insideStyleChangeThatIsOutsideParagraph(), insideTable(), insideUL(), ClassDefImpl::internalInsertMember(), DocParser::internalValidatingParseDoc(), SymbolResolver::Private::isAccessibleFrom(), SymbolResolver::Private::isAccessibleFromWithExpScope(), ClassDefImpl::isAccessibleMember(), DefinitionAliasMixin< Base >::isAlias(), isClassSection(), isCopyBriefOrDetailsCmd(), MemberDefImpl::isCSharpProperty(), isDocIncludeVisible(), isDocIncOperatorVisible(), isDocVerbatimVisible(), VHDLOutlineParser::isFuncProcProced(), DocHtmlRow::isHeading(), NamespaceDefImpl::isLinkableInProject(), MemberDefImpl::isObjCMethod(), MemberDefImpl::isObjCProperty(), DirDefImpl::isParentOf(), MemberDefImpl::isReimplementedBy(), isSpecialization(), DotCallGraph::isTrivial(), isVarWithConstructor(), TreeDiagram::layoutTree(), RTFGenerator::lineBreak(), MemberDefImpl::makeImplementationDetail(), ClassDefMutable::makeTemplateArgument(), VHDLOutlineParser::mapLibPackage(), DotNode::markAsTruncated(), DotNode::markAsVisible(), DocHtmlCell::markFirst(), DocIncOperator::markFirst(), DocPara::markFirst(), DocParamList::markFirst(), DocHtmlCell::markLast(), DocIncOperator::markLast(), DocPara::markLast(), DocParamList::markLast(), matchArgument2(), matchArguments2(), matchExcludedSymbols(), DirDefImpl::matchPath(), memberdefExists(), memberdefIncomplete(), membersHaveSpecificType(), ClassDefImpl::mergeCategory(), ClassDefImpl::mergeMembers(), ClassDefImpl::mergeMembersFromBaseClasses(), mergeScopes(), mustBeOutsideParagraph(), nameIsOperator(), LexOutlineParser::needsPreprocessing(), VHDLOutlineParser::needsPreprocessing(), ManGenerator::newParagraph(), newVariable(), normalizeNonTemplateArgumentsInString(), VHDLOutlineParser::oneLineComment(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), TextDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), XmlDocVisitor::operator()(), DefinitionImpl::operator=(), SymbolModifiers::operator|=(), organizeSubGroups(), otherCaseDone(), MemberDefImpl::overrideCallerGraph(), MemberDefImpl::overrideCallGraph(), MemberDefImpl::overrideReferencedByRelation(), MemberDefImpl::overrideReferencesRelation(), PageDefImpl::PageDefImpl(), DocAutoListItem::parse(), DocHtmlBlockQuote::parse(), DocHtmlCell::parse(), DocHtmlDescData::parse(), DocHtmlDescTitle::parse(), DocHtmlDetails::parse(), DocHtmlListItem::parse(), DocHtmlRow::parse(), DocIncOperator::parse(), DocInternal::parse(), DocParamList::parse(), DocParamSect::parse(), DocParBlock::parse(), DocRef::parse(), DocRoot::parse(), DocSection::parse(), DocXRefItem::parse(), CCodeParser::parseCode(), CodeParserInterface::parseCode(), CodeFragmentManager::parseCodeFragment(), parseCompounds(), parseCompounds(), DocTitle::parseFromString(), parseInput(), VHDLOutlineParser::parseInput(), parseMain(), parseMain(), parseMain(), FortranOutlineParser::parsePrototype(), parsePrototype(), parsePrototype(), VHDLOutlineParser::parsePrototype(), FileDefImpl::parseSource(), ConfigImpl::parseString(), DocHtmlCell::parseXml(), DocHtmlListItem::parseXml(), DocHtmlRow::parseXml(), DocHtmlTable::parseXml(), DocParamList::parseXml(), DocTokenizer::popContext(), DotGraph::prepareDotFile(), prepassFixedForm(), preProcessFile(), RTFGenerator::preProcessFileInplace(), Statistics::print(), Markdown::Private::processBlocks(), DocParser::processCopyDoc(), Markdown::Private::processHtmlTagWrite(), Markdown::Private::processLink(), DiagramItem::putInList(), quickLinkVisible(), quickLinkVisible(), readCodeFragment(), readConfiguration(), readIncludeFile(), recodeString(), recognizeFixedForm(), RefList::RefList(), ParserManager::registerExtension(), removeIdsAndMarkers(), renderMemberIndicesAsJs(), renderQuickLinksAsJs(), renderQuickLinksAsTabs(), replaceFunctionMacro(), replaceRef(), resetPDFSize(), resolveClassNestingRelations(), resolveLink(), resolveRef(), resolveUserReferences(), DotFilePatcher::run(), DotManager::run(), DotRunner::run(), runPlantumlContent(), ColoredImage::save(), Image::save(), scanner_abort(), searchInputFiles(), SearchIndex::setCurrentDoc(), setCurrentDoc(), setCurrentDoc(), setCurrentDoc(), DefinitionMixin< Base >::setDocumentation(), DefinitionMutable::setDocumentation(), ClassDefImpl::setGroupDefForAllMembers(), GroupDefImpl::setGroupTitleLocal(), ClassDefImpl::showUsedFiles(), QCString::simplifyWhiteSpace(), ClassDefMutable::sortAllMembersList(), ManGenerator::startAnonTypeScope(), DocbookCodeGenerator::startCodeLine(), HtmlCodeGenerator::startCodeLine(), LatexCodeGenerator::startCodeLine(), startCodeLine(), startCodeLine(), XMLCodeGenerator::startCodeLine(), anonymous_namespace{tagreader.cpp}::TagFileParser::startCompound(), startCondSection(), startCondSection(), ManGenerator::startConstraintList(), ManGenerator::startDescForItem(), DocbookGenerator::startDescTable(), ManGenerator::startDescTable(), ManGenerator::startDescTableData(), ManGenerator::startExamples(), ManGenerator::startFile(), DocbookCodeGenerator::startFontClass(), XMLCodeGenerator::startFontClass(), DocbookGenerator::startGroupHeader(), LatexGenerator::startGroupHeader(), ManGenerator::startGroupHeader(), HtmlGenerator::startIndexItem(), RTFGenerator::startIndexItem(), RTFGenerator::startIndexList(), LatexGenerator::startIndexSection(), RTFGenerator::startIndexSection(), ManGenerator::startItemListItem(), RTFGenerator::startItemListItem(), anonymous_namespace{tagreader.cpp}::TagFileParser::startMember(), ClassDefImpl::startMemberDocumentation(), FileDefImpl::startMemberDocumentation(), GroupDefImpl::startMemberDocumentation(), ModuleDefImpl::startMemberDocumentation(), NamespaceDefImpl::startMemberDocumentation(), DocbookGenerator::startMemberHeader(), HtmlGenerator::startMemberHeader(), LatexGenerator::startMemberHeader(), DocbookGenerator::startMemberItem(), HtmlGenerator::startMemberSections(), LayoutParser::startNavEntry(), ManGenerator::startParagraph(), startQuickIndexList(), DocbookGenerator::startTextBlock(), stringize(), stringToArgumentList(), stripIndentation(), stripIrrelevantString(), QCString::stripPrefix(), stripQualifiers(), stripQualifiers(), stripScope(), stripWord(), substituteTemplateArgumentsInString(), substituteTemplatesInString(), QCString::toLong(), QCString::toUInt64(), QCString::toULong(), transferFunctionReferences(), transferRelatedFunctionDocumentation(), tryAddEnumDocsToGroupMember(), updateLanguageMapping(), LayoutNavEntry::url(), visitPreStart(), MemberDefImpl::warnIfUndocumented(), DotGroupCollaboration::Edge::write(), DotNode::write(), ClassDefImpl::writeAdditionalInheritedMembers(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedClassList(), writeAnnotatedIndexGeneric(), ClassDefImpl::writeAuthorSection(), ConceptDefImpl::writeAuthorSection(), FileDefImpl::writeAuthorSection(), GroupDefImpl::writeAuthorSection(), ModuleDefImpl::writeAuthorSection(), NamespaceDefImpl::writeAuthorSection(), ClassDefImpl::writeBriefDescription(), ConceptDefImpl::writeBriefDescription(), DirDefImpl::writeBriefDescription(), FileDefImpl::writeBriefDescription(), GroupDefImpl::writeBriefDescription(), ModuleDefImpl::writeBriefDescription(), NamespaceDefImpl::writeBriefDescription(), ResourceMgr::writeCategory(), NamespaceDefImpl::writeClassDeclarations(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeClassTree(), writeClassTreeForList(), writeClassTreeInsideNamespaceElement(), writeClassTreeToOutput(), VhdlDocGen::writeClassType(), writeConceptIndex(), NamespaceDefImpl::writeConcepts(), writeConceptTreeInsideNamespaceElement(), MemberDefImpl::writeDeclaration(), NamespaceLinkedRefMap::writeDeclaration(), ClassDefImpl::writeDeclarationLink(), ConceptDefImpl::writeDeclarationLink(), ModuleDefImpl::writeDeclarationLink(), writeDefArgumentList(), writeDefaultQuickLinks(), ConceptDefImpl::writeDetailedDescription(), DirDefImpl::writeDetailedDescription(), FileDefImpl::writeDetailedDescription(), GroupDefImpl::writeDetailedDescription(), ModuleDefImpl::writeDetailedDescription(), NamespaceDefImpl::writeDetailedDescription(), ClassDefImpl::writeDetailedDocumentationBody(), writeDirHierarchy(), GroupDefImpl::writeDirs(), writeDirTreeNode(), RTFGenerator::writeDoc(), DotClassGraph::writeDocbook(), ClassLinkedRefMap::writeDocumentation(), MemberDefImpl::writeDocumentation(), PageDefImpl::writeDocumentation(), writeDotImageMapFromFile(), writeExampleIndex(), ModuleDefImpl::writeExports(), HtmlGenerator::writeExternalSearchPage(), HtmlHelpIndex::writeFields(), ClassDiagram::writeFigure(), writeFileIndex(), DirDefImpl::writeFileList(), writeFileMemberIndexFiltered(), GroupDefImpl::writeFiles(), ModuleDefImpl::writeFiles(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), DotDirDeps::writeGraph(), writeGroupTreeNode(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), ClassDiagram::writeImage(), FileDefImpl::writeIncludedByGraph(), FileDefImpl::writeIncludeFiles(), FileDefImpl::writeIncludeGraph(), writeIndex(), writeIndexHierarchyEntries(), ClassDefImpl::writeInheritanceGraph(), ClassDefImpl::writeInheritedMemberDeclarations(), HtmlGenerator::writeInheritedSectionTitle(), VhdlDocGen::writeInlineClassLink(), DefinitionImpl::writeInlineCode(), ClassDefImpl::writeInlineDocumentation(), writeJavasScriptSearchDataPage(), DotNode::writeLabel(), DocbookCodeGenerator::writeLineNumber(), HtmlCodeGenerator::writeLineNumber(), LatexCodeGenerator::writeLineNumber(), MemberDefImpl::writeLink(), DocbookGenerator::writeLocalToc(), writeMapArea(), MemberDefImpl::writeMemberDocSimple(), ClassDefImpl::writeMemberList(), writeMemberList(), writeMenuData(), writeModuleIndex(), writeModuleMemberIndexFiltered(), writeModuleTreeNode(), writeMultiLineCodeLink(), writeMultiLineCodeLink(), writeMultiLineCodeLink(), NamespaceDefImpl::writeNamespaceDeclarations(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), ClassDefImpl::writeNestedClasses(), GroupDefImpl::writeNestedGroups(), Markdown::Private::writeOneLineHeaderOrRuler(), GroupDefImpl::writePageDocumentation(), PageDefImpl::writePageDocumentation(), writePages(), MemberList::writePlainDeclarations(), VhdlDocGen::writePlainVHDLDeclarations(), VhdlDocGen::writeProcedureProto(), VhdlDocGen::writeProcessProto(), writeQuickMemberIndex(), VhdlDocGen::writeRecUnitDocu(), FlowChart::writeShape(), writeSingleFileIndex(), VhdlDocGen::writeSource(), FileDefImpl::writeSourceBody(), DefinitionImpl::writeSourceRefs(), ConfigOption::writeStringList(), DirDefImpl::writeSubDirList(), ClassDefImpl::writeSummaryLinks(), FileDefImpl::writeSummaryLinks(), GroupDefImpl::writeSummaryLinks(), ModuleDefImpl::writeSummaryLinks(), NamespaceDefImpl::writeSummaryLinks(), DotFilePatcher::writeSVGFigureLink(), ManGenerator::writeSynopsis(), Markdown::Private::writeTableBlock(), PageDefImpl::writeTagFile(), VhdlDocGen::writeTagFile(), writeTemplateArgumentList(), writeTopicIndex(), writeTypeConstraints(), DotFilePatcher::writeVecGfxFigure(), VhdlDocGen::writeVHDLDeclaration(), VhdlDocGen::writeVHDLDeclarations(), VhdlDocGen::writeVhdlDeclarations(), DotClassGraph::writeXML(), and writeXMLCodeBlock().

Typedef Documentation

◆ JavaCCString

using JavaCCString = std::basic_string<JAVACC_CHAR_TYPE>

Definition at line 95 of file qcstring.h.

Function Documentation

◆ operator!=() [1/3]

bool operator!= ( const char * s1,
const QCString & s2 )
inline

Definition at line 622 of file qcstring.h.

623{ return qstrcmp(s1,s2.data()) != 0; }
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
Definition qcstring.h:159
int qstrcmp(const char *str1, const char *str2)
Definition qcstring.h:69

References QCString::data(), and qstrcmp().

◆ operator!=() [2/3]

bool operator!= ( const QCString & s1,
const char * s2 )
inline

Definition at line 619 of file qcstring.h.

620{ return qstrcmp(s1.data(),s2) != 0; }

References QCString::data(), and qstrcmp().

◆ operator!=() [3/3]

bool operator!= ( const QCString & s1,
const QCString & s2 )
inline

Definition at line 616 of file qcstring.h.

617{ return s1.str() != s2.str(); }
const std::string & str() const
Definition qcstring.h:537

References QCString::str().

◆ operator+() [1/3]

QCString operator+ ( const char * s1,
const QCString & s2 )
inline

Definition at line 665 of file qcstring.h.

666{
667 QCString tmp(s1);
668 tmp.append(s2);
669 return tmp;
670}
This is an alternative implementation of QCString.
Definition qcstring.h:101

References QCString::append().

◆ operator+() [2/3]

QCString operator+ ( const QCString & s1,
const char * s2 )
inline

Definition at line 658 of file qcstring.h.

659{
660 QCString tmp(s1);
661 tmp.append(s2);
662 return tmp;
663}

References QCString::append().

◆ operator+() [3/3]

QCString operator+ ( const QCString & s1,
const QCString & s2 )
inline

Definition at line 652 of file qcstring.h.

653{
654 return QCString(s1.str()+s2.str());
655}

References QCString::str().

◆ operator<() [1/3]

bool operator< ( const char * s1,
const QCString & s2 )
inline

Definition at line 631 of file qcstring.h.

632{ return qstrcmp(s1,s2.data()) < 0; }

References QCString::data(), and qstrcmp().

◆ operator<() [2/3]

bool operator< ( const QCString & s1,
const char * s2 )
inline

Definition at line 628 of file qcstring.h.

629{ return qstrcmp(s1.data(),s2) < 0; }

References QCString::data(), and qstrcmp().

◆ operator<() [3/3]

bool operator< ( const QCString & s1,
const QCString & s2 )
inline

Definition at line 625 of file qcstring.h.

626{ return qstrcmp(s1.data(),s2.data()) < 0; }

References QCString::data(), and qstrcmp().

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const QCString & s )
inline

Definition at line 770 of file qcstring.h.

771{
772 os << s.str();
773 return os;
774}

References QCString::str().

◆ operator<=() [1/2]

bool operator<= ( const char * s1,
const QCString & s2 )
inline

Definition at line 637 of file qcstring.h.

638{ return qstrcmp(s1,s2.data()) <= 0; }

References QCString::data(), and qstrcmp().

◆ operator<=() [2/2]

bool operator<= ( const QCString & s1,
const char * s2 )
inline

Definition at line 634 of file qcstring.h.

635{ return qstrcmp(s1.data(),s2) <= 0; }

References QCString::data(), and qstrcmp().

◆ operator==() [1/3]

bool operator== ( const char * s1,
const QCString & s2 )
inline

Definition at line 613 of file qcstring.h.

614{ return qstrcmp(s1,s2.data()) == 0; }

References QCString::data(), and qstrcmp().

◆ operator==() [2/3]

bool operator== ( const QCString & s1,
const char * s2 )
inline

Definition at line 610 of file qcstring.h.

611{ return qstrcmp(s1.data(),s2) == 0; }

References QCString::data(), and qstrcmp().

◆ operator==() [3/3]

bool operator== ( const QCString & s1,
const QCString & s2 )
inline

Definition at line 607 of file qcstring.h.

608{ return s1.str() == s2.str(); }

References QCString::str().

◆ operator>() [1/2]

bool operator> ( const char * s1,
const QCString & s2 )
inline

Definition at line 643 of file qcstring.h.

644{ return qstrcmp(s1,s2.data()) > 0; }

References QCString::data(), and qstrcmp().

◆ operator>() [2/2]

bool operator> ( const QCString & s1,
const char * s2 )
inline

Definition at line 640 of file qcstring.h.

641{ return qstrcmp(s1.data(),s2) > 0; }

References QCString::data(), and qstrcmp().

◆ operator>=() [1/2]

bool operator>= ( const char * s1,
const QCString & s2 )
inline

Definition at line 649 of file qcstring.h.

650{ return qstrcmp(s1,s2.data()) >= 0; }

References QCString::data(), and qstrcmp().

◆ operator>=() [2/2]

bool operator>= ( const QCString & s1,
const char * s2 )
inline

Definition at line 646 of file qcstring.h.

647{ return qstrcmp(s1.data(),s2) >= 0; }

References QCString::data(), and qstrcmp().

◆ qisempty()

bool qisempty ( const char * s)
inline

Definition at line 66 of file qcstring.h.

67{ return s==nullptr || *s=='\0'; }

Referenced by qstrcmp(), and qstrncmp().

◆ qisspace()

◆ qmemmove()

void * qmemmove ( void * dst,
const void * src,
size_t len )

Definition at line 402 of file qcstring.cpp.

403{
404 if ( dst > src ) {
405 char *d = static_cast<char *>(dst) + len - 1;
406 const char *s = static_cast<const char *>(src) + len - 1;
407 while ( len-- )
408 *d-- = *s--;
409 }
410 else if ( dst < src ) {
411 char *d = static_cast<char *>(dst);
412 const char *s = static_cast<const char *>(src);
413 while ( len-- )
414 *d++ = *s++;
415 }
416 return dst;
417}

◆ qPrint() [1/3]

const char * qPrint ( const char * s)
inline

Definition at line 672 of file qcstring.h.

673{
674 if (s) return s; else return "";
675}

Referenced by MemberDefImpl::_writeCallerGraph(), MemberDefImpl::_writeCallGraph(), FileDefImpl::acquireFileVersion(), addAnchor(), addClassToGroups(), addConceptToGroups(), Qhp::addContentsItem(), addDirToGroups(), ModuleManager::addDocs(), addExampleToGroups(), addGroupToGroups(), addIncludeFile(), addMemberDocs(), addMemberFunction(), addMemberToGroups(), ModuleDefImpl::addMemberToModule(), addModule(), addModuleToGroups(), addNamespaceToGroups(), addRelatedPage(), addSection(), addSubprogram(), DirDefImpl::addUsesDependency(), addValidAliasToMap(), addVariable(), addXRefItem(), adjustColorStyleSetting(), adjustConfiguration(), adjustStringSetting(), buildExampleList(), buildFileList(), buildGroupListFiltered(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), Config::checkAndCorrect(), DocParser::checkArgumentName(), checkBlocks(), checkFileName(), checkList(), checkMarkdownMainfile(), checkPageRelations(), checkPngResult(), DocParser::checkRetvalName(), DocParser::checkUnOrMultipleDocumentedParams(), classInheritedProtectionLevel(), XMLCodeGenerator::codify(), codifyLines(), computeClassRelations(), computePageRelations(), computeVerifiedDotPath(), ConfigImpl::config_err(), ConfigImpl::config_term(), ConfigImpl::config_warn(), configFileToString(), configStringRecode(), convertCppComments(), convertMapFile(), DotFilePatcher::convertMapFile(), ConfigBool::convertStrToVal(), ConfigEnum::convertStrToVal(), ConfigInt::convertStrToVal(), copyExtraFiles(), copyFile(), copyIcon(), copyLatexStyleSheet(), copyLogo(), ResourceMgr::copyResourceAs(), copyStyleSheet(), MemberList::countDecMembers(), createCroppedEPS(), createCroppedPDF(), createDVIFile(), createEPSbboxFile(), createOutputDirectory(), PerlModGenerator::createOutputFile(), createPNG(), createPostscriptFile(), HtmlHelp::Private::createProjectFile(), DotManager::createRunner(), createSubDirs(), createSVGFromPDF(), createSVGFromPDFviaInkscape(), DebugLex::DebugLex(), do_mscgen_generate(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocEmoji::DocEmoji(), DocHtmlCaption::DocHtmlCaption(), DocRef::DocRef(), anonymous_namespace{tagreader.cpp}::TagFileParser::dump(), dumpDocNodeList(), elemIsVisible(), encodeForOutput(), anonymous_namespace{tagreader.cpp}::TagFileParser::endElement(), DocGroup::enterCompound(), anonymous_namespace{tagreader.cpp}::TagFileParser::error(), DocParser::errorHandleDefaultToken(), expandAlias(), extractBoundingBox(), fileToString(), DocParser::findAndCopyImage(), findClassRelation(), findDefineDocumentation(), findDirDocumentation(), findEnumDocumentation(), findGlobalMember(), FlowChart::findLabel(), findMainPage(), findMember(), findMemberLink(), DocTokenizer::findSections(), VhdlDocGen::findVhdlClass(), format_warn(), generateClassMemberLink(), generateClassMemberLink(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), generateConceptDocs(), generateConfigFile(), generateDEF(), generateDocsForClassList(), generateExampleDocs(), generateFileDocs(), generateFileSources(), generateFormula(), generateFunctionLink(), generateFunctionLink(), generateHtmlOutput(), FormulaManager::generateImages(), generateMemberLink(), generateNamespaceClassDocs(), generateNamespaceConceptDocs(), generateNamespaceDocs(), generateOutput(), CitationManager::generatePage(), generatePageDocs(), generatePHPVariableLink(), generateSqlite3(), generateSqlite3ForClass(), generateSqlite3ForFile(), generateSqlite3ForMember(), generateXML(), generateXMLForClass(), generateXMLForConcept(), generateXMLForDir(), generateXMLForFile(), generateXMLForGroup(), generateXMLForModule(), generateXMLForNamespace(), generateXMLForPage(), DotGfxHierarchyTable::getBaseName(), getCurrentDateTime(), getDefs(), FilterCache::getFileContentsPipe(), getLink(), getLinkInScope(), MemberDefImpl::getOutputFileBase(), handle_warn_as_error(), DocParser::handleAnchor(), DocPara::handleCite(), DocPara::handleCommand(), handleCommentBlock(), DocPara::handleDoxyConfig(), DocPara::handleEmoji(), handleExample(), DocPara::handleFile(), handleFileInfoResult(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), DocPara::handleIFile(), DocPara::handleILine(), DocParser::handleImage(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), handleInheritanceGraph(), DocParser::handleInternalRef(), DocPara::handleLink(), DocParser::handleLinkedWord(), DocParser::handlePrefix(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleShowDate(), DocParser::handleStyleArgument(), DocParser::handleStyleLeave(), handleToc(), DocParser::handleUnclosedStyleCommands(), hasNonReferenceNestedGroupRec(), hasNonReferenceNestedNamespaceRec(), hasNonReferenceSuperClassRec(), ConfigImpl::init(), DocbookGenerator::init(), HtmlGenerator::init(), LatexGenerator::init(), ManGenerator::init(), RTFGenerator::init(), FormulaManager::initFromRepository(), Crawlmap::initialize(), DocSets::initialize(), EclipseHelp::initialize(), HtmlHelp::initialize(), HtmlHelpRecoder::initialize(), Sitemap::initialize(), PlantumlManager::insert(), CitationManager::insertCrossReferencesForBibFile(), FileDefImpl::insertMember(), GroupDefImpl::insertMember(), NamespaceDefImpl::insertMember(), ClassDefImpl::internalInsertMember(), ClassDefImpl::isBaseClass(), ClassDefImpl::isSubClass(), VhdlDocGen::isSubClass(), loadExtensions(), Htags::loadFilemap(), loadStylesheet(), mergeArguments(), minClassDistance(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), PerlModDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), CondParser::parse(), ConfigImpl::parse(), DocDiaFile::parse(), DocDotFile::parse(), DocHRef::parse(), DocHtmlCaption::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlHeader::parse(), DocHtmlList::parse(), DocHtmlRow::parse(), DocHtmlTable::parse(), DocInclude::parse(), DocIncOperator::parse(), DocIndexEntry::parse(), DocLink::parse(), DocMscFile::parse(), DocPara::parse(), DocParamList::parse(), DocPlantUmlFile::parse(), DocRoot::parse(), DocSecRefItem::parse(), DocSecRefList::parse(), DocText::parse(), LayoutDocManager::parse(), CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), XMLCodeParser::parseCode(), CommentScanner::parseCommentBlock(), parseFile(), parseIncludeOptions(), COutlineParser::parseInput(), FortranOutlineParser::parseInput(), LexOutlineParser::parseInput(), MarkdownOutlineParser::parseInput(), parseInput(), PythonOutlineParser::parseInput(), VHDLOutlineParser::parseInput(), parseMain(), parseMain(), parseMain(), parseMain(), DocHtmlList::parseXml(), DocHtmlRow::parseXml(), popScope(), DotGraph::prepareDotFile(), RTFGenerator::preProcessFileInplace(), printLayout(), printNavLayout(), printNavTree(), FlowChart::printNode(), printSectionsTree(), Markdown::process(), DocParser::processCopyDoc(), Preprocessor::processFile(), processList(), processSection(), processString(), pushBuffer(), pushScope(), DotRunner::readBoundingBox(), readCodeFragment(), readConfiguration(), readDir(), readFileOrDirectory(), readIncludeFile(), readIncludeFile(), readIncludeFile(), readInputFile(), readTagFile(), DocParser::readTextFileByName(), readTextFileByName(), DotNode::renumberNodes(), resetPDFSize(), resolveAliasCmd(), resolveClassNestingRelations(), SymbolResolver::resolveSymbol(), rtfFormatBmkStr(), DotFilePatcher::run(), DotRunner::run(), runHtmlHelpCompiler(), runPlantumlContent(), runQHelpGenerator(), saveObjCContext(), scanner_abort(), setCallContextForVar(), setClassScope(), setTranslator(), startCodeLine(), anonymous_namespace{tagreader.cpp}::TagFileParser::startElement(), LayoutParser::startElement(), LayoutParser::startNavEntry(), OutputGenerator::startPlainFile(), stripClassName(), subrHandleCommentBlock(), Portable::system(), term_(), testRTFOutput(), transcodeCharacterBuffer(), tryAddEnumDocsToGroupMember(), tryPath(), updateEPSBoundingBox(), updateLanguageMapping(), LayoutNavEntry::url(), usage(), version(), MemberDefImpl::virtualness(), MemberDefImpl::warnIfUndocumented(), MemberDefImpl::warnIfUndocumentedParams(), warnUndocumentedNamespaces(), SearchIndexExternal::write(), ResourceMgr::writeCategory(), ClassDefImpl::writeCollaborationGraph(), writeCombineScript(), MemberDefImpl::writeDeclaration(), writeDefaultLayoutFile(), writeDiaGraphFromFile(), DirDefImpl::writeDirectoryGraph(), writeDirTreeNode(), ConceptDefImpl::writeDocumentation(), DirDefImpl::writeDocumentation(), FileDefImpl::writeDocumentation(), GroupDefImpl::writeDocumentation(), ModuleDefImpl::writeDocumentation(), NamespaceDefImpl::writeDocumentation(), ClassDefImpl::writeDocumentationContents(), ClassDefImpl::writeDocumentationForInnerClasses(), writeDotGraphFromFile(), writeDotImageMapFromFile(), writeExceptionListImpl(), HtmlGenerator::writeExternalSearchPage(), ClassDiagram::writeFigure(), FlowChart::writeFlowChart(), DotGfxHierarchyTable::writeGraph(), GroupDefImpl::writeGroupGraph(), writeGroupTreeNode(), FileDefImpl::writeIncludedByGraph(), FileDefImpl::writeIncludeGraph(), ClassDefImpl::writeInheritanceGraph(), writeJavasScriptSearchDataPage(), writeLatexMakefile(), writeMakeBat(), writeMscGraphFromFile(), writeMultiLineCodeLink(), writeObjCMethodCall(), PlantumlManager::writePlantUMLSource(), HtmlGenerator::writeSearchPage(), HtmlGenerator::writeStyleInfo(), writeTagFile(), and DebugLex::~DebugLex().

◆ qPrint() [2/3]

const char * qPrint ( const QCString & s)
inline

Definition at line 677 of file qcstring.h.

678{
679 if (!s.isEmpty()) return s.data(); else return "";
680}
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150

References QCString::data(), and QCString::isEmpty().

◆ qPrint() [3/3]

const char * qPrint ( const std::string & s)
inline

Definition at line 682 of file qcstring.h.

683{
684 return s.c_str();
685}

◆ qstrcmp() [1/4]

int qstrcmp ( const char * str1,
const char * str2 )
inline

Definition at line 69 of file qcstring.h.

70{ return (str1 && str2) ? strcmp(str1,str2) : // both non-empty
71 (qisempty(str1) && qisempty(str2)) ? 0 : // both empty
72 qisempty(str1) ? -1 : 1; // one empty, other non-empty
73}
bool qisempty(const char *s)
Definition qcstring.h:66

References qisempty().

Referenced by convertMapFile(), KeywordHash::find(), operator!=(), operator!=(), operator<(), operator<(), operator<(), operator<=(), operator<=(), operator==(), operator==(), operator>(), operator>(), operator>=(), operator>=(), qstrcmp(), qstrcmp(), qstrcmp(), qstricmp_sort(), readConfiguration(), startFontClass(), startFontClass(), and startFontClass().

◆ qstrcmp() [2/4]

int qstrcmp ( const char * str1,
const QCString & str2 )
inline

Definition at line 699 of file qcstring.h.

700{
701 return qstrcmp(str1,str2.data());
702}

References QCString::data(), and qstrcmp().

◆ qstrcmp() [3/4]

int qstrcmp ( const QCString & str1,
const char * str2 )
inline

Definition at line 694 of file qcstring.h.

695{
696 return qstrcmp(str1.data(),str2);
697}

References QCString::data(), and qstrcmp().

◆ qstrcmp() [4/4]

int qstrcmp ( const QCString & str1,
const QCString & str2 )
inline

Definition at line 704 of file qcstring.h.

705{
706 return qstrcmp(str1.data(),str2.data());
707}

References QCString::data(), and qstrcmp().

◆ qstrcpy()

char * qstrcpy ( char * dst,
const char * src )
inline

Definition at line 61 of file qcstring.h.

62{ return src ? strcpy(dst, src) : nullptr; }

Referenced by SymbolResolver::Private::getResolvedTypeRec(), substitute(), and substitute().

◆ qstrdup()

char * qstrdup ( const char * s)

Returns a copy of a string s.

Note that memory is passed to the caller, use qstrfree() to release.

Definition at line 419 of file qcstring.cpp.

420{
421 if ( !str )
422 return nullptr;
423 char *dst = new char[qstrlen(str)+1];
424 return strcpy( dst, str );
425}
uint32_t qstrlen(const char *str)
Returns the length of string str, or 0 if a null pointer is passed.
Definition qcstring.h:58

References qstrlen().

◆ qstrfree()

void qstrfree ( const char * s)

Frees the memory allocated using qstrdup().

Definition at line 427 of file qcstring.cpp.

428{
429 delete[](str);
430}

◆ qstricmp() [1/4]

int qstricmp ( const char * str1,
const char * str2 )

Definition at line 442 of file qcstring.cpp.

443{
444 if ( !s1 || !s2 )
445 {
446 return s1 == s2 ? 0 : static_cast<int>(s2 - s1);
447 }
448 int res = 0;
449 char c = 0;
450 for ( ; !(res = ((c=toLowerChar(*s1)) - toLowerChar(*s2))); s1++, s2++ )
451 {
452 if ( !c ) // strings are equal
453 break;
454 }
455 return res;
456}
char toLowerChar(char c)
Definition qcstring.cpp:24

References toLowerChar().

Referenced by compareString(), VhdlDocGen::findAllArchitectures(), DocGroup::findExistingGroup(), FlowChart::findLabel(), VhdlDocGen::findVhdlClass(), mainPageHasOwnTitle(), qstricmp(), qstricmp(), qstricmp(), qstricmp_sort(), readConfiguration(), stripFromPath(), transcodeCharacterBuffer(), transcodeCharacterStringToUTF8(), FlowChart::writeFlowLinks(), ClassDefImpl::writeIncludeFilesForSlice(), writeIndex(), and VhdlDocGen::writeProcedureProto().

◆ qstricmp() [2/4]

int qstricmp ( const char * str1,
const QCString & str2 )
inline

Definition at line 714 of file qcstring.h.

715{
716 return qstricmp(str1,str2.data());
717}
int qstricmp(const char *str1, const char *str2)
Definition qcstring.cpp:442

References QCString::data(), and qstricmp().

◆ qstricmp() [3/4]

int qstricmp ( const QCString & str1,
const char * str2 )
inline

Definition at line 709 of file qcstring.h.

710{
711 return qstricmp(str1.data(),str2);
712}

References QCString::data(), and qstricmp().

◆ qstricmp() [4/4]

int qstricmp ( const QCString & str1,
const QCString & str2 )
inline

Definition at line 719 of file qcstring.h.

720{
721 return qstricmp(str1.data(),str2.data());
722}

References QCString::data(), and qstricmp().

◆ qstricmp_sort() [1/4]

◆ qstricmp_sort() [2/4]

int qstricmp_sort ( const char * str1,
const QCString & str2 )
inline

Definition at line 729 of file qcstring.h.

730{
731 return qstricmp_sort(str1,str2.data());
732}
int qstricmp_sort(const char *str1, const char *str2)
Definition qcstring.h:86

References QCString::data(), and qstricmp_sort().

◆ qstricmp_sort() [3/4]

int qstricmp_sort ( const QCString & str1,
const char * str2 )
inline

Definition at line 724 of file qcstring.h.

725{
726 return qstricmp_sort(str1.data(),str2);
727}

References QCString::data(), and qstricmp_sort().

◆ qstricmp_sort() [4/4]

int qstricmp_sort ( const QCString & str1,
const QCString & str2 )
inline

Definition at line 734 of file qcstring.h.

735{
736 return qstricmp_sort(str1.data(),str2.data());
737}

References QCString::data(), and qstricmp_sort().

◆ qstrlen()

uint32_t qstrlen ( const char * str)
inline

◆ qstrncmp()

◆ qstrncpy()

char * qstrncpy ( char * dst,
const char * src,
size_t len )

Definition at line 432 of file qcstring.cpp.

433{
434 if ( !src )
435 return nullptr;
436 strncpy( dst, src, len );
437 if ( len > 0 )
438 dst[len-1] = '\0';
439 return dst;
440}

Referenced by do_warn().

◆ qstrnicmp() [1/4]

int qstrnicmp ( const char * str1,
const char * str2,
size_t len )

Definition at line 458 of file qcstring.cpp.

459{
460 if ( !s1 || !s2 )
461 {
462 return static_cast<int>(s2 - s1);
463 }
464 for ( ; len--; s1++, s2++ )
465 {
466 char c = toLowerChar(*s1);
467 int res = c-toLowerChar(*s2);
468 if ( res!=0 ) // strings are not equal
469 return res;
470 if ( c==0 ) // strings are equal
471 break;
472 }
473 return 0;
474}

References toLowerChar().

Referenced by QCString::contains(), QCString::find(), QCString::findRev(), qstrnicmp(), qstrnicmp(), and qstrnicmp().

◆ qstrnicmp() [2/4]

int qstrnicmp ( const char * str1,
const QCString & str2,
size_t len )
inline

Definition at line 745 of file qcstring.h.

746{
747 return qstrnicmp(str1,str2.data(),len);
748}
int qstrnicmp(const char *str1, const char *str2, size_t len)
Definition qcstring.cpp:458

References QCString::data(), and qstrnicmp().

◆ qstrnicmp() [3/4]

int qstrnicmp ( const QCString & str1,
const char * str2,
size_t len )
inline

Definition at line 740 of file qcstring.h.

741{
742 return qstrnicmp(str1.data(),str2,len);
743}

References QCString::data(), and qstrnicmp().

◆ qstrnicmp() [4/4]

int qstrnicmp ( const QCString & str1,
const QCString & str2,
size_t len )
inline

Definition at line 750 of file qcstring.h.

751{
752 return qstrnicmp(str1.data(),str2.data(),len);
753}

References QCString::data(), and qstrnicmp().

◆ substitute() [1/4]

QCString substitute ( const QCString & s,
char srcChar,
char dstChar )
inline

Definition at line 763 of file qcstring.h.

764{
765 std::string ss = s.str();
766 std::replace(ss.begin(),ss.end(),srcChar,dstChar);
767 return QCString(ss);
768}

References QCString::str().

◆ substitute() [2/4]

QCString substitute ( const QCString & s,
const QCString & src,
const QCString & dst,
int skip_seq )

substitute all occurrences of src in s by dst, but skip each consecutive sequence of src where the number consecutive src matches skip_seq; if skip_seq is negative, skip any number of consecutive src

Definition at line 518 of file qcstring.cpp.

519{
520 if (s.isEmpty() || src.isEmpty()) return s;
521 const char *p = nullptr, *q = nullptr;
522 size_t srcLen = src.length();
523 size_t dstLen = dst.length();
524 size_t resLen = 0;
525 if (srcLen!=dstLen)
526 {
527 int count = 0;
528 for (p=s.data(); (q=strstr(p,src.data()))!=nullptr; p=q+srcLen) count++;
529 resLen = s.length()+count*(dstLen-srcLen);
530 }
531 else // result has same size as s
532 {
533 resLen = s.length();
534 }
535 QCString result(resLen, QCString::ExplicitSize);
536 char *r = result.rawData();
537 for (p = s.data(); (q=strstr(p,src.data()))!=nullptr; p=q+srcLen)
538 {
539 // search a consecutive sequence of src
540 int seq = 0, skip = 0;
541 if (skip_seq)
542 {
543 for (const char *n=q+srcLen; qstrncmp(n,src.data(),srcLen)==0; seq=1+skip, n+=srcLen)
544 ++skip; // number of consecutive src after the current one
545
546 // verify the allowed number of consecutive src to skip
547 if (skip_seq > 0 && skip_seq != seq)
548 seq = skip = 0;
549 }
550
551 // skip a consecutive sequence of src when necessary
552 int l = static_cast<int>((q + seq * srcLen)-p);
553 memcpy(r,p,l);
554 r+=l;
555
556 if (skip)
557 {
558 // skip only the consecutive src found after the current one
559 q += skip * srcLen;
560 // the next loop will skip the current src, aka (p=q+srcLen)
561 continue;
562 }
563
564 if (dstLen>0) memcpy(r,dst.data(),dstLen);
565 r+=dstLen;
566 }
567 qstrcpy(r,p);
568 result.resize(strlen(result.data()));
569 //printf("substitute(%s,%s,%s)->%s\n",s,src,dst,result.data());
570 return result;
571}
size_t length() const
Returns the length of the string, not counting the 0-terminator.
Definition qcstring.h:153
@ ExplicitSize
Definition qcstring.h:133
int qstrncmp(const char *str1, const char *str2, size_t len)
Definition qcstring.h:75
char * qstrcpy(char *dst, const char *src)
Definition qcstring.h:61

References QCString::data(), QCString::ExplicitSize, QCString::isEmpty(), QCString::length(), qstrcpy(), qstrncmp(), QCString::rawData(), and QCString::resize().

◆ substitute() [3/4]

QCString substitute ( const QCString & str,
const char * find,
const char * replace )
inline

Definition at line 757 of file qcstring.h.

758{
759 return substitute(str,QCString(find),QCString(replace));
760}
QCString substitute(const QCString &str, const QCString &find, const QCString &replace)
substitute all occurrences of src in s by dst
Definition qcstring.cpp:477

References substitute().

◆ substitute() [4/4]

QCString substitute ( const QCString & str,
const QCString & find,
const QCString & replace )

substitute all occurrences of src in s by dst

Definition at line 477 of file qcstring.cpp.

478{
479 if (s.isEmpty() || src.isEmpty()) return s;
480 const char *q = nullptr, *p = nullptr;
481 size_t srcLen = src.length();
482 size_t dstLen = dst.length();
483 size_t resLen = 0;
484 if (srcLen!=dstLen)
485 {
486 int count = 0;
487 for (p = s.data(); (q=strstr(p,src.data()))!=nullptr; p=q+srcLen) count++;
488 resLen = s.length()+count*(dstLen-srcLen);
489 }
490 else // result has same size as s
491 {
492 resLen = s.length();
493 }
494 QCString result(resLen, QCString::ExplicitSize);
495 char *r = result.rawData();
496 for (p = s.data(); (q=strstr(p,src.data()))!=nullptr; p=q+srcLen)
497 {
498 int l = static_cast<int>(q-p);
499 memcpy(r,p,l);
500 r+=l;
501
502 if (dstLen>0) memcpy(r,dst.data(),dstLen);
503 r+=dstLen;
504 }
505 if (r)
506 {
507 qstrcpy(r,p);
508 }
509 //printf("substitute(%s,%s,%s)->%s\n",s,src,dst,result.data());
510 return result;
511}

References QCString::data(), QCString::ExplicitSize, QCString::isEmpty(), QCString::length(), qstrcpy(), and QCString::rawData().

Referenced by abbreviate(), addEnumValuesToEnums(), FlowChart::addFlowChart(), addFrom(), addGlobalFunction(), HtmlHelpIndex::addItem(), MemberDefImpl::addListReference(), addMemberFunction(), addMethodToClass(), addModule(), addPageToContext(), Markdown::Private::addStrEscapeUtf8Nbsp(), addVariable(), addVariableToClass(), buildListOfUsingDecls(), buildNamespaceList(), DocParser::checkUnOrMultipleDocumentedParams(), convertFileId2Var(), ResourceMgr::copyResourceAs(), Portable::correctPath(), MemberDefImpl::displayDefinition(), findDirDocumentation(), DocParser::findDocsForMemberOrCompound(), findGlobalMember(), findGroupScope(), findMember(), findUsingDeclarations(), findUsingDirectives(), fixSpaces(), format_warn(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), generateJSNavTree(), RefList::generatePage(), VhdlDocGen::getClassName(), getDefsOld(), DocPara::handleStartCode(), HtmlGenerator::init(), linkToText(), makeDisplayName(), makeDisplayName(), matchExcludedSymbols(), Markdown::process(), Markdown::Private::processLink(), processTagLessClasses(), resolveRef(), DotFilePatcher::run(), SearchIndex::setCurrentDoc(), stripIndentation(), substitute(), substituteHtmlKeywords(), substituteLatexKeywords(), Portable::system(), ConfigImpl::takeStartComment(), ConfigImpl::takeStoreRepl(), ConfigImpl::takeUserComment(), unescapeCRef(), validatingParseDoc(), warn_line(), MemberDefImpl::warnIfUndocumented(), writeAlphabeticalClassList(), MemberDefImpl::writeDeclaration(), MemberList::writeDeclarations(), writeDefArgumentList(), writeDefaultLayoutFile(), MemberDefImpl::writeDocumentation(), writeJavaScriptSearchIndex(), HtmlGenerator::writeNavigationPath(), PlantumlManager::writePlantUMLSource(), HtmlGenerator::writeSearchData(), HtmlGenerator::writeSearchPage(), and VhdlDocGen::writeVHDLTypeDocumentation().

◆ toStdString()

std::string toStdString ( const QCString & s)
inline

Definition at line 687 of file qcstring.h.

688{
689 return s.str();
690}

References QCString::str().

Referenced by SectionRefs::add(), expandExpression(), and replaceFunctionMacro().