浏览该文件的文档.
53 const QCString &header,
bool localNames)
const;
85 const QCString &fileName,
int startLine,
int startColumn,
88 return new ConceptDefImpl(fileName,startLine,startColumn,name,tagRef,tagFile);
135 const QCString &header,
bool localNames)
const
232 if (force && !incName.
isEmpty())
271 tagFile <<
" <compound kind=\"concept\">\n";
277 tagFile <<
" <clangid>" <<
convertToXML(idStr) <<
"</clangid>\n";
280 tagFile <<
" </compound>\n";
292 if (rootNode && !rootNode->isEmpty())
366 for (
const auto &a : al)
368 if (!first) t <<
", ";
370 if (!a.name.isEmpty())
374 if (a.defval.length()!=0)
376 t <<
" " << a.defval;
401 intf->resetCodeParserState();
478 if (!generateTreeView)
569 err(
"Internal inconsistency: member %d should not be part of "
570 "LayoutDocManager::Namespace entry list\n",lde->kind());
629 if (rootNode && !rootNode->isEmpty())
651 for (
const auto &cd : *
this)
653 bool isLink = cd->isLinkable();
654 if (isLink || !hideUndocClasses)
665 for (
const auto &cd : *
this)
667 cd->writeDeclarationLink(ol,found,header,localNames);
Definition * toDefinition(DefinitionMutable *dm)
virtual QCString briefFile() const
void disableAllBut(OutputGenerator::OutputType o)
virtual bool isReference() const
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
void startTitle(OutputList &ol, const QCString &fileName, const DefinitionMutable *def)
void endGroupHeader(int extraLevels=0)
virtual QCString getOutputFileBase() const =0
@ NamespaceNestedNamespaces
virtual QCString displayName(bool includeScope=true) const =0
void writeDeclaration(OutputList &ol, const QCString &header, bool localNames) const
virtual QCString displayName(bool includeScope=true) const
void endTitle(OutputList &ol, const QCString &fileName, const QCString &name)
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
virtual void setInitializer(const QCString &init)
virtual bool isLinkable() const
void writeBriefDescription(OutputList &) const
The common base class of all entity definitions found in the sources.
An abstract interface of a namespace symbol.
ConceptDef * getResolvedConcept(const Definition *d, const QCString &name)
void docify(const QCString &s)
virtual void writeDocAnchorsToTagFile(TextStream &fs) const
virtual ArgumentList getTemplateParameterList() const
virtual QCString displayName(bool includeScope=true) const
This class represents an function or template argument list.
void endMemberDescription()
static ConceptLinkedMap * conceptLinkedMap
virtual const IncludeInfo * includeInfo() const
virtual QCString title() const
virtual bool isLinkableInProject() const =0
virtual QCString docFile() const
void writeDefinition(OutputList &ol, const QCString &title) const
bool isEmpty() const
Returns TRUE iff the string is empty
virtual QCString getOutputFileBase() const
virtual void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const
static QCString templateSpec(const ArgumentList &al)
void writeString(const QCString &text)
void insertMemberAlign(bool templ=FALSE)
virtual const IncludeInfo * includeInfo() const =0
virtual void setTemplateArguments(const ArgumentList &al)
virtual QCString id() const
virtual const NamespaceDef * getNamespaceDef() const =0
static NamespaceDefMutable * globalScope
virtual Definition * getOuterScope() const
virtual CodeSymbolType codeSymbolType() const
ConceptDef * toConceptDef(Definition *d)
virtual QCString anchor() const =0
virtual void findSectionsInDocumentation()
virtual void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const
virtual SrcLangExt getLanguage() const
virtual DefType definitionType() const
void err(const char *fmt,...)
Text streaming class that buffers data.
virtual QCString name() const
virtual bool isLinkableInProject() const
void writeDetailedDescription(OutputList &ol, const QCString &title) const
virtual int briefLine() const
virtual void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const =0
void endFileWithNavPath(const Definition *d, OutputList &ol)
virtual CodeSymbolType codeSymbolType() const
virtual QCString trConcept(bool first_capital, bool singular)=0
virtual bool hasBriefDescription() const
void writeDoc(DocRoot *root, const Definition *ctx, const MemberDef *md, int id=0)
@ NamespaceNestedConstantGroups
virtual const FileDef * getFileDef() const
void endTextBlock(bool paraBreak=FALSE)
virtual bool isReference() const
virtual bool isHidden() const
@ ClassCollaborationGraph
virtual QCString getReference() const
virtual bool hasDetailedDescription() const =0
virtual void writeDocumentation(OutputList &)
Class representing a list of output generators that are written to in parallel.
virtual bool hasDetailedDescription() const
virtual const NamespaceDef * getNamespaceDef() const
QCString addHtmlExtensionIfMissing(const QCString &fName)
virtual void writeSourceDef(OutputList &ol, const QCString &scopeName) const
virtual QCString briefDescription(bool abbreviate=FALSE) const
void startTextBlock(bool dense=FALSE)
void startMemberItem(const QCString &anchor, int i1, const QCString &id=QCString())
void disable(OutputGenerator::OutputType o)
void startMemberHeader(const QCString &anchor, int typ=2)
virtual QCString initializer() const =0
virtual QCString trConceptReference(const QCString &conceptName)=0
static ParserManager * parserManager
virtual const NamespaceDef * getNamespaceDef() const
void writeAnchor(const QCString &fileName, const QCString &name)
virtual ArgumentList getTemplateParameterList() const =0
Class representing the data associated with a #include statement.
virtual bool isLinkable() const
virtual QCString trMore()=0
virtual int getStartBodyLine() const
virtual ~ConceptDefAliasImpl()
Translator * theTranslator
virtual bool isReference() const =0
virtual QCString name() const =0
std::unique_ptr< IncludeInfo > m_incInfo
virtual QCString anchor() const
virtual QCString trGeneratedAutomatically(const QCString &s)=0
DocRoot * validatingParseDoc(IDocParser &parserIntf, const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &input, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
ConceptDefAliasImpl(const Definition *newScope, const ConceptDef *cd)
void startFile(OutputList &ol, const QCString &name, const QCString &manName, const QCString &title, HighlightedItem hli, bool additionalIndices, const QCString &altSidebarName)
virtual const IncludeInfo * includeInfo() const
std::unique_ptr< CodeParserInterface > getCodeParser(const QCString &extension)
Gets the interface to the parser associated with a given extension.
virtual QCString getOutputFileBase() const
void writeAuthorSection(OutputList &ol) const
const T * find(const std::string &key) const
Find an object given the key.
std::string str() const
Return the contents of the buffer as a std::string object
virtual void setNamespace(NamespaceDef *nd)
ConceptDef * getConcept(const QCString &n)
ConceptDefMutable * createConceptDef(const QCString &fileName, int startLine, int startColumn, const QCString &name, const QCString &tagRef, const QCString &tagFile)
virtual QCString anchor() const
virtual int docLine() const
virtual const FileDef * getFileDef() const
void startGroupHeader(int extraLevels=0)
virtual QCString title() const =0
void startTextLink(const QCString &file, const QCString &anchor)
virtual QCString localName() const
virtual CodeSymbolType codeSymbolType() const =0
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
void startCodeFragment(const QCString &style)
virtual QCString getReference() const =0
virtual QCString documentation() const
const ConceptDef * getCdAlias() const
virtual void setIncludeFile(FileDef *fd, const QCString &incName, bool local, bool force)
virtual void writeTagFile(TextStream &)
void writeIncludeFiles(OutputList &ol) const
#define Config_getBool(name)
virtual bool isLinkable() const =0
virtual bool hasDetailedDescription() const
static LayoutDocManager & instance()
Returns a reference to this singleton.
virtual bool hasDocumentation() const
virtual const FileDef * getBodyDef() const
virtual Definition * getOuterScope() const =0
void parseText(const QCString &textStr)
#define Config_getString(name)
virtual ArgumentList getTemplateParameterList() const
virtual ConceptDef * resolveAlias()
void generateDoc(const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
void addGroupListToTitle(OutputList &ol, const Definition *d)
QCString convertNameToFile(const QCString &name, bool allowDots, bool allowUnderscore)
void pushGeneratorState()
QCString convertToXML(const QCString &s, bool keepEntities)
A model of a file symbol.
virtual QCString initializer() const
virtual void setReference(const QCString &r)
virtual void setFileDef(FileDef *fd)
virtual const FileDef * getFileDef() const =0
virtual QCString title() const
QCString stripExtension(const QCString &fName)
virtual void writeNavigationPath(OutputList &ol) const
ConceptDefImpl(const QCString &fileName, int startLine, int startColumn, const QCString &name, const QCString &tagRef=QCString(), const QCString &tagFile=QCString())
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
void startMemberDeclaration()
virtual QCString initializer() const
virtual DefType definitionType() const
A bunch of utility functions.
virtual ConceptDef * resolveAlias()
ConceptDefMutable * toConceptDefMutable(Definition *d)
void enable(OutputGenerator::OutputType o)
ConceptDef * createConceptDefAlias(const Definition *newScope, const ConceptDef *cd)
const Definition * getAlias() const
void endCodeFragment(const QCString &style)
virtual bool isLinkableInProject() const
void startParagraph(const QCString &classDef=QCString())
QCString title(SrcLangExt lang) const
virtual QCString getReference() const
std::unique_ptr< IDocParser > createDocParser()
virtual QCString trAuthor(bool first_capital, bool singular)=0
This is an alternative implementation of QCString.